seizmic Posted March 27, 2012 Share Posted March 27, 2012 I need to stop a motor when input is close to zero -- it can't never be exactly zero. what command do I use to do that? or is it just if (0.05 < input < 0.11) then end sequence is there list of commands to scroll through what is available to DAQFactory? Link to comment Share on other sites More sharing options...
AzeoTech Posted March 27, 2012 Share Posted March 27, 2012 Certainly that will work, though the syntax is a little different and I'm not sure why you care about it being > 0.05. Probably more like: if (input[0] < 0.11) endseq(mySeq)endif[/CODE]There's a general list of functions at the end of chapter 4, while the scripting is described in chapter 5. Variables and functions specific to certain parts of DF (like logging sets or channels or components) are in the appropriate chapters, with system functions listed at the end of chapter 5. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.