isMeasurementRunning
Indicate if measurement is active
Description
Examples
Verify if Configured Measurement List is Active
Set up a DAQ measurement list and start it. Verify if this list is running.
Create an XCP channel with a CAN server module.
a2l = xcpA2L('XCPSIM.a2l') xcpch = xcpChannel(a2lfile,'CAN','Vector','Virtual 1',1);
Set up a data acquisition measurement list with the '10
ms'
event and 'Bitslice'
measurement
and determine if the measurement is running.
createMeasurementList(xcpch,'DAQ','10 ms','BitSlice') isMeasurementRunning(xcpch)
ans = 0
Start your measurement and verify that the measurement is running.
startMeasurement(xcpch) isMeasurementRunning(xcpch)
ans = 1
Input Arguments
xcpch
— XCP channel
XCP channel object
XCP channel, specified as an XCP channel object created using xcpChannel
. The XCP channel object can then communicate with the
specified server module defined by the A2L file.
Version History
Introduced in R2013a
See Also
MATLAB-Befehl
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)