MATLAB XPC TARGET 4 - API GUIDE Guide de l'utilisateur Page 66

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 372
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 371 372

Commentaires sur ces manuels

Pas de commentaire