02-28-2020 09:51 AM - edited 02-28-2020 10:12 AM
I have a program that reads values from an arduino at about 1000 hz via VISA.
When a value gets above a predetermined limit, I want to play a .wav file or a tone but have it cease as soon as value is back below the limit.
I also need this monitor function to not make the acquisition thread wait.
Any help is most appreciated.
Labview 2019
Newbie grateful for any help!
Jake
02-28-2020 09:58 AM
here is the vi
02-28-2020 10:14 AM
02-28-2020 10:22 AM
02-28-2020 10:25 AM
Gerd,
Thank you for your help.
I have been having trouble understanding the parallel loop. Are the yellow highlighted loops below parallel to the main one? If not will you be so kind as to help me understand what a parallel loop is?
Thank you very much!
Jake
02-28-2020 10:33 AM - edited 02-28-2020 10:34 AM
No. They are not even loops, they are just case structures.
They aren't even parallel to the bigger case structure since they require an output from the big case structure before they can execute.
I would recommend you learn more about LabVIEW from here. How to Learn LV
PS: You don't need to duplicate the Index Array. It is expandable by dragging the bottom border giving you multiple outputs. By default they'll give you 0, 1, 2, 3 indices if you don't wire up the index terminals.
02-28-2020 10:50 AM
RavensFan,
Thank you for your thoughts!
Much appreciated!
Jake
02-28-2020 11:00 AM