Stg_GetLaserOutputModality Description
int Stg_GetLaserOutputModality();
This function retrieves the current modality of the Laser Output logical device.
Return Values
int 0 | Any combination of ports active is possible. |
1 | Only one port can be active and cannot be disabled. |
2 | Only one port can be active and can be disabled. |
Stg_GetLaserOutputNumPorts Description
int Stg_GetLaserOutputNumPorts();
This function returns number of ports of the Laser Output logical device.
Return Values
int Number of ports (0 if the device not present).
Stg_GetLaserOutputPortUsed Description
Stg_GetLaserOutputPortUsed(
int LaserPort
);
Returns current state of the Laser Output logical device.
Parameters
int LaserPort Zero based index of the desired Laser port.
Return Values
TRUE if the LaserPort is currently in use (open), otherwise FALSE.
Stg_GetLaserOutputPortUsedEx Description
Stg_GetLaserOutputPortUsedEx(
char *SwitcherName,
int LaserPort
);
Returns whether the specified laser port is used or not.
Parameters
char *SwitcherName Name of the laser switcher logical device.
int LaserPort Zero based index of the desired Laser port.
Stg_SetLaserOutputPortUsed Description
Stg_SetLaserOutputPortUsed(
int LaserPort,
int PortUsed
);
Sets a port of Laser Output logical device used (open).
Parameters
int LaserPort Zero based index of the desired Laser port.
int PortUsed Set the port usage.
Stg_SetLaserOutputPortUsedEx Description
Stg_SetLaserOutputPortUsedEx(
char *SwitcherName,
int LaserPort,
int PortUsed
);
Sets status of the selected Laser port.
Parameters
char *SwitcherName Name of the laser switcher logical device.
int LaserPort Zero based index of the desired Laser port.
int PortUsed Set the port usage.