Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5628

USB RAW error 0xBFFF003D and 0x3FFF0082

$
0
0

Hello, newbie to USB RAW here. I am attempting to communicate with a packaged system from Newport Insturments. It is a power supply that controls a lamp and is connected to a monochromator (in series) and then to a filter wheel (in series with the monochromator. At the moment I am trying to establish a connection to the power supply through a USB. This system comes with a LabView program to control the various aspects of the device (for example turning the lamp on and off/running selected scans). However; I would like to incorporate the functionality of this system with other devices through my own labview code. Unfortunately the program is compiled and the support from Newport is terrible, so there is no driver or example VI's. When the provided utility is working properly the system shows up as a portable device in the device manager. So I have begun trying to communicate with the device through VISA. The RS232 commands are listed in the manuals provided at the end.

 

I have been able to use the NI-VISA driver wizard to create an INF file for this devices as described here . When I try and install the INF I have to turn off the signature checking as described here . When I do this it doesn't create a PNF as expected, but it does seem to modify the oem29 INF and PNF files. Even so, I can now change the driver in device manager. It now shows up in device manager under NI_VISA USB Devices drop down menu as Newport POWER SUPPLY, and shows up as a USB RAW in NI-MAX.

 

If I open NI-MAX I can write to the device without error, but when I try and read I get the error:

 

Read Operation
Error

VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error.

 

When I look further and check the attributes at the bottom of the list (in red) that the attribute interrupt in pipe status has an invail property, double clicking on that shows the error:

Error

VISA: (Hex 0x3FFF0082) The specified object reference is uninitialized.

 

where the attribute "Interrput in Pipe" shows a -1 in Current Value (this is true if I refresh the list and open the test panel without running a read function). The Bulk Out Pipe Status has a value of READY, while the BULK In Pipe Status has a value of STALLED?

 

I'm unsure what these errors could mean, any advice would be greatly appreciated.

 

I am using LabView 2018, 64 bit with Windows 10.

 

The manuals for the entire system is here. While the standalone power supply ( which is what I am trying to communicate with is here .

 

If anyone can offer advice that would be appreciated. Thanks in advance.

Drew


Viewing all articles
Browse latest Browse all 5628

Trending Articles