GPIB Manager class

버전 1.0.0.0 (59.1 KB) 작성자: Jakko de Jong
a matlab class to manage GPIB lab equipment
다운로드 수: 83
업데이트 날짜: 2016/11/21

라이선스 보기

Matlab class to check a gpib interface for all connected devices and read voltages from connected keithley multimeters and lockin amplifiers. This scripts was written primarily to check the availability of Keithley 2000 (2010) multimeters and Stanford Research Systems (SRS) lockin amplifiers, but can easily be expanded to control more laboratory equipment. The class provides a level of usability by checking user input for compatibility with the equipment and returning informative warnings and error messages. The class is a singleton, preventing the user from accidentally instantiating multiple objects that control the same gpib interface. Currently, GPIBManager only checks for gpib instruments on secondary address '0'. To check at another secondary address, modify the FindAll function by changing the secondary address in the 'address' string.
N.B.: Every time new equipment is (dis)connected, the UpdateConnections function should be run.

Functions:
getInstance - instantiate the GPIBManager object
FindAll - check and store connected equipment on a gpib interface.
InitKeithley - initialize keithley settings.
InitLockin - initialize lockin settings.
Open - open a visa-gpib connection with instruments.
CloseAll - close all gpib connections to all connected instruments.
ReadKeitleys - return a vector with the value of all connected keithleys.
ReadLockins - Return two vectors with the x/r and y/theta values of all connected lockins.
GetKeithleyNums - return a list with the gpib numbers of all connected keithleys.
GetLockinNums - return a list with the gpib numbers of all connected lockins.
GetEquipmentList - Return a list with equipment names.
UpdateConnections - Recheck all gpib ports and store connected instruments

A detailed description of all the class' functionality is provided by GPIBManager_matlab_class.pdf

인용 양식

Jakko de Jong (2024). GPIB Manager class (https://www.mathworks.com/matlabcentral/fileexchange/60328-gpib-manager-class), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Instrument Control Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0