findInstrument - Find and connect to instruments using the model or manufacturer name
obj = findInstrument('STR') returns an interface object to an instrument whose model name, vendor name or VISA resource matches any part of the string STR.
findInstrument requires the Instrument Control Toolbox™ and a VISA adaptor, and currently only works with USB and GPIB instruments.
--------------
EXAMPLES
(See the published MATLAB file for sample outputs)
% see a list of all the available instruments
findInstrument;
% find an instrument by model number
obj = findInstrument('34405');
fopen(obj)
query(obj,'*IDN?')
fclose(obj)
% find an instrument by model number, using Agilent VISA
obj = findInstrument('34405', 'agilent');
% find an instrument by model number and
% create a device object
obj = findInstrument('33120');
fgen = icdevice('agilent_33120a.mdd', obj);
% find an instrument by matching a manufacturer name
obj = findInstrument('tek');
% find an instrument by the model code in the VISA resource
obj = findInstrument('0x0618')
Citar como
Gautam Vallabha (2024). findInstrument - Find and connect to instruments using the model or manufacturer name (https://www.mathworks.com/matlabcentral/fileexchange/25593-findinstrument-find-and-connect-to-instruments-using-the-model-or-manufacturer-name), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Signal Processing > Signal Processing Toolbox > Signal Generation and Preprocessing > Waveform Generation >
- Test and Measurement > Instrument Control Toolbox > Instrument Control Toolbox Supported Hardware > DMM >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.