smackay Posted July 28, 2011 Share Posted July 28, 2011 Hi, I have been looking through the "user guide" looking for a post-test loop structure such as the Do While (exp) type structure. Does DAQFactory support this type of construct? I could only find examples of the pre-test loop such as for loops and while loops. If you do have a loop structure that is post-test loop could you give me an example to show the syntax? Thank you, Shawn Link to comment Share on other sites More sharing options...
AzeoTech Posted July 28, 2011 Share Posted July 28, 2011 There's no need for one. You can do it simply with: while(1) ... if(condition) break endif endwhile Link to comment Share on other sites More sharing options...
smackay Posted July 29, 2011 Author Share Posted July 29, 2011 Thanks, makes sense. Shawn Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.