09-07-2006 08:58 PM
09-08-2006 11:44 AM - edited 09-08-2006 11:44 AM
Message Edited by Travis W on 09-08-2006 11:45 AM
09-11-2006 01:23 AM
09-11-2006 02:42 AM
oh.. btw i'm using LabVIEW..
09-12-2006 12:11 PM
Hi Komeng,
From what I understand, you are trying to call a sound file that will announce the blood pressure measurement. Thank you for the pseudocode, it greatly helped. So it sounds like you want a case structure - the if/then equivalent in LabVIEW.
With a case structure, you can call a specific piece of code that will only execute when the "if" case is met. There are multiple LabVIEW shipping examples dealing with case structures. I would highly suggest looking at "Simple Case Structure.VI," which can be found with the Example Finder. You can replace the boolean with an enum control (Case 1: 20, Case 2: 60) for your application.
To call the sound file, you can use the "Play Sound File.VI."
If you have anymore questions pertaining to this thread, just reply and I will be happy to get back to you.
Have a great day,
Janell Rodriguez | Applications Engineer | National Instruments