ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB RAW device freezes my LabView and Matlab program

Hello everyone,

 

I am trying to figure out if I am the only one facing this problem. I created NI VISA driver for my HID device. It was working fine but now as soon as this device is connected to the computer and I try to work with it on LabView, the program closes. same thing with MAX, it crashes. So I wanted to see if I would get any luck in Matlab. As soon as I enetered the Resource Name, Matlab closed as well. I am not sure what is the problem. I never encountered this problem before. Someone please help. 

0 Kudos
Message 1 of 4
(4,958 Views)
You should use the HID driver instead of trying to make your own with VISA. In general, the wizard should not be used when you already have a driver, especially HID.
0 Kudos
Message 2 of 4
(4,951 Views)

Hi Dennis,

 

But how would I communicate it with LabView? It was working fine earlier. It is just recently that I am having problems. 

0 Kudos
Message 3 of 4
(4,948 Views)
How was it working fine? You said that as soon you connected it, MAX closed. You can use the call library function node.
0 Kudos
Message 4 of 4
(4,942 Views)