11-26-2009 10:34 AM
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
11-26-2009 11:03 AM - edited 11-26-2009 11:05 AM
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!
11-26-2009 11:17 AM
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
11-26-2009 11:28 AM
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.