You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TriggerInputOutputCapabilities has 2 attributes, input and output, with each being 8-bit integers. This class is used to specify which of the 8 available lines can be used as either an input or an output trigger. At the moment, the capability is specified by converting the 8-bit representation of the lines, with 1 indicating available and 0 indicating unavailable, to a decimal integer. For example, if lines 0 and 2 were available for input triggers, the 8-bit representation would be 0b00000101, which would be 5 in the decimal system, and the input attribute would be 5.
This could be improved by skipping the need for the conversion step. For example, accepting an 8 element list, so in the above example the input attribute would be [0,0,0,0,0,1,0,1], or for instance, just having the user specify which lines are available for triggering with their indices, so in the above example, the input attribute would be [0, 2].
The text was updated successfully, but these errors were encountered:
TriggerInputOutputCapabilities has 2 attributes, input and output, with each being 8-bit integers. This class is used to specify which of the 8 available lines can be used as either an input or an output trigger. At the moment, the capability is specified by converting the 8-bit representation of the lines, with 1 indicating available and 0 indicating unavailable, to a decimal integer. For example, if lines 0 and 2 were available for input triggers, the 8-bit representation would be 0b00000101, which would be 5 in the decimal system, and the input attribute would be 5.
This could be improved by skipping the need for the conversion step. For example, accepting an 8 element list, so in the above example the input attribute would be [0,0,0,0,0,1,0,1], or for instance, just having the user specify which lines are available for triggering with their indices, so in the above example, the input attribute would be [0, 2].
The text was updated successfully, but these errors were encountered: