iQAN script 6.01 - Function undefined for if statement
Ali Idrici 3 years ago in IQANscript • updated by Gustav Widén (System support) 3 years 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.
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.