Control a third party GUI using Matlab

조회 수: 5 (최근 30일)
Ajay Kumar
Ajay Kumar 2011년 9월 8일
Is there a way to communicate with a third party GUI to select features listed on the GUI?
  댓글 수: 1
Ajay Kumar
Ajay Kumar 2011년 9월 8일
I plan to use a switcher that I purchased. It is a Kiethley 3706-S LXI model switcher. The company has come up with a solution for Matlab using the instrument control toolbox and R2008a and higher.
I have R2007a and no Instrument control Toolbox. I was hoping to see if there is a solution to control the switcher without having to upgrade or spend extra costs.
http://www.mathworks.com/matlabcentral/fileexchange/20000-keithley-3706-system-switch-%E2%80%93-driver

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2011년 9월 8일
Yes it is possible. Have a look at this guide and the other manuals here.
You will need to make an ethernet connection to the device, which is the main reason that the Instrument Control Toolbox is listed. But instead of the ICT you could probably download the MATLAB File Exchange contribution named "tcpudpip" which offers the same TCP interface.
The code contained within the #20000 download you linked to above is almost all just structured interface generation. Using the device without that interface would likely be less convenient, but it should be possible if you work through the documentation and write the interface yourself.
I have some experience with writing software interfaces to ethernet-connected devices. In my experience, sometimes the interface is very simple to write once you have established the TCP connection -- but if not, then while it might not exactly be "hard" to write, it often turns out to be tedious to write and debug and to uncover the undocumented design flaws and figure out how to program around them.
If you are familiar with working with TCP and familiar with talking to devices from MATLAB, and if the device interface happens to be straight-forward, then getting the data flowing might only be a day's work. But if those conditions do not hold, often it is more productive and more time-effective and more cost-effective to purchase the toolbox.
  댓글 수: 1
Ajay Kumar
Ajay Kumar 2011년 9월 8일
Thank you very much for the response. I have established a connection trough the Ethernet already. The challenging part now is for automation I should be using Matlab to directly interact with the device. I haven't had much experience in TCP. But, I have no other choice. I will do whatever it takes for me to make this work.
I shall try the alternative that you posted. Hope it works. Thank you again. Please let me know if you have any suggestions for me or reading material that can be helpful to me. Thanks

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Jan
Jan 2011년 9월 8일
Yes.
Please post any details, such that the answer can have any details, too.
  댓글 수: 1
Ajay Kumar
Ajay Kumar 2011년 9월 8일
Thank you for the response. Would you need any further details?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by