Following the Class Behavior Model

National Instruments IVI Driver

Following the Class Behavior Model

Each IVI class driver defines a behavior model. The behavior model describes the relationships between the functions and attributes of the driver and the behavior of the instrument. The behavior model also describes the order of operations for configuring an instrument and controlling instrument operations. Follow the behavior model for each class to maximize the possibility of using your program with other instruments.

For example, the IviScope behavior model recommends that you fetch a waveform from the instrument after you have acquired it and before you reconfigure the instrument for the next acquisition. Some oscilloscopes destroy an acquired waveform each time you reconfigure them, so fetching prior to reconfiguration ensures that the acquired waveform is available. Other types of oscilloscopes do not destroy the acquired waveform each time you reconfigure them; however, you should follow the fetching recommendation of the behavior model so that your program can fetch acquired waveforms successfully from either type of oscilloscope.

LabVIEW Behavior Model LabWindows/CVI Behavior Model
IviDCPwr IviDCPwr
IviDmm IviDmm
IviFgen IviFgen
IviScope IviScope
IviSwtch IviSwtch