Return to Function List

pi620_SetOutputOffsetDacCode


      ViStatus pi620_SetOutputOffsetDacCode (ViSession instrumentHandle,

                                             ViUInt32 code, ViUInt32 connect);


  Purpose


      Program the ouput offset dac with a specified (10-bit) code. Use this

      function for calibration or debug purposes only.


  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

         


      code


          Variable Type       ViUInt32


          Code for output offset dac.


      connect


          Variable Type       ViUInt32


          Connect or disconnect the output offset dac:

         

          0 = disconnect

          1 = connect



  Return Value


      Refer to Function Return Value page.