10-03-2005 09:41 PM
10-05-2005
09:33 AM
- last edited on
07-11-2025
09:24 AM
by
Content Cleaner
@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.
10-10-2005 11:51 AM
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
10-11-2005
10:06 AM
- last edited on
07-11-2025
09:25 AM
by
Content Cleaner
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
06-02-2008 02:41 PM
06-03-2008 05:58 PM
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