Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown Error- VISA

We are receiving this error from one of our systems where we are using a USB scanner (for scanning bar codes) and this error doesn't let application go ahead as it is designed. User has to kill the application from task manager and restart. Please refer attached image.

 

Regards,

Gorakh

0 Kudos
Message 1 of 2
(2,713 Views)

My first thought is, if your scanner will allow it, to use the keyboard emulation (I know this is not the correct terminology) from the scanner.  Then you just put the focus on a string control and when the user scans something, you can pick on on the value change.  You can also watch for the keydown.

 

Otherwise, it is sounding like there is an error in the USB iterface.  Maybe Windows is using its power-saving "feature" and shutting down the USB hub on you.  This can be fixed in the Device Manager.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,701 Views)