Return to Function List

pi620_PrepareChannelForSoftTrigger


      ViStatus pi620_PrepareChannelForSoftTrigger (ViSession instrumentHandle,

                                                   ViUInt32 triggerSource);


  Purpose


      Prepares channel for using software trigger. It sets trigger mode of

      channel in proper state (POS_EDGE, correct source), also enables software

      trigger on the specified 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:

         

          0 - Stop triggering (trigger mode is put into continuous)

          1 - Use external trigger line as software trigger

          2 - Use PXI0 trigger line as software trigger

         

          Note: for 51-620 card is source parameter ignored




  Return Value


      Refer to Function Return Value page.