Skip to content

Miscellaneous Utilities

issueTrigger

bSuccess = issueTrigger(iTriggerId)

Fires the named software trigger to all devices. Used only by User Gizmos that contain a TrgIn component.

Inputs Type Values
iTriggerId integer software trigger id. Can be any integer 1-10
Returns
bSuccess boolean 0 (fail), 1 (success)

Example

Send software trigger 1 to all devices.

syn.issueTrigger(1)
syn.issueTrigger(1)

getError

sError = getError()

Returns the previous error (if any) generated by a failure of one of the SynapseAPI functions.

Returns Type Values
sError string error message