0

iQAN script 6.01 - Function undefined for if statement

Ali Idrici 4 years ago in IQANscript updated by Gustav Widén (System support) 4 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 5 years ago in IQANscript updated by Gustav Widén (System support) 5 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 5 years ago in IQANscript updated by Gustav Widén (System support) 5 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 5 years ago in IQANscript updated by jxguo 4 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 5 years ago in IQANscript updated by Gustav Widén (System support) 5 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 6 years ago in IQANscript updated by Ulrik Zakariasson (Software development) 6 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.

0
Answered

Is there any way to write measure values onto a report while also displaying the values on a page?

Ed Warnick 7 years ago in IQANscript updated by Ulrik Zakariasson (Software development) 7 years ago 3

As of right now, I must progress to the next script page to write a value onto a report. It would be nice to be able to loop report entries on a page.

0
Answered

Populate Drop Down Menu

Aurelio Romano 8 years ago in IQANscript updated by Ulrik Zakariasson (Software development) 8 years ago 3

Is there a way to populate a drop down menu, with the information uses manually enter? I have a field the user will enter a part number into. It would be nice if it would store the information for later use. I know I can manually add entries in the properties but I don’t know all their part numbers.

0
Answered

Text Reset in IQAN Script

Aurelio Romano 8 years ago in IQANscript updated by Ulrik Zakariasson (Software development) 8 years ago 2

Is there a work around in IQAN Script, to reset Text Input fields?

I have a loop and each time it loops through it would be nice to be able to reset text field’s so they get a fresh field to input into.