ITRIGGER(3)
HP-UX
NAME
itrigger − sends a trigger to a device or interface.
SYNOPSIS
#include <sicl.h>
int itrigger(INST id);
DESCRIPTION
itrigger sends a trigger to a device or interface specified by id.
id is an INST identifier for a session obtained from an iopen(3) call. If id refers to a device, then the trigger is sent to the device. The mechanism used to send the trigger is dependent on the interface, but it is an addressed trigger (HP-IB uses the addressed GET, VXI uses the trigger word-serial command.)
If id refers to an interface, then the behaviour of itrigger is interface-specific. For example, executing itrigger on an HP-IB interface will send a broadcast GET.
The itrigger function, when used on a VXI interface session, generates the same results as the ixtrig functions with the I_TRIG_STD value passed to it. See the ivxitrigroute function on how to assign trigger line values to I_TRIG_STD.
RETURN VALUE
itrigger returns (0) for success and a non-zero error code otherwise.
AUTHOR
itrigger was developed by HP.
Hewlett-Packard Company — September 29, 1999