03-23-2017 07:21 AM
Good day
I have a question as how do I include a custom scale that was created in measurement and automation explorer in a project that I wish to build an executable from.
I am using Labview 2016 and the custom scale was created in measurement and automation explorer ver. 16 the scale shows up in the list in the measurement and automation explorer under scales.
Thank you
Jay
03-23-2017 05:13 PM
Sung to the tune of "Anything you can do, I can do better" ...
Anything MAX can build, You can create in a LabVIEW Project ... But as I learned to my chagrin, it is safer to do it "by hand" in DAQmx.
OK, it doesn't quite scan -- so sue me ...
Bob Schor
03-24-2017 09:30 AM
Hi Jay,
To tack onto what Bob said, creating the custom scale in your LabVIEW VI is the best way to ensure that you will always have access to it. This may be a problem if you are distributing an executable to another computer because the scale created in MAX won't be carried over in the executable (maybe using an installer, but better to do it directly in LabVIEW). The article below details how to programatically create a custom scale.
How Do I Programmatically Create NI-DAQmx Custom Scales in LabVIEW?
What kind of scales are you using? A Linear or Map Ranges Scale would not be difficult to recreate in the VI. The custom scale VIs will go directly before the virtual channel, and wire into the "scale in" connector on the virtual channel. Let me know if this is unclear or if you have any other questions!
Best,
Chris D. | Applications Engineer | National Instruments