MATLAB XPC TARGET 4 - API GUIDE Guía de usuario Pagina 66

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 372
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 65
3 Signals and Parameters
3-30
3 Start running your target application. Type
+tg or tg.start or start(tg)
The target PC displays the following message:
System: execution started (sample time: 0.0000250)
4 Create a scope to be displayed on the target PC. For example, to create a
scope with an identifier of
2 and a scope object name of sc2, type
sc2=tg.addscope('file', 2) or sc2=addscope(tg, 'file', 2)
5 List the properties of the scope object. For example, to list the properties of
the scope object
sc2, type
sc2
The MATLAB window displays a list of the scope object properties. Notice
that the scope properties
StartTime, Time, and Data are not accessible with
a scope of type
target.
xPC Scope Object
Application = xpcosc
ScopeId = 2
Status = Interrupted
Type = File
NumSamples = 250
NumPrePostSamples = 0
Decimation = 1
TriggerMode = FreeRun
TriggerScope = 2
TriggerSample = 0
TriggerSignal = -1
TriggerLevel = 0.000000
TriggerSlope = Either
Signals = no Signals defined
StartTime = -1.000000
FileName = unset
Vista de pagina 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 371 372

Comentarios a estos manuales

Sin comentarios