0
Answered
For Loop
Does IQAN5 support For Loops? I have not found any reference to it in documentation but the IQAN5 Qcode editor autocompletes the word for and provides syntax help for the command:
for
for <variable> := <start> to <end>
...
next
However when I run my code in the simulator the channel with the for loop shows that it's in an Error state.
Customer support service by UserEcho
No, for loops are not supported. The Qcode parser had some experimental support that obviously made it into IQANdesign 5.00, but there are no support in the master modules for executing the for loop.
Too bad, This is what is really missing in Iqan at this stage.
I was reflecting this morning on the future of the platform we use for our system. We currently have 3 different type of hardware in each of our system.
Early on we used Iqan as the primary processor/Display in our systems and still do for smaller application for single drive systems. The choice to introduced a new hardware was mainly because back then multi master was not supported and software maintenance was very difficult with a very weak compare functionality. But also the lack of software functionality. Qcode and Iqan 5.04 as well as the improvement in hardware capability with the new MD4 series system really made us wonder if Going to an all Iqan platform would be the option. So far here are the key elements we are missing to make the move: