Return to Function List

pi620_SetTriggerMode


      ViStatus pi620_SetTriggerMode (ViSession instrumentHandle,

                                     ViUInt32 source, ViUInt32 triggerMode);


  Purpose


      Select the trigger source and trigger 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

         


      source


          Variable Type       ViUInt32


          The trigger source:

         

          0 = Front

          1 = PXI 0

          2 = PXI 1

          3 = PXI 2

          4 = PXI 3

          5 = PXI 4

          6 = PXI 5

          7 = PXI 6

          8 = PXI 7

          9 = PXI Star


      triggerMode


          Variable Type       ViUInt32


          The trigger mode:

         

          0 = High level

          1 = Low level

          2 = Positive edge

          3 = Negative edge

          4 = Positive edge single shot

          5 = Negative edge single shot

          6 = Continuous



  Return Value


      Refer to Function Return Value page.