Teledyne-lecroy Verification Script Engine (VSE) Manual Manuel d'utilisateur Page 87

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 115
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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 );
}
Vue de la page 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 114 115

Commentaires sur ces manuels

Pas de commentaire