Cannot connect the AGILENT oscilloscope after creation of the device object
Info
This question is closed. Reopen it to edit or answer.
Show older comments
i have created an interface object and when i click connect it has connected and i could be able to send commands and read from the instrument using *tmtool* .
But when i tried to create device object there showed two IVI drivers IVI com and IVI C, if i try creating a device object using IVI C i cannot do that the error i got is " A 'selected' Compiler was not found. You may need to run mex-set up".
But i was able to create device object using ivi com driver. but after creating the device object if i click connect i got the error msg " Unable to connect to the instrument"
Please help on this issue.....
7 Comments
Walter Roberson
on 26 Nov 2012
Did you try installing a compiler and running
mex -setup
Vijith Natarajan
on 26 Nov 2012
Edited: Vijith Natarajan
on 26 Nov 2012
Walter Roberson
on 26 Nov 2012
"mex" is a program that knows how to compile C code to be callable from MATLAB. It is not a compiler itself: it is a program that knows which options to give to compilers and how to link everything together. You will need a C or C++ compiler; the version of the C or C++ compiler to use will depend upon which MATLAB version to use.
I do not know why IVI COM did not work. COM driver might need to be registered? Whatever the reason, if you can get IVI C working then the reason the COM did not work becomes unimportant for your purposes.
Vijith Natarajan
on 26 Nov 2012
Edited: Vijith Natarajan
on 26 Nov 2012
Vijith Natarajan
on 27 Nov 2012
Walter Roberson
on 27 Nov 2012
I do not have a copy of the T&M toolbox, and I do not have one of those Oscilloscopes, so I do not have any way to test out ideas.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!