Simultaneous TriggerIn bits


It appears that the ‘bit’ argument in okUsbFrontPanel_ActivateTriggerIn() specifies a bit number, not a bit mask. This means I can only set one bit at a time. (It might have been better to make that argument an int so that I could set any or all of the trigger bits).

Since it appears there is no UpdateTriggerIn function, does ActivateTriggerIn happen immediately, and hence is it not possible to set multiple bits in a TriggerIn?


You are correct – ActivateTriggerIn happens immediately. Therefore, it is not possible to activate multiple triggers at the same time – within the software.

The same can be accomplished, however, by connecting your hardware appropriately.