LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making program send command if fails to receive signal

Solved!
Go to solution

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.

0 Kudos
Message 1 of 5
(3,450 Views)
Solution
Accepted by topic author 1Helios1

Use a case structure with one frame empty, doing nothing.

Message 2 of 5
(3,434 Views)

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.

0 Kudos
Message 3 of 5
(3,406 Views)

We are not good at guessing from vague descriptions. Please show us your code.

0 Kudos
Message 4 of 5
(3,398 Views)

Sorry if the description was vague, I hate to waste peoples time. I have figured out how to make your suggestion work though. Thanks!

0 Kudos
Message 5 of 5
(3,390 Views)