| Instrument Control Toolbox | ![]() |
Base Properties
Base properties apply to all supported instrument objects (GPIB, VISA-VXI, and so on). For example, the Timeout property is supported for all instrument objects. The base properties are organized into the following categories based on usage.
Write Properties
BytesToOutputIndicate the number of bytes currently in the output buffer
OutputBufferSizeSpecify the size of the output buffer in bytes
TimeoutSpecify the waiting time to complete a read or write operation
TransferStatusIndicate if an asynchronous read or write operation is in progress
ValuesSentIndicate the total number of values written to the instrument
Read Properties
BytesAvailableIndicate the number of bytes available in the input buffer
InputBufferSizeSpecify the size of the input buffer in bytes
TimeoutSpecify the waiting time to complete a read or write operation
TransferStatusIndicate if an asynchronous read or write operation is in progress
ValuesReceivedIndicate the total number of values read from the instrument
Callback Properties
BytesAvailable
FcnSpecify the M-file callback function to execute when a specified number of bytes are available in the input buffer, or a terminator is read
BytesAvailable
FcnCountSpecify the number of bytes that must be available in the input buffer to generate a bytes-available event
BytesAvailable
FcnModeSpecify if the bytes-available event is generated after a specified number of bytes are available in the input buffer, or after a terminator is read
ErrorFcnSpecify the M-file callback function to execute when an error event occurs
OutputEmptyFcnSpecify the M-file callback function to execute when the output buffer is empty
TimerFcnSpecify the M-file callback function to execute when a predefined period of time passes
TimerPeriodSpecify the period of time between timer events
Recording Properties
RecordDetailSpecify the amount of information saved to a record file
RecordModeSpecify whether data and event information are saved to one record file or to multiple record files
RecordNameSpecify the name of the record file
RecordStatusIndicate if data and event information are saved to a record file
General Purpose Properties
ByteOrderSpecify the order in which the instrument stores bytes
NameSpecify a descriptive name for the instrument object
StatusIndicate if the instrument object is connected to the instrument
TagSpecify a label to associate with a instrument object
TypeIndicate the object type
UserDataSpecify data that you want to associate with a instrument object
| visa | Object-Specific Properties | ![]() |