+6

Graph measure as script action

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

Hello


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


Thank

+1

What are people using IQAN script for?

mgoutier 1 year ago in IQANscript updated by Nick Pridham 1 year 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.  

+1
Fixed

iqan script 4.07 & 5.0 execute argument

Brendon 2 years ago in IQANscript updated 1 year ago 4

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

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?

+1

Generic "Get All Logs" Action in IQANScript

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

Hi,

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. 


thanks,

+1

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.

0
Under review

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

Johan Palm 1 month ago in IQANscript updated by Gustav Widén (System support) 1 month ago 1

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:

After execution:

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

0
Started

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

Johan Palm 1 month ago in IQANscript updated 1 month ago 4

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.

Stuck.issx

0

Show send/get options dialog for IQANrun

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

0

iQAN script 6.01 - Function undefined for if statement

Ali Idrici 12 months ago in IQANscript updated by Gustav Widén (System support) 11 months 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: 

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,