Graph measure as script action

Masia Jean-Baptiste 4 years ago in IQANscript updated by Gustav Widén (System support) 2 years ago 6


It is possible to make a courbe with a Script and print this Measure



What are people using IQAN script for?

mgoutier 2 years ago in IQANscript updated by Nick Pridham 2 years ago 1

I am starting to play with IQAN script and trying to see what the real benefits are. Any insight as to what people are using it for, or if anyone is willing to send me some files to look through and play with (other than the example) I would be interested in dissecting it a bit. 

Any insight is appreciated, thanks in advance.  


iqan script 4.07 & 5.0 execute argument

Brendon 2 years ago in IQANscript updated 2 years ago 4

I am trying to call a cmd file with a variable as an argument from IQAN Script and

Rather than the value of the variable, I get the text written in the argument i.e. %VariableName%

I am just doing a test the file is very basic.

On the script page I set the job number text field, the run command continues the script, then the variable gets set, and then process.cmd gets called.

Everything except the argument is working properly.

Is this a bug?


Generic "Get All Logs" Action in IQANScript

JamesV 3 years ago in IQANscript updated by Ulrik Zakariasson (Software development) 3 years ago 1


Is it possible when using a script to login and get logs, to just get all logs without having to pick them from the application? I'd like to make 1 generic script that logs in with the Root access and gets all logs for a long list of projects that have differently named logs and different arrangements. 



IQANscript 4.00 released

Gustav Widén (System support) 5 years ago in IQANscript updated 5 years ago 0

Highlighted features

Improved layout of script pages

The new grid component allows you to place controls in columns also, not only rows as before.

New script control - Gauge

Added an analog gauge, to make values on script pages more visual.

Script debugging

Support for breakpoints, pause and step when running a script from IQANscript. Also shows value and status of script actions in IQANscript as they execute in IQANrun. To add a breakpoint, click to the left of the script action.

Call external software

Added Execute Program script action. It is possible to pass arguments to the other program, and decide whether the script will wait for the program to exit before continuing.

For more details, see release notes.


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

Johan Palm 4 months ago in IQANscript updated by Gustav Widén (System support) 3 weeks 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, IQANscript, IQANdesign, and IQANsimulate


After execution:

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


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

Johan Palm 4 months ago in IQANscript updated by Gustav Widén (System support) 3 weeks ago 5

The attached script was created in IQANscript and tested in IQANrun as well as IQANrun

Creating the script in IQANscript 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.



Show send/get options dialog for IQANrun

Pawel Pekala 1 year ago in IQANscript updated by Gustav Widén (System support) 12 months 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. 


iQAN script 6.01 - Function undefined for if statement

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


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: 

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,