01-15-2007 09:56 AM
01-17-2007 08:33 PM
03-23-2007 03:37 PM
11-30-2007 12:06 PM
12-03-2007 03:38 PM
Hi Khashibaba,
I am guessing that you are communicating via an NI USB-GPIB controller. If so, we can establish communication with the device in Measurement and Automation Explorer by selecting Devices and Interfaces>>GPIB>>Instrument X and choosing 'Communicate with Instrument'. If you can successfully query the instrument for its identification (usually *IDN? although check the device's manual for more information), then the communication is working.
If you can establish that it is communicating properly, I would recommend consulting the manual for the device to ensure that you are using compatible commands, and/or contacting Mathworks at support@mathworks.com. Otherwise, if you have access to LabVIEW, we can easily set up communication with your instrument.
Regards,
Lauren L.
12-04-2007 06:29 AM
12-04-2007 07:58 AM
instrhwinfo('visa','ni')
ans =
AdaptorDllName: [1x67 char]
AdaptorDllVersion: 'Version 2.0'
AdaptorName: 'NI'
AvailableChassis: []
AvailableSerialPorts: {'ASRL3'}
InstalledBoardIds: []
ObjectConstructorName: {[1x27 char]}
SerialPorts: {'ASRL3'}
VendorDllName: 'visa32.dll'
VendorDriverDescription: [1x32 char]
VendorDriverVersion: 4.2000
USB0::0x104D::0xCEC7::NI-VISA-0::RAW
However, in matlab examples, I have not seen any connections to RAW devices. Are they supported? Should download any library?12-04-2007 07:58 AM
12-05-2007 07:00 AM
10-28-2008 06:24 PM
I am trying to do the same thing that you, but with an spectrum analyzer, my problem is that matlab says to me that it does not have the necessary controllers to connect the gpib, Do you found some driver or do you know how can i do for to connect my gpib? My mail is nusim_84@yahoo.com.mx if you have some information for me.
PD: I neither know much about it.
BYE