RTP Series API Programming Reference  1.2.1
Time Base Functions

Functions

EXPORT int PwrSnsr_GetTimebase (SessionID Vi, float *Timebase)
 Get the Pulse Mode timebase in seconds/division. (10 divisions = 1 trace) Value = 5e-9 to 10e-3 (or max timebase) sec in a 1-2-5 sequence,. More...
 
EXPORT int PwrSnsr_SetTimebase (SessionID Vi, float Timebase)
 Set the Pulse Mode timebase in seconds/division. (10 divisions = 1 trace) Value = 5e-9 to 10e-3 sec (or max timebase) in a 1-2-5 sequence,. More...
 
EXPORT int PwrSnsr_SetTimespan (SessionID Vi, float Timespan)
 Set the horizontal time span of the trace in pulse mode. Time span = 10* Time/Division. Value = 5e-8 to 100e-3 sec in a 1-2-5 sequence. More...
 
EXPORT int PwrSnsr_GetTimespan (SessionID Vi, float *Timespan)
 Get the horizontal time span of the trace in pulse mode. Time span = 10* Time/Division. Value = 5e-8 to 100e-3 sec in a 1-2-5 sequence. More...
 
EXPORT int PwrSnsr_GetMaxTimebase (SessionID Vi, float *MaxTimebase)
 Gets the maximum timebase setting available. More...
 

Detailed Description

Time base and span functions

Function Documentation

◆ PwrSnsr_GetMaxTimebase()

EXPORT int PwrSnsr_GetMaxTimebase ( SessionID  Vi,
float *  MaxTimebase 
)

Gets the maximum timebase setting available.

Parameters
ViThe SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session.
MaxTimebase
Returns
Success (0) or error code.

◆ PwrSnsr_GetTimebase()

EXPORT int PwrSnsr_GetTimebase ( SessionID  Vi,
float *  Timebase 
)

Get the Pulse Mode timebase in seconds/division. (10 divisions = 1 trace) Value = 5e-9 to 10e-3 (or max timebase) sec in a 1-2-5 sequence,.

Parameters
ViThe SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session.
Timebase
Returns
Success (0) or error code.

◆ PwrSnsr_GetTimespan()

EXPORT int PwrSnsr_GetTimespan ( SessionID  Vi,
float *  Timespan 
)

Get the horizontal time span of the trace in pulse mode. Time span = 10* Time/Division. Value = 5e-8 to 100e-3 sec in a 1-2-5 sequence.

Parameters
ViThe SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session.
Timespan
Returns
Success (0) or error code.

◆ PwrSnsr_SetTimebase()

EXPORT int PwrSnsr_SetTimebase ( SessionID  Vi,
float  Timebase 
)

Set the Pulse Mode timebase in seconds/division. (10 divisions = 1 trace) Value = 5e-9 to 10e-3 sec (or max timebase) in a 1-2-5 sequence,.

Parameters
ViThe SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session.
Timebase
Returns
Success (0) or error code.

◆ PwrSnsr_SetTimespan()

EXPORT int PwrSnsr_SetTimespan ( SessionID  Vi,
float  Timespan 
)

Set the horizontal time span of the trace in pulse mode. Time span = 10* Time/Division. Value = 5e-8 to 100e-3 sec in a 1-2-5 sequence.

Parameters
ViThe SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session.
Timespan
Returns
Success (0) or error code.