04-23-2007 07:56 AM
public static void ExecuteExternalCalibration(string devicename, double voltage){
Device dev = DaqSystem.Local.LoadDevice(devicename); try{
ExternalCalibrationSession session = dev.StartExternalCalibration("NI");session.AdjustMSeries(voltage);
session.SaveChangesAndDispose();
catch (DaqException exception)}
{
throw new ApplicationException("NI-Error", exception);}
// catch}
After calling the method with parameters dev1 and 7 (V) the error 200546 occurs:
"External calibration failed and the external calibration data has not been saved. Make sure, that the reference signal used for the calibration is stable and that the voltage matches the value specified to the calibraton software. Discconnect the device from any external signals that migth be introducing noise."
Is there any problem with my code or with the hardware (I´m using the connector module 2111)? How do I get +7 Volt to ai0 and -7 Volt to ai8?
Thanks for every help, Juergen.
04-26-2007 06:34 AM - edited 04-26-2007 06:34 AM
Message Edited by AmirG on 04-26-2007 06:35 AM