Teledyne-lecroy Verification Script Engine (VSE) Manual Instrukcja Użytkownika Strona 87

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 115
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 86
Teledyne LeCroy Verification Script Engine Reference Manual
Page 87 of 115
17.4 GetPwrCurrentValue()
This function returns the captured value of the Current (in microampers) at the specified time.
Format: GetPwrCurrentValue( time )
Parameters:
time The VSE Time object representing a time at which the Current sample value
should be returned. Null value will be returned if power wasn’t caputured or time
is out of range.
Example:
start_time = GetTraceStartTime();
step = Time( 1, 0 ); # 1 second
# Prints out 5 samples of Current with 1 second step from the start of trace
for( i=0; i<5; i++ )
{
ReportText( FormatEx( "At time %s - Current: %d microampers",
TimeToText( start_time ), GetPwrCurrentValue( start_time ) ) );
start_time = AddTime( start_time, step );
}
Przeglądanie stron 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 114 115

Komentarze do niniejszej Instrukcji

Brak uwag