03-09-2010 02:39 PM
I'm using labview for some basic automation of a relay board and I haven't been able to find a function to use to make it wait a specified amount of time before sending the next write command, ie Serial Write, wait 6 hours, write again. Can someone tell me what function I would need to use to get this done?
Thank you,
Pavel
03-09-2010 02:55 PM
hi
it depends a bit on the architecture..
i am using this kind of wait (about one hour) in a state machine, with a timeout of 100 mse and waiting as much cycle as necessary.
for some cases you can use the wait express function for 6*1800 sec but I would not recommend because the program will not answer for 6 hours...
with the state machine you can change this timeout if you need
N
03-09-2010 03:09 PM
03-09-2010 03:10 PM
Go to the timing palette.
I agree about using the Wait (ms) or Delay function. Using the Tick Count or Elapsed Time function would work as well as any of the Get Date Time functions.