Why i can't connect with an instrument using ivi com driver?

Hi, I created and device object using both drivers(ivi c and ivi com). when i try to connect the instrument using ivi c driver's device object i can connect with the instrument . but when i try to connect the instrument with ivi com driver's device object.
Please explain why and also the difference between ivi c and ivi com.
Thanks in advance Vijith

10 件のコメント

Walter Roberson
Walter Roberson 2012 年 12 月 11 日
Please go back through your Questions and remove the ones that are no longer relevant, and merge together similar Questions. Asking the same basic question multiple times is not useful.
Vijith Natarajan
Vijith Natarajan 2012 年 12 月 11 日
編集済み: Vijith Natarajan 2012 年 12 月 11 日
Still i haven't got an answer relevant to my questions, that's why i need to ask it again in a simpler way.
even When i ask a question detaily i got answers which are irrelevant to it, I am wondering why matlab user community is not able to answer my simple questions or is there no one in test and measurement?.
i have just started working on matlab, and i have no one to help also, even in internet also we have very limited resources,again i have to come to matlab user community, here also you are asking me to close the questios,then what's the point in matlab user community and blogging?
I have accepted the answers give to me. thanks for that. but giving comments like this is making me feel bad to post questions
Walter Roberson
Walter Roberson 2012 年 12 月 11 日
The mechanism for re-asking questions is to edit the question or comment on it to provide additional information. Posting a "reminder" after a reasonable wait is also acceptable.
Posting multiple questions on the same theme but with differing phrasings or detail mostly results in the administrators and community editors needing to do more editing to merge together the questions.
Vijith Natarajan
Vijith Natarajan 2012 年 12 月 11 日
Those are not similar questions, each and every question of mine is different. Please go through my questions once. I'll ask questions only whenever i get stuck somewhere.
Walter Roberson
Walter Roberson 2012 年 12 月 11 日
I have passed your question on to someone who might happen to recognize the situation from their work years ago. I don't know if I will even get through their spam filters after this many years.
Vijith Natarajan
Vijith Natarajan 2012 年 12 月 11 日
thanks walter...
Ankit Desai
Ankit Desai 2012 年 12 月 12 日
Hi Vijith,
Can you provide more details on what platform are you on? Are you on a 64-bit machine or a 32-bit machine? Which drivers are you using? Which instrument are you trying to connect to?
Having answers to these questions might be useful in providing more information.
Vijith Natarajan
Vijith Natarajan 2012 年 12 月 27 日
its a 64 bit machine. matlab2012a version, and the instrument is agilent DSO x2024A,
Walter Roberson
Walter Roberson 2012 年 12 月 27 日
And are you using the 32 bit or 64 bit MATLAB?
Vijith Natarajan
Vijith Natarajan 2012 年 12 月 27 日
32 bit matlab

サインインしてコメントする。

回答 (1 件)

Ankit Desai
Ankit Desai 2013 年 2 月 12 日

0 投票

IVI-COM is not supported on 64-bit platform. However, if the driver installs both the 32 as well as 64 bit, then you should be able to use the 32-bit driver from 32-bit MATLAB.
The difference between the IVI-C and IVI-COM is explained by pacificmindworks.com in this PDF document.
I installed version 1.1.8 of the IVI driver for the instrument you listed. That driver comes along with MATLAB driver and is automatically installed. You might want to update your driver if it is not the latest one.
There is also an example that is shipped with the driver that shows how to use the driver, once installed. Here's a sample code:
% Create driver instance
driver = instrument.driver.AgInfiniiVision();
% Edit resource and options as needed.
% Resource is ignored if option Simulate=true
% resourceDesc = 'TCPIP0::<host_name or IP addr>::INSTR';
resourceDesc = 'GPIB0::7::INSTR';
initOptions = 'QueryInstrStatus=true, Simulate=true, DriverSetup= Model=, Trace=false';
idquery = true;
reset = true;
driver.Initialize(resourceDesc, idquery, reset, initOptions);
disp('Driver Initialized');
If the code above works fine, you can just update the resourceDesc string and change Simulate=true to Simulate=false, for your code to work.
All the best!

質問済み:

2012 年 12 月 11 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by