Return to Function List

pi620_SetSoftTriggerStatus


      ViStatus pi620_SetSoftTriggerStatus (ViSession instrumentHandle,

                                           ViUInt32 triggerSource,

                                           ViBoolean STEnabled, int STStatus);


  Purpose


      Directly sets mask and software trigger status for any trigger line.

     


  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

         


      triggerSource


          Variable Type       ViUInt32


          Select the trigger source:

         

          1 - Launch software trigger on external trigger line

          2 - Launch software trigger on PXI0 trigger line

          3 - Launch software trigger on both trigger lines

         

          Note: only "ST Status" parameter is relevant in this function

          when operating 51-620 card


      STEnabled


          Variable Type       ViBoolean


          set whether to mask hardware external input or not

               true - mask, false - don't mask

         

          Note: only "ST Status" parameter is relevant in this function

          when operating 51-620 card


      STStatus


          Variable Type       int


          set level of signal on software trigger input

                true - high level, false - low level



  Return Value


      Refer to Function Return Value page.