05-06-2016 02:27 PM
I would like to include a .vi as an On Deploy Action that reads the currently defined scales, their coefficients, and any realated mappings so that they can be exported as an xml based configuration record file. What is the best way to read these values?
05-11-2016 01:14 AM
Hello,
On the target side, I don't know. Perhaps parsing a delpoyed file ?
On the PC side you may try calling the API:
Runtime API ==>
public interface ICalibration2
Membre de NationalInstruments.VeriStand.ClientAPI
Résumé :
Interface to get and set calibration settings for channels on the test system. Use the NationalInstruments.VeriStand.ClientAPI.Factory.GetICalibration2(System.String) method of the NationalInstruments.VeriStand.ClientAPI.Factory class to access this interface.
Configuration API (you need a Veristand developpement licence for using SystemDefinitionAPI) ==>
public NationalInstruments.VeriStand.SystemDefinitionAPI.Scales GetScales()
Membre de NationalInstruments.VeriStand.SystemDefinitionAPI.Root
Résumé :
Gets the scales section of the system definition, which contains any scales you define.
Retourne :
A Scales object.
Best regards