LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Traditional DAQ to DAQ.mx

Hi Guys,

 

I'm new to labview and i want to update a code that was made originally in 2005 and now i want to updated i looked at  https://www.ni.com/en/support/documentation/supplemental/06/transition-from-traditional-ni-daq--lega...

But i'm not able to do the changement i cannot wire some part used in old code to new one i attached both version

ytazicvtechibccom_0-1709305864515.png          ytazicvtechibccom_1-1709305908867.png 

 

Thank's 

0 Kudos
Message 1 of 3
(311 Views)

It is not a simple one-to-one replacement.  DAQmx is a complete rewrite of Traditional DAQ.  Your code will need to be almost completely rewritten to accomplish your goal.  Something that may help you is a hollowed out Traditional DAQ API (ie, I removed all of the Call Library Nodes inside of the drivers just so I had the API).  It helped me a lot when I had to update an application from using Traditional DAQ to DAQmx.  You can get this library here: https://forums.ni.com/t5/LabVIEW/Modifying-old-VI-for-LabVIEW-2015/m-p/3370067#M992248 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(293 Views)

DAQmx Flatten Channel String might be what you need, or you'll have to create a task in a loop and add those channels to it.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 3
(291 Views)