hey guys,
so I am having some trouble with the device connection in matlab with the 34410a library of the digital multimeter. I am using the Instrument Control Toolbox and the interface object was created properly with visa and it appears when I use the tmtool function.The library is listed under the Matlab instrument drivers and it is already an .mdd file.
when I try to create a device object with vu being already an interface object to the instrument:
d = icdevice('Ag34410.mdd', 'vu')
I get the error:
??? Error using ==> icdevice.icdevice>icdevice.icdevice at 241
The VXIplug&play driver referenced in C:
I have been able to make a low level connection using fopen(vu) of the interface object and send the *IDN? query which had a response...but i still cant create this device object. I guess its maybe a problem with the library conversion to .mdd?
I also want to know that If i do create this device object, will I be able to use agilent library functions in Matlab normally and not just the low level SCPI commands?
Thanks for your help!
so I am having some trouble with the device connection in matlab with the 34410a library of the digital multimeter. I am using the Instrument Control Toolbox and the interface object was created properly with visa and it appears when I use the tmtool function.The library is listed under the Matlab instrument drivers and it is already an .mdd file.
when I try to create a device object with vu being already an interface object to the instrument:
d = icdevice('Ag34410.mdd', 'vu')
I get the error:
??? Error using ==> icdevice.icdevice>icdevice.icdevice at 241
The VXIplug&play driver referenced in C:
I have been able to make a low level connection using fopen(vu) of the interface object and send the *IDN? query which had a response...but i still cant create this device object. I guess its maybe a problem with the library conversion to .mdd?
I also want to know that If i do create this device object, will I be able to use agilent library functions in Matlab normally and not just the low level SCPI commands?
Thanks for your help!
so ....
d = icdevice('Ag34410', 'USB::0x0957::0x0607::MY47003212::INSTR')
Instrument Device Object Using Driver : Ag34410
Instrument Information
Type: IVIInstrument
Manufacturer: Agilent Technologies
Model: Agilent34410
Driver Information
DriverType: MATLAB IVI
DriverName: Ag34410
DriverVersion: 1.0
Communication State
Status: closed
But then I tried connecting to the multimeter.... and it gave me this error:
>> connect(d)
??? Error using ==> icdevice.connect at 117
The VXIplug&play driver could not connect to the instrument using the specified resource.
If this error is not an instrument error, use MIDEDIT to inspect the driver.
Again, i think it could be something with the driver or the conversion to .mdd (i uused the matlab conversion makemid function). How can I finally connect to the instrument and use its libraries to control it and not just the SCPI?