EE12 Posted September 5, 2012 Share Posted September 5, 2012 1. I'm using the DaqFactory free version "Express", how do i execute the script and how can i track the variables ? 2. Could anyone provide me some guidelines on how to debug the script (If any) ? Link to comment Share on other sites More sharing options...
AzeoTech Posted September 6, 2012 Share Posted September 6, 2012 1) Executing script is covered in the user's guide. Just right click on the sequence and select Begin. As for tracking variables, you can either create screen components for it, or use the Watch window. 2) to debug, you can either add breakpoints and step through, or use print statement (?) littered in your code to give you feedback to the command alert window. For example: ? x would print the contents of x at that point in your script. Link to comment Share on other sites More sharing options...
EE12 Posted September 7, 2012 Author Share Posted September 7, 2012 Hi, Could anyone tell me which function to use to do a 1 millisecond read/update after i click a start button on a page ? Link to comment Share on other sites More sharing options...
AzeoTech Posted September 14, 2012 Share Posted September 14, 2012 You can't do a 1 ms update, at least not reliably. Windows multitasking will cause the computer to be busy and not execute your command that quickly. If you need to continuously poll at 1 ms and are using a LabJack or other device that supports streaming, you will need to stream that device. You need to create a sequence to setup and start the streaming, and you can start that sequence from a button. For the LabJack this is all shown in the DAQFactory - LabJack application guide along with samples. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.