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 CenterFile Exchange에서 Instrument Connection and Communication에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by