08-30-2016 11:02 AM
I am fairly new to LabVIEW and am trying to make a IF statement for getting a response from the hardware. If it recieves a response, any response, do nothing. If it fails to recieve a response (for, say, 1 second) send command to hardware. But with LabVIEW's data driven approach I am not sure how to make it act on no data.
Any Recommendations? I can provide more info if needed.
Thanks.
Solved! Go to Solution.
08-30-2016 11:29 AM
Use a case structure with one frame empty, doing nothing.
08-30-2016 01:53 PM
Perhaps you could elaborate? If I set up a case structure with a frame that does nothing in the case of recieving a signal from the hardware, thats all well and good. but in the case of no signal it will be on the defualt frame, I can have it wait a bit, and then send the command, but won't it execute the contents of the frame before it changes to the do nothing frame if it recives the signal? Perhaps I am misunderstanding.
08-30-2016 02:13 PM
We are not good at guessing from vague descriptions. Please show us your code.
08-30-2016 03:33 PM
Sorry if the description was vague, I hate to waste peoples time. I have figured out how to make your suggestion work though. Thanks!