LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW code ramifications upgrade from B series DAQ to M series DAQ

We have a LabVIEW automated test system that was developed by a third part many years ago using a PCI-6014 B series device. I need to replace the device and the 6014 is no longer available. What issues might I run into if I upgrade to a PCI-6221 M series device? Will the virtual instruments still work the same? 

 

The .vi's were written in LabView 8.0. For signal generation and measurement AO Write, AO Start, AO clear and AI acquire code blocks were used. 

 

Thanks!

0 Kudos
Message 1 of 3
(1,946 Views)

I think that I found my answer here:

 

http://www.ni.com/product-documentation/4342/en/

0 Kudos
Message 2 of 3
(1,928 Views)

That link is a good resource for getting started.  The existing DAQ vi's will *not* run with an M-series 6221 device.  (Aside: a newer X-series board might be a better choice, even if it means upgrading the PC hardware to provide the needed PCIe slots.  Possibly the 6321 which is likely the intended replacement for the 6221.)    Your code uses the legacy "Traditional NI-DAQ" driver which never supported M-series.  You'll need to rewrite all the DAQ code in terms of the DAQmx driver.

 

Not all the functionality is a direct 1-for-1 replacement.  The linked article illustrates that *some*, but tends to emphasize the things that map more straightforwardly.  In general, I think it usually works out better to define what the DAQ tasks need to do and how they work together, and then just program the tasks from scratch in DAQmx.  Maybe use the original code as a reference for figuring out functionality, but don't try to substitute one DAQ-related function at a time.

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy coming to an end (finally!). Permanent license pricing remains WIP. Tread carefully.
0 Kudos
Message 3 of 3
(1,917 Views)