Return to Function List

pi620_SetLockMode


      ViUInt32 pi620_SetLockMode (ViSession instrumentHandle, ViUInt32 mode);


  Purpose


      The module should be locked to generate a signal on the output. The

      module memory and main dac cannot be accessed if the module is locked.

      This function is called by pi620_SetInstrumentMode.


  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


          Lock or unlock the module:

         

          0 = Unlock

          1 = Lock



  Return Value


      Refer to Function Return Value page.