
:EVENts:BIT?
Syntax:
:EVENts:BIT? <id>
When using an event for branching in the sequence, a bit mask has to be used. This query returns the
bit index (0-based) for a given event. The event is specified by a quoted string.
For example, if this query returns 5, you can use the mask 0x20 (= 32 decimal) in the sequence string
to refer to this event. Note that it is not recommended that you continue to use this mask in the
sequence after you have deleted the event.
Example query:
EVEN:BIT? "myevent"
Example response:
0
:EVENts:MASK?
Syntax:
:EVENts:MASK? <id>[,...]
Similar to the
:EVEN:BIT?
query, this command returns a bit mask. One or more event identifiers,
provided as quoted strings, can be given as an argument.
Note that the result value may be in the range from 0 to 2
31
–1, so an unsigned 32-bit integer is
required.
Example query:
EVEN:MASK? "myevent","otherevent"
Example response:
5
:EVENts:TYPE
Syntax:
:EVENts:TYPE <id>,<type>
Specifies the type of an event:
•
MANual
: the event can be manually strobed (using the
:EVEN:STR
command)
•
IMMediate
: the event fires continuously
•
LEVel
: the event is triggered on an edge or a level of a trigger input
•
PATTern
: the event is triggered on a pattern sampled at an analyzer input
In order to define a new event, just call this command. You can use any identifier (quoted string) that
is not in use yet.
Example command:
EVEN:TYPE "myevent",PATT
:EVENts:TYPE?
Syntax:
:EVENts:TYPE? <id>
Returns the type of a certain event (identified by a quoted string).
Example query:
EVEN:TYPE? "myevent"
Example response:
PATTern
60
BitifEye Digital Test Solutions GmbH