Set Range Limit Voltages |
pi620_SetRangeLimitVoltages ViStatus pi620_SetRangeLimitVoltages (ViSession instrumentHandle, ViReal64 maxVoltage, ViReal64 minVoltage); Purpose Set limit voltages of range dac. These voltages are necessary for a calibrated range voltage. Be sure offset is calibrated first. Procedure to determine limit voltages: - Select Channel to calibrate ( SetActiveChannel(..) ) - Be sure channel is not running (SetInstrumentMode (0) ) - Disconnect output offset (SetOutputOffsetVoltage (0.0, 0) ) - Set Dac code at maximum (SetDacCode(0xFFFF) ) - Set attenuator at 0dB (SetAttenuator (0.0) ) - Program range dac at maximum ( SetRangeDacCode(ci, 0x3FF) ) - Measure output voltage with accurate voltage meter - Program range dac at minimum ( SetRangeDacCode(ci, 0x0) ) - Measure output voltage with accurate voltage meter - Call this routine with measured voltages - Repeat this at 10dB, 20dB and 30dB attenuation - Repeat steps with next 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 voltage. minVoltage Variable Type ViReal64 Minimum measured voltage. Return Value Refer to Function Return Value page. |
(C) 2009 Pickering Interfaces Ltd |