VXIPNP - Matlab instrument driver

4 ビュー (過去 30 日間)
ralphie02
ralphie02 2011 年 2 月 24 日
Hi Everyone,
I need help on using Agilent 8164A (81635a - sensor, 81682a - source). I am trying to execute a lambda sweep that scans through a specified range of lambda and record the corresponding power (in db). then i need to plot lambda vs power.
I downloaded the driver from agilent and I imported the driver to matlab using midedit already as seen below:
obj = icdevice('hp816x.mdd','GPIB0::20::INSTR')
connect(obj)
after this, i tried using the functions in the driver but it doesnt seem to respond. To be honest, I havent tried enough testing or read enough manual to figure out how to use the driver functions through instrument control toolbox.
in my defence, I have been really busy and I havent been to the lab to try it out.....If anyone knows how to do this please let me know or send me a link of a manual that i can read to figure it out....
Thanks,
Ralph

回答 (1 件)

Ankit Desai
Ankit Desai 2011 年 4 月 15 日
To check that you have the basic setup correct, you might want to follow the online demo that shows how to use Instrument Control Toolbox to connect to an instrument using a VXIPlug&Play driver.
I was unable to find the VXIPnP driver for the instrument you listed but you can refer to the help installed along with the VXIPlug&Play driver to learn more about which function to call with what parameters.
If that does work for you, you can also try using a GPIB object and communicate using the instrument's SCPI commands. Here's an example that shows how to create and communicate using GPIB object. The programming manual for the instrument that lists all the SCPI commands can be found here.
Hope this helps,
-Ankit

カテゴリ

Help Center および File ExchangeInstrument Control Toolbox Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by