10-15-2021 09:57 AM
Hi there!
Not sure if this is the correct place for this question, but I have an old program at work that uses the Traditional DAQ VIs from LV5-7. I need to upgrade it to LV2019, but I can't seem to find any documentation for the VIs that were replaced with DAQmx.
Does anyone know where I can find something like a Context Help for the Traditional DAQ VIs so that I can figure out what they are doing? I've tried Google, but it seems a lot of the links to pages have been archived or are otherwise inaccessible.
Thanks!
Solved! Go to Solution.
10-15-2021 10:08 AM
@Santicll wrote:
Does anyone know where I can find something like a Context Help for the Traditional DAQ VIs so that I can figure out what they are doing?
Yes, I do: https://forums.ni.com/t5/LabVIEW/Modifying-old-VI-for-LabVIEW-2015/m-p/3370067#M992248
10-15-2021 10:15 AM
When I started with LabVIEW, the first program I was tasked with maintaining was a LabVIEW 7 "Real-Time" routine written several years earlier (probably in a previous version of LabVIEW) and all of the I/O was "Traditional DAQ". It was so confusing and complex that I couldn't even get the Code Maintainer (who was mentoring me in learning LabVIEW) could explain it. I found an NI person who was visiting a nearby University to meet with me to give me a "crash course" in Traditional DAQ, and his advice was the following:
At that time, there weren't as many excellent introductions to DAQmx as there are now. My all-time favorite is "Learn 10 Functions in NI-DAQmx and Handle 80 Percent of your Data Acquisition Applications" (if that is not the exact title, it is close enough for you to find it with a Web Browser). Ignore (please!) the first step, which mentions the Dreaded DAQ Assistant -- try to avoid (almost) all Express VIs.
Another hint is to "learn how your DAQ Device Works" by connecting it to your LabVIEW system, opening MAX, finding your device, and setting up a Test Panel to do whatever you want to do programmatically (such as sample A/D from Channels 1-8 of a particular piece of hardware plugged into your PC). You'll set it up, then you can get MAX to run it and you can actually acquire (and visualize) the data. If you now save this task in MAX, you have the perfect 3-4 DAQmx function routine that is described in "Learn 10 Functions", namely DAQmx Start Task (with a Task Constant wired to the upper left input, opened, and the MAX Task you saved chosen as the Task to run) wired to a DAQmx Read inside a While Loop (with viewing the data in a Chart or numerically inside the loop) followed by a DAQmx Stop Task outside the loop. Very simple.
Bob Schor