Return to Function List

pi620_SetInstrumentMode


      ViStatus pi620_SetInstrumentMode (ViSession instrumentHandle,

                                        ViUInt32 mode);


  Purpose


      The active channel of the module should be in Signal Genereration mode to

      generate a signal on the output. The module memory of the active channel

      and main dac cannot be accessed if the channel of the module is in Signal

      Generation Mode. This function calls pi620_SetLockMode(..) and programs

      the Main dac half scale (8000 hex) if Mode is set at Signal Configuration

      Mode.


  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

         


      mode


          Variable Type       ViUInt32


          Set module in Signal Configuration or Signal Generation Mode:

         

          1 = Signal Generation mode

          0 = Signal Configuration mode



  Return Value


      Refer to Function Return Value page.