At 11:23 AM -0500 2000/01/25, Brad Myers wrote:
>* Can the laser be turned on without the wiggle?

Nope. The electromagnets that control the mirror need a bit of settling time, as the 
mirror isn't oriented directly forward when the laser is off.


>* How do you get the laser to go on from software.  The following didn't
>work for me:
>        // in StartApplication
>        ScanOpenDecoder();
>        ScanCmdScanEnable();
>        ScanCmdAimOn();
>        OrigLaserOnTime = ScanGetLaserOnTime();
>        ScanSetLaserOnTime(80);  //99 is max
>        ScanSetAngle (SCAN_ANGLE_NARROW);
>        ScanSetTriggeringModes(HOST);
>        ...
>        // when my soft-button is hit:
>        ScanCmdStartDecode();

What happens when it doesn't go on? Does the laser not turn on at all, or does it 
perform a normal barcode scan? Does it work the first time but then never again? Try 
resetting the unit, to force the decoder cube to reset too -- same behavior?


>* Also, can I detect when the yellow buttons are pressed if the laser is
>NOT enabled? (Can I use the yellow buttons as generic buttons)? Can I
>differentiate which of the 3 different yellow buttons the user pressed? 
>How about the two different sets of up-down buttons?

Do you receive any key events in your app's main event loop when they're pressed? If 
so, you're off and running, but if not, then I guess the answer's no (...sorry, it's 
been quite awhile since I reviewed the SPT17xx's key handling code).

Regards,

Jim Schram
3Com/Palm Computing
Partner Engineering



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to