
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 );
}
Comentarios a estos manuales