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.
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?
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.
Improved layout of script pages
New script control - Gauge
Call external software
For more details, see release notes.
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.
The IQANdesign project used contains only an adjustable empty State parameter channel (SP).
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.
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.
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.
Customer support service by UserEcho