11-07-2016 12:14 PM
I can convert from 5.0 to LabView 6 or 8. I cannot convert the part from 5.0 Analog Input. What is the new form? Is there sample code?
Tahnk you
11-07-2016 12:33 PM
Mynamehasalreadybeentaken a écrit :I can convert from 5.0 to LabView 6 or 8. I cannot convert the part from 5.0 Analog Input. What is the new form? Is there sample code?
Tahnk you
That's because the old NI-DAQ device driver has been replace by the DAQmx driver. You will have to rewrite this portion of the code. For sample code look at the DAQmx Analog Input examples that are installed with the DAQmx driver. In LabVIEW: Help menu, Find Exemples... Hardware Inputs and Outputs, DAQmx, Analog Input.
Ben64
11-07-2016 01:28 PM
The Good News (and it is very good news) is that DAQmx is MUCH easier to use than "traditional DAQ". There are excellent DAQ tutorials available, including my favorite that you can find by doing a Web search for "Learn 10 Functions in NI-DAQmx".
Bob Schor
11-22-2016 11:04 AM
I am familiar with LabView 9.0. I know how to read in from certain channels etc. My problem is I don't know the 5.0 version. I am not sure how to convert that portion. I am able to convert from 5.0 to 6.0 or 8.0. With the 5.0 version I was able to choose which channel I would read from by an icon on the screen.
11-22-2016 11:28 AM - edited 11-22-2016 11:29 AM
You may find this tutorial useful. It speaks somewhat to the differences between Traditional (Legacy) DAQ and DAQmx. The down side is it aims to help the user transition away from Legacy code to the DAQmx API. Your problem is the reverse. You seem to know DAQmx but have no experience with Legacy DAQ.
Count your blessings!
11-22-2016 01:05 PM
I recently posted by I call the Traditional DAQ API. I took an old system's DAQ VIs and removed all of the DLL calls. So all of the Context Help is there. It might help you in your transition.
You can find it here: http://forums.ni.com/t5/LabVIEW/Modifying-old-VI-for-LabVIEW-2015/m-p/3370067#M992248
11-28-2016 03:28 PM
I am looking at Figure 1 and Figure 2 in your tutorial. Is it possible to explain what each figure and associated icon is for?
Thank you.
11-29-2016 01:29 PM
Hello,
If you can recreate the figures within LabVIEW using the numbered steps as a guideline for the naming convention of each icon.
***Hint: Use the shortcut Ctrl+Space to use quickdrop within LabVIEW to drop each icon/function.
Or if you wan to open up a similar example in Example Finder (Help>>Find Examples...)
Then if you pull up the Context Help window (Ctrl+H in LabVIEW) and hover over any of the icons you will see more information. For even more detailed help on each function you can click into the "detailed help" at the bottom of the Context Help window. This will explain in detail how each icon/function is used.
***Link: Context Help-http://zone.ni.com/reference/en-XX/help/371361J-01/lvdialog/context_help_window/
Best,
Spencer | Applications Engineer | NI
11-29-2016 01:52 PM
Yes, I know about the hovering over part. I am asking what are the 2 VIs actually doing? I am assuming they both do the same thing. What is their function?
11-29-2016 03:40 PM
It's explained in the next line after the pictures: "performing continuous analog input with an internal clock". There's not much more to it since you cant see the front panel to know how the controls are set.