Pablop
2008-04-02 16:40:12 UTC
My programs are heavily dependent on Event Structures. Once you start using them though, they are hard to get away from. The User's Test Interface is essentially tabbed panels with buttons on them for launching some activity, so event structures work well. I have some event structures with state machines inside for completing various tasks, etc. Now I want to add a USB barcode reader to input the serial number of the UUT during test. The desired scenario will be something like:1) Test Stand has USB barcode reader installed and positioned to read the label on an installed UUT2) Operator installs a serialized label on UUT3) Operator installs UUT on test stand4) Operator presses Test buttonThen, within the state machine for testing, I would scan the serial number first, a successful scan being required to continue the test.Can a USB barcode scanner be implemented in this fashion, that is, be told to "Read" at a certain time, or does it Read all of the time as soon as a label is flashed in front of it? Is there a way to prod it to read at a specified time?We are looking at the Symbol MS-4407-1000R barcode reader.Thanks,