Return to Function List

pi620_ReadRegister


      ViStatus pi620_ReadRegister (ViSession instrumentHandle,

                                   ViUInt32 address, ViPUInt32 data);


  Purpose


      Reads the instrument register at the specified offset and returns the

      value.  Refer to the instrument user's manual for register definitions.


  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

         


      address


          Variable Type       ViUInt32


          The offset address of the register to read.


      data


          Variable Type       ViUInt32 (passed by reference)


          Returns the value read from the specified offset.



  Return Value


      Refer to Function Return Value page.