Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

AI acquire waveform

Hello everyone,
 
I'm working on a project where I have to take a sound waveform and convert it to a frequency number.  I'm trying to use the AI Acquire Waveform.vi but I could not find that in my labView samples (I'm using the evaluation edition).  Can anyone please help me about where I can get this vi.  Also is it possible to control the number of cycle of a square wave in labView (I need to make labView output a square wave with the exact number of cycle).  By the way, should I use Digital I/O or Analog I/O to output this square wave?  Thank you very much for your help.
 
Regards,
ClueLess
0 Kudos
Message 1 of 6
(4,074 Views)
 

 


@NoClue wrote:
Hello everyone,
 
I'm working on a project where I have to take a sound waveform and convert it to a frequency number.  I'm trying to use the AI Acquire Waveform.vi but I could not find that in my labView samples (I'm using the evaluation edition).  Can anyone please help me about where I can get this vi.  Also is it possible to control the number of cycle of a square wave in labView (I need to make labView output a square wave with the exact number of cycle).  By the way, should I use Digital I/O or Analog I/O to output this square wave?  Thank you very much for your help.
 
Regards,
ClueLess


ClueLess,

Question: are you using NI hardware to do this input/output? If not, then AI Acquire Waveform and Digital/ Analog I/O examples and functionality will not be useful to you. These examples are installed with the DAQmx driver. If you are using your sound card to perform the input and output, you'll need to use LabVIEW's built-in sound VI's which can interface to the sound card through Windows (and Mac as well).  Take a look at the examples located in Help » Find Examples » Hardware Input and Output » Sound.

Let me know if you need additional details.

 
--Paul Mandeltort
Automotive and Industrial Communications Product Marketing
0 Kudos
Message 2 of 6
(4,049 Views)

Hello Paul,

Thank you for your help Paul, I found that vi in my school library.  I also have another question.  As I discussed, I need to take an input and convert it to frequency domain, which I know already.  Now I need to output some digital signals (5V) to the digital output of the DAQ in my school, is there any tutorials on that I can learn from?  Also do I need to use timing control for this (from the input point of the signal to the output)?  Thank you very much for your help.

Regards,

Clueless

0 Kudos
Message 3 of 6
(4,025 Views)

Hello,

There are a few places that you can look to learn about programming data acquisition in LabVIEW.  The best place is the Example Finder as Paul pointed out.  It would be helpful if you had told us what hardware you are using so that we can be sure we are pointing you to the correct examples.  If you just need to output digital signals at no particular rate, look at the digital output examples.  If you need a produce a pulse train with a set frequency, then check out the counter examples under Generating Digital Pulses.  Your hardware needs to have a counter to utilize those examples.  Another great place is the help files.  These are installed at Start >> Programs >> National Instruments >> NI-DAQ

You need to be aware of if you are using the Traditional NI-DAQ (legacy) or NI-DAQmx driver.  This depends on what hardware and operating system you are using. If either driver supports your hardware, you should use NI-DAQmx.  If you are using NI-DAQmx, then check out these tutorials about using the DAQ Assistant and about getting started with NI-DAQmx.

If you have additional questions, please clarify what hardware and OS you are using and what you need the digital output for so that we can give more precise recommendations.

Thanks,

Laura

 
0 Kudos
Message 4 of 6
(4,009 Views)
how i can find this in labview 8.0 proffesional and NI-DAQ USB-1208FS, cause i try to find it but i can't found it . and may be can someone to tell me  where to find AO update channel.vi and  AO generate waveform.vi
tanx before

0 Kudos
Message 5 of 6
(3,661 Views)

Hey marp84,

The USB-1208FS is not an NI device, however MCC provide very useful information on what software needs to be installed and how to use the device in LabVIEW at the following link: http://forums.mccdaq.com/index.php?showtopic=428

The best way to find the examples is to check the example finder in LabVIEW. To do that in LabVIEW go to help >>Find examples.

In the example finder window, those specific DAQmx examples are found under Hardware Input and Output >>DAQmx >> Analog Generation >> Voltage.

 

Regards,

Faris A

Bueller
0 Kudos
Message 6 of 6
(3,631 Views)