INST_TRIGGER()
NAME
INST_TRIGGER − Compiled SCPI Commands
SYNOPSIS
INST_TRIGGER (id);
DESCRIPTION
This is a Compiled SCPI macro command. The instrument trigger command sends an IEEE-488.2 equivalent group execute trigger to the instrument specified by the id parameter.
PARAMETERS
id
The user variable name for the instrument. This is the variable name that you assign to the instrument in the INST_DECL or INST_EXTERN command. For example,
INST_DECL (vm, "E1411B", REGISTER);
assigns vm as an instrument data pointer to the E1411B. Now when you use vm as the id in INST_TRIGGER, a instrument trigger is sent to the HP E1411B.
COMMENTS
For MESSAGE configurations, C-SCPI uses the HP SICL itrigger (id) function. See the HP SICL documentation for additional information.
EXAMPLE
This example shows the instrument trigger command being used.
INST_DECL(vm, "E1411B", REGISTER);
main()
{
INST_STARTUP();
INST_OPEN (vm, "VXI,24");
.
.
INST_TRIGGER(vm);
.
}
— December 04, 1992