ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
08-02-2005 09:22 AM
08-02-2005 09:32 AM
It is a little hard to determine the best answer for you without seeing your existing code, but if you put the test in a while loop with your DAQ pin read, and place the test code inside a case statement that runs when the pin is high (True condition) and executes another "Null" case when low, then it will only run when True. This is a little bit of a simplification. Also, remember to put a "Wait (ms)" function from the "Time & Dialog" pallette with some value wired to it. This is to prevent the loop from maxing out your CPU.
If you can send a copy of your code, or a screen shot of the diagram (.jpg NOT .bmp Please!) it might help.
P.M.
08-02-2005 10:03 AM
08-04-2005 10:16 AM - edited 08-04-2005 10:16 AM
Message Edited by LV_Pro on 08-04-2005 11:16 AM