0
iQAN script 6.01 - Function undefined for if statement
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,
Customer support service by UserEcho
You add functions in IQANscript in the same way as you do when working with object list in IQANdesign.
Expand the function inspector and right click to add calculation objects.
If you tick the automatic value symbol next to the channel name, it will automatically name it with the logic you build up.