Data Acquisition Toolbox    

Events and Callbacks

You can enhance the power and flexibility of your analog output application by utilizing events. An event occurs at a particular time after a condition is met and might result in one or more callbacks.

While the analog output object is running, you can use events to display a message, display data, analyze data, and so on. Callbacks are controlled through callback properties and callback functions. All event types have an associated callback property. Callback functions are M-file functions that you construct to suit your specific data acquisition needs.

You execute a callback when a particular event occurs by specifying the name of the M-file callback function as the value for the associated callback property. Refer to Creating and Executing Callback Functions to learn how to create callback functions. Note that daqcallback is the default value for some callback properties.


  Device-Specific Hardware Triggers Event Types