Usbswipe_command method, Usbswipe_commandwithlength method – MagTek USB HID Swipe Reader User Manual

Page 20

Advertising
background image

USB HID Swipe Reader

16

USBSWIPE_COMMAND METHOD
Allows direct communication to the reader.

Syntax

Result =Result = USBHID.USBSwipe_Command(InPut,OutPut)

Remarks

Send specific commands to the reader. The length of InPut is automatically calculated by the
component. The response is sent through Output and also gets saved on the property
SwipeCommandOutput.

Data Type

String[In],Variant[Out],Long[Result]



USBSWIPE_COMMANDWITHLENGTH METHOD
Allows direct communication to the reader.

Syntax

Result =Result = USBHID.USBSwipe_CommandWithLength(InPut,OutPut)

Remarks

Send specific commands to the reader. The length of InPut is not automatically calculated by the
component. It must be specified by the caller. The response is sent through Output and also gets
saved on the property SwipeCommandOutput.

Data Type

String[In],Variant[Out],Long[Result]


Advertising