Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i use USB-6009 within LabWindows/CVI 7.1 ?

Hi All,
 
I am starting a new project which are going to use the USB-6009 as analog input and digital output device.
However i seem to have a hard time getting it to work from within CVI 7.1 😞
 
I can see the USB-6009 from MAX so it´s installed in my computer correctly, the library for DAQmx in CVI does however not work.
Each time i try to start the Create DAQmx Task function the DAQ explorer comes up with "No supported devices found".
 
I tried running a sample program using the DAQmxBASE driver instead and this seems to be able to read the ADC Ch0 of my device.
 
Now my questions are:
 
1. How do i configure my USB-6009 (ADC setup, I/O directions) ?
 
2. Can i "only" use DAQmxBASE driver way ?
 
3. Where can i find more example code for LabWindows/CVI 7.1 for the device ?
 
As usual it seems that only LabVIEW get´s attention Smiley Mad but we use C as programming language and hence LabWindows/CVI.
 
Please comment / help ;o)
 
B.Rgds
Peter Weichel
PBI-Dansensor A/S, Denmark
 
0 Kudos
Message 1 of 4
(3,632 Views)
 

Hi,

It sounds like a driver version problem. Up until the release of DAQmx 7.5 (late july this year) the different USB products had to be programmed using the DAQmxBase driver and this also included programming in LabVIEW. The USB products are know included in the 7.5 driver, so an upgrade should do the trick for you.

http://digital.ni.com/softlib.nsf/websearch/CF7ECCEA4C4CC7DE86257038004D88AE?opendocument&node=132060_US 

Let me know if this doesnt solve your problem.

Regards

A Meister, NI DK

0 Kudos
Message 2 of 4
(3,614 Views)

Hi again,

I forgot to mention, that if you are already using the latest DAQmx driver (7.5), the problem could be that the DAQmx configuration for USB needs to be signed to the right driver. This can be done in MAX under Tools > NI-DAQmx Configuration > NI-DAQmx USB driver selector.

Regards

Meister, NIDK

0 Kudos
Message 3 of 4
(3,610 Views)

Hi,

Thank you for your prompt feedback on this ;o)

It was exactly the case that i had to choose the driver from DAQmxBase to DAQmx(pro?) in the MAX program. Now my LabWindows/CVI can see the device properly and what remains are now some coding hopefully i will have no further problems with this.

B.rgds.

Peter Weichel

PBI-Dansensor A/S

 

0 Kudos
Message 4 of 4
(3,605 Views)