LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB device name not shown in VISA control

Dear All,

 

I'm trying to control a lighting controller unit which used as a configurable power supply for a LED light panel.

The model is TMS Lite TMS-LC-15-4CH-A1.

It is not a popular device i guess so it doesn't have a labview driver like Agilent, GwInSTEK etc.

As usual i install the usb driver and demo software then i'm able to control the device using demo software.

Then i open my labview 2012 and select a VISA open, i created a VISA control and i expect the device ID to be shown for me to select. (Just like what i usually do for most of the agilent devices).

However this time it does not shown.

I'm stuck and i really hope someone can help.

Thanks!!!

 

0 Kudos
Message 1 of 10
(3,688 Views)

Hi brock85,

 

have you installed VISA drivers separately? please check the following link if you haven't installed VISA drivers.

 

http://joule.ni.com/nidu/cds/view/p/id/2914/

0 Kudos
Message 2 of 10
(3,679 Views)

Hi RChoudhary,

 

Thanks a lot for the reply.

I have installed visa driver in my pc.

And if i use my other instruments like Agilent U2723A, it has no problem to show the device name at visa control.

Does it mean this device driver is not able to be read by LabVIEW VISA?

Do i have to create my own VISA driver using the National Instruments driver wizard?

0 Kudos
Message 3 of 10
(3,671 Views)

Hi brock85,

 

have you checked your instrument in NI Max, weather it is detecting there or not.

 

if drivers arer not available for your instrument, you need to create them using NI driver wizard but first thing is VISA should detect your instrument's  COM port. 

0 Kudos
Message 4 of 10
(3,660 Views)

Hi RChoudhary,

 

No. NI Max and VISA also cannot detect the device's COM Port.

When i checked device manager, the device is located under "Human Interface Device" --> "HID-compliant Device".

I cannot check the com port number if it is under "Human Interface Device", can i?

0 Kudos
Message 5 of 10
(3,656 Views)

Hi brock 85,

 

i dont know much about your problem, may be someone expert can guide you better, but you can go through following link if this helps you

 

http://digital.ni.com/public.nsf/allkb/8FD4C1DC8E80637E862572EF00784338

0 Kudos
Message 6 of 10
(3,636 Views)

Is it possible that the demo software you got to work isn't releasing the COM port resource?  Have you tried rebooting the computer, and then looking in MAX and the VISA control for the COM port?  Doing this after running the demo software may prevent it from being found if the demo software doesn't release the resource.

0 Kudos
Message 7 of 10
(3,630 Views)

You are simply wasting your time. A HID device is NOT supposed to show in MAX and it is NOT emulating a serial port. Use the call library function node to interface to the HID dll. Also, if you are thinking about using the VISA wizard, think twice. It is a long and difficult process that requires considerable low level informatiopn from the vendor.

Message 8 of 10
(3,616 Views)

+1 to Dennis - HID-compliant USB-RAW devices are not USBTMC/VISA-addressable out of the box.  It is possible to use VISA, but the work required on the back end is probably not worthwhile in your case.  If you must use VISA, I'd get in touch with the manufacturer and see if they already have this implemented.

 

Regards,

Tom L.
Message 9 of 10
(3,607 Views)

Thanks for all your comments. I have called the vendor last night and able to get the DLL file from them.

Now i'm able to control the device by using the call library node to the DLL.

Cons of this will be the DLL directory must always be somewhere in the C drive and makes my program less flexible when copied to other PC.

 

Now i'm trying to do the same thing with TCP as the device has a TCP port too.

0 Kudos
Message 10 of 10
(3,597 Views)