LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pressure Sensor Triggering String

I'm working on a project where we are trying to send a string via bluetooth when a pressure sensor is triggered for at least two seconds.  We have a crude version where it runs continuously and resets after a certain amount of time but it just has placeholder empty strings when the sensor is not being triggered, as seen in the attached zip folder, with the file we're looking to run being the MAIN_test.vi file.  We're wondering how we can only have it send the one message when the pressure sensor is triggered for long enough and just remain idle when it is not triggered.

 

Thank you for any help!

0 Kudos
Message 1 of 3
(1,013 Views)

Just add a case structure and wire it to the condition that tells you whether to send message or not

santo_13_0-1626205452911.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 3
(1,000 Views)

Can you send a picture of what the false condition would look like?

 

Thanks!

0 Kudos
Message 3 of 3
(918 Views)