01-26-2017 12:27 AM
Hello.
I buy new machine, which is "SPECTROMETER BIM-6001" made by brolight. Of cause, I receive the USB driver, but it's not working in Labview if I use it.
I solved this problem to use this document. -> http://www.ni.com/tutorial/4478/en/#
And I open the NI MAX, VISA test Panel. Of cause, Device is connected.
Now, it is problem.
First, I can't change the "Control Pipe" from Default (0).
Second, I enter basic I/O in Input/Output. I type command " *IND?\n ", push "Query" button. and I get return Data as following this.
------Return Data---------------
Read Operation
Error
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed
--------------------------------------
"bytes to Read" is 1024.
I guess its problem is associated configuration.
I checked View Attributes, in Configuration panel, found strange thing.
Attribute | Currnet Value
Bulk Out Pipe | 0x3
Bulk In Pipe | 0x81
Interrupt In Pipe | -1 (No Interrupt In Pipes Present
Interrupt In Pipe State | UNKNOWN
OS is windows 10.
Happy new year, greeting
Mattew
01-26-2017 03:38 AM
I have not looked at the manual yet, but I would guess the instrument does not take the SCPI commands. It likely has a proprietary protocol. If there is a driver, you will likely have to interface through that.
01-26-2017 04:25 AM
Thanks for your response.
I agree to your opinion and I have USB driver for my machine.
Do you know how to interface using my USB driver?
Is it some document in this web site?
01-26-2017 05:23 AM
Assuming you have a DLL, you will need to use the Call Library Function Node. Dig around the user manual to see if there are example using the driver.