MATLAB XPC TARGET 4 - API GUIDE Uživatelská příručka Strana 32

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 372
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 31
2 Targets and Scopes in the MATLAB Interface
2-14
For Scope 2, set the following values:
-
sc(2).ScopeId = 2
- sc(2).TriggerMode = 'Scope'
- sc(2).TriggerScope =1
- sc(2).TriggerSample = range 0 to (N + P - 1)
In the figures below, TP is the trigger point or sample where a trigger event
occurs. Scope 1 begins acquiring data as described.
In the simplest case, where
P = 0, Scope 1 acquires data right away.
“Pretriggering (P<0)” on page 2-14 illustrates the behavior if
P, the value of
NumPrePostSamples, is negative. In this case, Scope 1 starts acquiring data |P|
samples before
TP. Scope 2 begins to acquire data only after TP occurs.
Pretriggering (P<0)
“Posttriggering (P>0)” on page 2-15, illustrates the behavior if P, the value of
NumPrePostSamples, is positive. In this case, Scope 1 starts acquiring data |P|
samples after
TP occurs.
Zobrazit stránku 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 371 372

Komentáře k této Příručce

Žádné komentáře