User's Manual

CHAPTER 6 READER-HOST PROTOCOL
NANOSCANNER READER USER GUIDE DOC # 8101029-000 REV A 76
© 2003 Alien Technology™
SET AUTOSTARTTRIGGER
G
ET AUTOSTARTTRIGGER
The AutoStartTrigger specifies the external input pins to monitor to cause the
automode to jump from wait state to work state. Triggers can either be a pin
going from low to high (rising edge) to high to low (falling edge). For each type of
change, an integer bit mask must be provided to specify the pins to listen for
changes on.
The command takes two parameters, a rising edge bit mask and a falling edge
bit mask.
NOTE: Changes made with this command will take effect immediately.
Example
Command
Response
>Get AutoStartTrigger
> AutoStartTrigger(rising, falling)= 0, 0
Command
Response
>Set AutoStartTrigger =3, 0 //Listen for rising edges on pins 0
and 1
> AutoStartTrigger (rising, falling)= 3, 0
S
ET AUTOWORKOUTPUT
GET AUTOWORKOUTPUT
The AutoWorkOutput specifies the output pin settings to effect while in the work
state of autonomous mode. The parameter is a bit mask for the two external
output pins, where a ‘1’ sets a pin to high, and a ‘0’ sets a pin to low. Pin 1 is
specified by bit one in the mask, and Pin 0 is specified by bit zero in the mask.
NOTE: Changes made with this command will take effect immediately.
Example
Command
Response
>Get AutoWorkOutput
> AutoWorkOutput =0
Command
Response
>Set AutoWorkOutput =3 //Turn pins 0 and 1 to high
> AutoWorkOutput =3
S
ET AUTOACTION
G
ET AUTOACTION
The AutoAction command specifies the action to perform when running in the
work mode of auto mode. This can be one of the following options:
AutoAction Description
None Perform no action
Acquire
Perform an acquire action, as specified by the AcquireMode
options.