03-01-2024 09:35 AM
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
Thank's
03-01-2024 09:59 AM
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
03-01-2024 09:59 AM
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.