10-28-2011 02:19 PM
Hi,
I managed to programmatically set my hardwre I/Os like described here. Essentially, what this does, is creating hardware channels in the System Definition File.
Now I'd like to set the calibration and scaling programmatically. So in a small test VI, I took my channels list, and used the ICalibration method under Factory... however it does not work and I get the Error message "Could not Find channel 'blabla' " out of the Error property... (not a LabVIEW error).
Not sure what I am missing...
It seems that the Calibrations and Scaling are not stored in the System Def File (?), as the workspace tool allowing to enter calib and scaling manually require the target to be running....
Thx.
Laurent.
10-28-2011 06:18 PM
10-28-2011 06:43 PM - edited 10-28-2011 06:44 PM
But why is the code shown above not working then? Shouldn't it be setting the cal/scaling channels when the target is up and running?
L
10-28-2011 11:34 PM