Test Engineering Leader wrote:
> Need a vi to down load collected date/time and bar code from Symbol
> CS1504 through USB port. Also need command to 'flush' the reader from
> stored data.
I would hope your barcode reader comes with some documented software
drivers already or alternatingly either has a COM port driver or plugs
into the keyboard queue directly.
If there is a DLL driver available with decent documentation you can
connect to it through the Call Library Node. This can be difficult work
to do, especially if you are not familiar with DLLs and C programming.
COM port emulation would be probably the most simple soution for full
programmatic control. You can just use the serial port VISA functions to
communicate with such a driver.
If the driver pl
ugs directly into the keyboard queue it may seem limited
but in most cases we have used such barcode scanners with success. You
just place a string control on the front panel and program some logic to
make sure the key focus is set appropriately to the string control
before you trigger the barcode scanner. For semi automated operation
this is usually enough.
Programming USB directly through the VISA USB raw interface is quite a
task, requires that the device has no other driver installed for it as
VISA otherwise can't see it and you need good documentation about its
USB interface which could be tricky to optain.
Rolf Kalbermatter
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390