Set Output Offset Cal Voltages |
pi620_SetOutputOffsetCalVoltages ViStatus pi620_SetOutputOffsetCalVoltages (ViSession instrumentHandle, ViReal64 maxVoltage, ViReal64 minVoltage); Purpose Set calibration voltages for output offset dac. These voltages are necessary for a calibrated output offset voltage. Before calibrating the output offset voltages, the static and dynamical offset should be calibrated first. Procedure to determine limit voltages: - Select Channel to calibrate ( SetActiveChannel(..) ) - Be sure channel is not running (SetInstrumentMode (0) ) - Program Main dac at half scale (SetMainDacCode(0x8000) ) - Set attenuation at 30 dB (SetAttenuation(30) ) - Program Output offset dac at maximum and connect offset voltage (SetOutputOffsetDacCode(vi, 0x3FF,1) ) - Measure voltage at output with accurate voltage meter - Program output offset dac at minimum ( SetOutputOffsetDacCode(vi, 0x0,1) ) - Measure voltage at output with accurate voltage meter - Call this routine with the measured voltages as arguments - Repeat steps for every channel - Call StoreCalibration for storing data in eeprom
Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the pi620_init function. The handle identifies a particular instrument session.
Default Value: None
maxVoltage Variable Type ViReal64 Maximum measured ouput offset voltage. minVoltage Variable Type ViReal64 Minimum measured ouput offset voltage. Return Value Refer to Function Return Value page. |
(C) 2009 Pickering Interfaces Ltd |