LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

daq 6008 basic vi

I've bought a DAQ 6008 for using with LabView 7.1, Windows XP.
I'm trying to do a basic data acquisition VI so I can read an analog input. However, I'm having troubles working with the tasks.
Does anyone have a simple and ready to use VI for reading an analog input and plot it in a chart?

Thank you,
Joao
0 Kudos
Message 1 of 7
(3,702 Views)
Hi,
You can use DAQ assistant from the functions palette. It is express vi that you can configure every thing needed for acquisition and read the acquired signal.
After configuring the DAQ Assistant VI you can put wavewform chart and see the acquired signal on the front panel.
 
good luck
 
Tareq
0 Kudos
Message 2 of 7
(3,693 Views)
Well, the DAQ Assistant is not compatible with DAQmx Base which is used for the 6008. I don't use any of the USB cards but this same question has been posted numerous times and I know DAQmx Base ships with several examples. Search the forum for 6008 and you'll find posts that tell you where to find them exactly. You should also be open any of the regular DAQmx examples and look at them. Replace the regular DAQmx functions with the functions of the same name in DAQmx base.
0 Kudos
Message 3 of 7
(3,685 Views)
Hello,
 
 
I'm trying to measure an analog input signal with the enclosed VI file.
However, when I read a square wave, there are zero values in the plot.
I wonder if this is usual with this acquisition equipment (DAQ 6008) or if there's any problem with the program being tested.
 
Thanks in advanced,
Joao
0 Kudos
Message 4 of 7
(3,675 Views)

Hello,

USB-6008 is now suppoted by NI-DAQmx. You need NI-DAQmx 7.5, which can be downloaded here : http://digital.ni.com/softlib.nsf/websearch/CF7ECCEA4C4CC7DE86257038004D88AE 

Regards,

 

 
Isabelle
Ingénieur d'applications
National Instruments France
0 Kudos
Message 5 of 7
(3,619 Views)
Hi...
 
I saw your Vi file.
 
Please try with this [beginnig left to right]:
1. Delete the DAQmx Base Create Task
2. Delete the DAQmx Base Create Virtual Channel.
3. Delete the Input Terminal Configuration constant
4. Delte the task connected in Physical Channel.
 
5. Make a task in NI-DAQ Base Configuration Utility.
6. Create a task constant (type the task you made) and connect it to the "task/channel in" on the DAQmx Base Start Task.
 
7. Delete the DAQmx Base Clear Task
8. Connect the Simple Error Handler VI to DAQmx Base Stop Task directly.
 
9. I recommend begin with a time delay about 50, if it works... then decrement this value.
 
PD. Sorry about my english 😛
 

Hello,
 
 
I'm trying to measure an analog input signal with the enclosed VI file.
However, when I read a square wave, there are zero values in the plot.
I wonder if this is usual with this acquisition equipment (DAQ 6008) or if there's any problem with the program being tested.
 
Thanks in advanced,
Joao
Message 6 of 7
(3,608 Views)
Thank you for your help. The problem is solved!
0 Kudos
Message 7 of 7
(3,599 Views)