BeeHay Posted July 8, 2009 Share Posted July 8, 2009 Having some troubles getting a sequence similar to this to run correctly. private Var = V.Chn[0] while (1) waitfor (Var < V.Chn[0], 1) beginexport(export) BeginSeq(1) BeginSeq(2) BeginSeq(3) BeginSeq(4) BeginSeq(5) BeginSeq(6) endwhile Am I doing something wrong? Can you have a bunch of "BeginSeq" like that? I know the export works, just the other sequences never start. Thanks for all your infinite wisdom. Link to comment Share on other sites More sharing options...
AzeoTech Posted July 8, 2009 Share Posted July 8, 2009 You can, but you can't name your sequences numbers. All DAQFactory names must start with a letter and contain only letters, numbers and the underscore. So "1" is invalid, but "x1" is valid. Link to comment Share on other sites More sharing options...
BeeHay Posted July 8, 2009 Author Share Posted July 8, 2009 Well, I just renamed them for the post... They are named differently in the .ctl file. I thought it would be fine also, but for some reason, they never start. Link to comment Share on other sites More sharing options...
BeeHay Posted July 8, 2009 Author Share Posted July 8, 2009 Oops! The sequences were running, I had to move my decimal precision out a few more places to see the data change. :bonk: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.