Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI6 and DAQmx

Hello,
Some years ago I have writtenan application that acquire 11 analog signals at every ten seconds and display it and store etc.. (simple datalogging)
Unfortunately this application has been written in CVI 6 using easyio function nidaqAISingleScanOp ("daq::1!(0:10)", 0.0, 0.0, adcReads);
Actually we need to change the analog input board using a new one (pci-6220) that support NIDAQmx and NOT old DAQ functionality required by easyio CVI library.
Does it exist a "wrapper"for CVI6/NiDAQmx or I have to rebuild (and rewrite) the application using CVI7.1 ?
I have noticed that it exist for Labview:  may I use it wit some "tricks"?
Thanks in advance
Raffaele
0 Kudos
Message 1 of 4
(3,273 Views)
Hi, unluckily it does not exist a DAQ migration tool for CVI, but above all you need CVI7.x to have full DaqMX support, even if you could try to use standard C support in CVI6.x.
Don't be scared about new daqMX driver, it is very easy to use even without Daq Assistant (wizard that creates code for you available in CVI7.x).
 
Take a look at the attached file for an example of a finite acquisition that should work as your old ScanOp.
 
Write back if you need more help.
Ciao. Nicola.

Message Edited by Nick_ on 09-07-2005 11:39 AM

Message 2 of 4
(3,261 Views)

HI  NICK:

 

Can you provide me example for simultaneous data acquisition using several (may be 5 or 6) Analog Input channels.

 

I am beginner with Lab Windows .  I haveCVI 7.x and   NiDAQmx   PCI-6220 card.

 

Please provide me with some more examples.

 

Anyways Thanks for your previous example.

 

 

Thanks

Regards

Dinesh

0 Kudos
Message 3 of 4
(3,227 Views)
Hi, the sample attached to previous message works for more than one channel too.
Just input a Physical channel as "Dev1/ai0:3" and you'll acquire first four board's channel, or input "Dev1/ai0,Dev1/ai2" and you'll acquire from first and third channels.
 
You'll find more examples in your PC, browse to C:\Program Files\National Instruments\CVI71\samples\DAQmx  and you'll find Daqmx ones.
 
Hope this Helps.
regards
 
NicolaC
Message 4 of 4
(3,216 Views)