Return to Function List

pi620_GetOffsetCalCode


      ViStatus pi620_GetOffsetCalCode (ViSession instrumentHandle,

                                       ViPUInt32 offsetCode, ViUInt32 offset);


  Purpose


      Returns the current offset calibration code. This instrument does have 2

      offset calibration codes, called the "static" offset and the "dynamical"

      offset. The static offset code can vary for  each of the 4 ranges (0, 10,

      20 and 30 dB attenuation). The Offset calibration codes are calibrated

      with the function pi620_SetOffsetCalCode.


  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

         


      offsetCode


          Variable Type       ViUInt32 (passed by reference)


          Offset code.


      offset


          Variable Type       ViUInt32


          Return the static or dynamical offset calibration code:

         

          0 = Dynamical offset code

          1 = Static offset code



  Return Value


      Refer to Function Return Value page.