[OpenSPIM] Problems with OpenSPIM system

Mark Tsuchida marktsuchida at gmail.com
Fri Jun 27 08:37:14 CDT 2014


Hi Luke,

On Fri, Jun 27, 2014 at 6:05 AM, Luke Stuyvenberg <stuyvenberg at wisc.edu> wrote:
> The intent of the Initialize call was to test the serial number received from the Pi-detector, but I didn't account for the possibility of CPiDetector returning DEFAULT_SERIAL_UNKNOWN, which it does if the requested device hadn't been found.

In that case, maybe you can remove the call to Initialize() from the
BeforeGet branch of OnGenericSerial() (if you insist that the serial
number must be checked immediately when the user enters it, instead of
when the OK button is clicked).

Best,
Mark




More information about the OpenSPIM mailing list