RFID Reader Interface Reference
3.4 IRfReaderApi
Mobile Readers
66
Function Manual, 12/2010, J31069-D0198-U001-A2-7618
3.4.22
SetTrigger
SetTrigger(triggerType : RfTriggerType,
triggerState : RfTriggerState) : void
Parameters
● TriggerType
This is the selected trigger to be changed which is one of the following enumeration
values and is normally associated to a hardware key on your device.
Trigger
Description
ScanLeft
Specifies the trigger associated with the left button on the device
ScanRight
Specifies the trigger associated with the right button on the device
ScanTop
Specifies the trigger associated with the button on top of the device (directly
above the cursor keys)
ButtonScan
Specifies the trigger associated with a button within the GUI application
PistolGrip
Specifies the trigger associated with the pistol grip button on the device
Application
Specifies a virtual trigger that is only available within the software (configured
with RF-MANAGER)
● triggerState
This parameter sets the level (state) of a trigger.
Return value(s)
None.
Exceptions
RfReaderApiException
Error while communicating with the reader service.
Check the Error member for more information.
Note
This function allows setting or resetting a trigger value which in turn triggers execution of
code within the reader service (e.g. triggering an RFID source to read tags).
Being able to set the state of a trigger to ON or OFF allows arbitrary behavior of the different
keys depending on their configuration. A key may work only as long as it is pressed or as an
on/off switch.
Limitations
RF-MANAGER mode only.
Successfully activating a trigger depends on a valid configuration being available. Such a
configuration is normally set by a connected RF-MANAGER. If no valid trigger configuration
for a given trigger type exists, an error is returned.
Version information
Supported in RFID Reader Interface: since V1.1
Summary of Contents for SIMATIC RF610M
Page 2: ......
Page 8: ...Introduction Mobile Readers 8 Function Manual 12 2010 J31069 D0198 U001 A2 7618 ...
Page 79: ......