Main Content

Generic Instrument Drivers

Communicate with instruments by creating a generic driver

Generic drivers allow the Instrument Control Toolbox™ to communicate with devices or software that do not use industry-standard drivers or protocols. You create a generic driver using the Instrument Driver Editor. See Writing a Generic Driver.


expand all

instrhwinfoInformation about available hardware
instridDefine and retrieve commands that identify instruments
icdeviceCreate device object
connectConnect device object to instrument
invokeExecute driver-specific function on device object
deviceresetReset instrument
selftestRun instrument self-test
geterrorCheck and return error message from instrument
dispDisplay instrument object summary information
getInstrument object properties
setConfigure or display instrument object properties
inspectOpen Property Inspector
methodsClass method names and descriptions
propinfoInstrument object property information
saveSave instrument objects and variables to MAT-file
loadLoad instrument objects and variables into MATLAB workspace
lengthLength of instrument object array
sizeSize of instrument object array
isvalidDetermine whether instrument objects are valid
obj2mfileConvert instrument object to MATLAB code
disconnectDisconnect device object from instrument
deleteRemove instrument objects from memory
clearRemove instrument objects from MATLAB workspace