Teledyne-lecroy Verification Script Engine (VSE) Manual Manual do Utilizador Página 86

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 115
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 85
Teledyne LeCroy Verification Script Engine Reference Manual
Page 86 of 115
17.3 GetPwrVoltageValue()
This function returns the captured value of the Voltage (in microvolts) at the specified time.
Format: GetPwrVoltageValue( time )
Parameters:
time The VSE Time object representing a time at which the Voltage 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 Voltage with 1 second step from the start of trace
for( i=0; i<5; i++ )
{
ReportText( FormatEx( "At time %s - Voltage: %d microvolts",
TimeToText( start_time ), GetPwrVoltageValue( start_time ) ) );
start_time = AddTime( start_time, step );
}
Vista de página 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 114 115

Comentários a estes Manuais

Sem comentários