09-19-2011 09:51 AM
Has anyone created any vi's that can do this? I have located the config.xls files on the cRIO that specify the scaling parameters and this can be changed by parsing and modifiying the xml data but it would be very nice to have a ni approved tool or api to handle this. In the real world, a system needs the ability to change scaling of xducers. For example when a pressure transducer goes out for calibration you need a way to easily change the scaling without having to rebuild the rtexe.
09-26-2011 02:28 PM
Hi sachsm,
I would recommend checking out this example. If you dig in, you'll see property nodes and methods for creating your own variables programmatically. It'll also give clues about what parameters we can change.
https://decibel.ni.com/content/docs/DOC-5929
Regards,
09-26-2011 06:27 PM
What I would like to be able to do is modify IOV scaling on a target cRIO without using the LV development tools. As I mentioned it is possible to do this by reading the variable .xml file on the cRIO which contains the definitions of all IOV's including scaling. I could certainly write a vi to parse this file and effecttively change the scaling. Then upon reboot, the scan engine would apply the new scaling. I was just wondering why NI does not address this use case.