Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

agilent usb device with NI-VISA

I want to use the NI-VISA to drive my Agilent device ( USBTMC).

I've succeed to create the driver with ( NI driver wizard) I've updated the NIUSBK.sys to NIUSBTMC.sys and I'm able to see it through the visa interactive control window.

Now I'm trying to send an SCPI command ( VISAIC application) i.e "*IDN?\n " but I'm getting an timeout error!  Any Idea?

 

Thx

 

 

 

 

 

0 Kudos
Message 1 of 4
(4,061 Views)

That makes no sense. If it's a USBTMC device, you do NOT use the VISA wizard to create a driver. The wizard should be used only when you have a USB device that does not have any sort of existing driver. It is really to be used as a last, desperate attempt to communicate. Discard all of the changes you have made. If there is a driver that comes with the device, install that and nothing else!

Message Edited by Dennis Knutson on 11-26-2009 10:05 AM
0 Kudos
Message 2 of 4
(4,053 Views)

Ok. My final purpose is to control an agilent device with WindowsCE. My understanding is NI-VISA is compatible with wince and can make a driver for wince!! I'm not an expert my be I'm wrong.

Is there any other solution ?

 

Thx

 

0 Kudos
Message 3 of 4
(4,043 Views)

I have no idea about VISA and WinCE. That could be a question for Agilent to see if they have a driver for it. If the USBTMC class does not exist in WinCE, then there would be no way to use that class.

 

If you create your own driver with VISA, you would need very low level details from Agilent on the protocol.

0 Kudos
Message 4 of 4
(4,033 Views)