09-22-2016 05:41 PM
Hi all,
I want to realize an easy function in labview, read the data from DAQ, if an rising edge is detected, play .wav files, if a falling edge is detected, stop playing files.
I know how to play sound files, I realized it using case structure as shown in the picture, but I don't know how to interrupt it if falling edges are detected...
Could anyone give me some suggestions? My code is attached.
Thank you very much!
09-23-2016 01:26 AM
Use Sound output start/Sound Output Stop for Rising and Falling Edge (Configure outside the loop once before the Loop Executes)
09-23-2016 08:20 AM
Palanivel,
Do you have an example showing that? I haven't seen any sound VI's called "Sound Output Stop for Rising and Falling Edge".
09-23-2016 09:40 AM - edited 09-23-2016 09:41 AM
If this is intended to run in a lab environment, you're probably okay; if this is going to be in a cubicle, your co-workers will probably want to strangle you. I'm just sayin'. 😉