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

  • 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 84
Teledyne LeCroy Verification Script Engine Reference Manual
Page 85 of 115
17.2 GetPwrPowerValue()
This function returns the captured value of the Power (in microwatts) at the specified time.
Format: GetPwrPowerValue( time )
Parameters:
time The VSE Time object representing a time at which the Power 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 Power with 1 second step from the start of trace
for( i=0; i<5; i++ )
{
ReportText( FormatEx( "At time %s - Power: %d microwatts",
TimeToText( start_time ), GetPwrPowerValue( start_time ) ) );
start_time = AddTime( start_time, step );
}
Vue de la page 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 114 115

Commentaires sur ces manuels

Pas de commentaire