0
Fixed

Get parameter on SP changes type from Integer to State after first run

Johan Palm 5 years ago in IQANscript updated by Gustav Widén (System support) 5 years ago 2

The value type of Get parameter is initially Integer, but after successful execution, the value type changes to State (see bottom right corner) and Script file Check throws a Value type mismatch error for Set variable since it's not allowed to assign State values to Integer script variables.

This was tested with IQANrun 6.04.2.5572, IQANscript 6.04.1.5081, IQANdesign 6.04.5.5888, and IQANsimulate 6.04.1.5081.

Initially:

Image 2351

After execution:

Image 2352

The IQANdesign project used contains only an adjustable empty State parameter channel (SP).

Image 2353

0
Fixed

Script hangs on switch-else despite switch-case evaluated to true

Johan Palm 5 years ago in IQANscript updated by Gustav Widén (System support) 5 years ago 5

The attached script was created in IQANscript 5.07.1.4875 and tested in IQANrun 5.07.1.5363 as well as IQANrun 6.04.2.5572.

Creating the script in IQANscript 6.04.1.5081 makes no difference.

The script hangs on a blank page in IQANrun after either switch-case has evaluated to true and it's not possible to continue execution.

Image 2350

Stuck.issx

0

Show send/get options dialog for IQANrun

Pawel Pekala 6 years ago in IQANscript updated by Gustav Widén (System support) 6 years ago 1

When default FP value change or needs to be corrected during program development, IQAN design allows you to overwrite original defaults when sending new program file. This would be a helpful option to have in IQAN Run. 

Image 1985

Image 1983

Image 1986

0

iQAN script 6.01 - Function undefined for if statement

Ali Idrici 6 years ago in IQANscript updated by Gustav Widén (System support) 6 years ago 1

Hi, 

I am struggling to write a basic iQANscript file which contains if statements or switch cases. Essentially, when I drag & drop an if() box onto my script, the name I give it to - for instance "If (var_bool = True)" - has no effect on the if statement.  In fact, no matter what value I assign to var_bool beforehand, the program will directly go to the associate "else" statement. 

When I check the script file, it gives me the following hint: 

Image 1941

I have consulted the iQANscript documentation but it gives no detailed instruction on how to declare an if statement and associate it to a function. 

Thank you, 

0
Answered

MOTOR POWER CONDITION

Dan Samuels 7 years ago in IQANscript updated by Gustav Widén (System support) 7 years ago 3

I work for a municipality, we have a JD tractor with an alamo 30' mower. Controlled by IQAN MDM. The display reads "MOTOR POWER CONDITION" we have changed all the filters in the system. Does anyone have insight as to the possible problem.

Thank you, Dan. (mechanic@lakestation-in.gov)

Answer

Hi Dan,

Each OEM configures their IQAN systems to meet the needs of the machine.  The message on the display would be something Alamo set up, so you would need to check with them or possibly in a user manual to see what would trigger the message.  It is not a message that is generated by an IQAN system by default. 

0

I'm getting Error although I select ( Continue Error = Yes ) about component.

Hüseyin Tursun 7 years ago in IQANscript updated by Gustav Widén (System support) 7 years ago 4

I'm getting Error although I select ( Continue Error = Yes ) about component. Why? I need to help this problem. Could you help me immediate, Please...

Image 1560
0
Answered

How do I connect to the modem with IQAN Script and Connect Via Internet ?

Hüseyin Tursun 7 years ago in IQANscript updated by jxguo 6 years ago 5

I want to connect crane running with IQAN Script. 

I tried an automatic connection but it didn't

What can I do this about it?

0

Limit the number of run of a script

C. Drouaud 7 years ago in IQANscript updated by Gustav Widén (System support) 7 years ago 2

Hello, 

I want to limit the number of times a script can be run on a machine. I want it to be run only once. 

I created a digital parameter in my project, set as false as default and when I run the script, it changes the value of the parameter to true. This parameter can only be changed through this script or by authorized technician. 

In my script, I want to check if the digital parameter is true or false. If it is false, it can run the fulll script and if it is true, the script does nothing. 

I didn't achieve to check this. I tried to use If(Parameter) but it doesn't work. 

Is it the correct way to do it ? Should it work with the If or can I use something else ?

Thanks in advance,

0

Save Script report

Jonas Bengtsson 8 years ago in IQANscript updated by Ulrik Zakariasson (Software development) 8 years ago 2

Is it possible to save the script report without showing the results and press continue?


We have a script that generate many small reports and we have to press continue when a report is shown to continue the execution of the script.