Return to Function List

pi620_SetMainDacCode


      ViStatus pi620_SetMainDacCode (ViSession instrumentHandle,

                                     ViUInt32 code);


  Purpose


      Program the main dac with a specified code. Dac code is left justified.

      If instrument contains a 12 bit main dac, the lower 4 bits are unused.


  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 main dac (left justified).



  Return Value


      Refer to Function Return Value page.