Return to Function List

pi620_SetOutputVoltage


      ViStatus pi620_SetOutputVoltage (ViSession instrumentHandle,

                                       ViReal64 voltage, ViUInt32 method);


  Purpose


      Program an (dc) output offset voltage with the attenator and main dac.


  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

         


      voltage


          Variable Type       ViReal64


          The output offset voltage.


      method


          Variable Type       ViUInt32


          Program the output voltage by adjusting the main dac code (with

          attenuator at 0 dB) or by adjusting the Attenuator (with main dac

          code at maximum for positive voltage or at minimum for negative

          voltage).



  Return Value


      Refer to Function Return Value page.