Return to Function List

pi620_GetSoftTriggerStatus


      ViStatus pi620_GetSoftTriggerStatus (ViSession instrumentHandle,

                                           ViUInt32 triggerSource,

                                           ViPBoolean STEnabled,

                                           ViPBoolean STStatus);


  Purpose


      Returns 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 (passed by reference)


          true if hardware input of the trigger line is being masked otherwise

          false

         

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

          when operating 51-620 card


      STStatus


          Variable Type       ViBoolean (passed by reference)


          true if software trigger level is high, and false if trigger level is low

         




  Return Value


      Refer to Function Return Value page.