Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

how to output to speaker for a talking blood pressure measuring meter

hai can someone help me..
 
i am doing about talking blood pressure measuring meter. All the inputs are fine bt i still can't get the speaker to read the data send by the blood pressure measuring meter. Can someone help me?
0 Kudos
Message 1 of 5
(7,747 Views)
Hi Komeng,

Thanks for posting on the NI Forums!
We will definitely be able to help you out with any questions you have related to NI hardware and software.  To provide the best answers, I first have a couple of questions about your application:

  1. What hardware from National Instruments are you using?  Are you using a DSA card such as the PXI-4472 or USB-9233?
  2. What software are you using?  Are you programming with LabVIEW, or another language?
  3. Can you provide more specific details on the problem you're seeing?  Are you getting an error during data acquisition?  Are your signal levels lower than expected?  Please explain.
Once this information is available, we'll all be able to help get to the bottom of this problem.

Have a great day!
Travis W

Message Edited by Travis W on 09-08-2006 11:45 AM

0 Kudos
Message 2 of 5
(7,738 Views)
Komeng here,
 
  I don't have the National Instruments yet.. bt the data is transfer through a RS-232 cable so it should be a digital data.. I want to know how to automatically open a specific sound file for specific data input by the RS-232 cable..
example:-
           When,
                     data = "20"
                     filename ="twenty.wav"
                Or,
                     data ="60"
                     filename = "sixty.wav"
 
Thanks   
0 Kudos
Message 3 of 5
(7,705 Views)

oh.. btw i'm using LabVIEW..

 

0 Kudos
Message 4 of 5
(7,700 Views)

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

0 Kudos
Message 5 of 5
(7,678 Views)