getCallbackDataForSignal
Syntax
Description
[
gets callback data from the target computer for a signal by using the block path and the
port index.time
,data
] = getCallbackDataForSignal(instrument_object
,event_data
,blockPath
,portIndex
,Name,Value
)
[
gets callback data from the target computer for a signal by using the signal name. The
time
,data
] = getCallbackDataForSignal(instrument_object
,event_data
,signalName
)eventData
for the callback shares all the new data available from the
target computer since the last time the callback was executed.
If you set values for the Decimation or
BusElement
input arguments when using the addSignal
function, a getCallbackDataForSignal
function call for that signal must set identical
values for these input arguments.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020b
See Also
Instrument
| addInstrumentedSignals
| addSignal
| clearScalarAndLineData
| connectCallback
| connectLine
| connectScalar
| delete
| generateScript
| getBufferedData
| removeCallback
| removeSignal
| validate