RTP Series API Programming Reference  1.2.1
Display Functions

Functions

int EXPORT PwrSnsr_GetVerticalCenter (SessionID Vi, const char *Channel, float *VerticalCenter)
 Gets vertical center based on current units: arg = (range varies by units) More...
 
int EXPORT PwrSnsr_SetVerticalCenter (SessionID Vi, const char *Channel, float VerticalCenter)
 Sets vertical center based on current units: arg = (range varies by units) More...
 
int EXPORT PwrSnsr_GetVerticalScale (SessionID Vi, const char *Channel, float *VerticalScale)
 Gets vertical scale based on current units: arg = (range varies by units) More...
 
int EXPORT PwrSnsr_SetVerticalScale (SessionID Vi, const char *Channel, float VerticalScale)
 Sets vertical scale based on current units: arg = (range varies by units) More...
 

Detailed Description

Display functions

Function Documentation

◆ PwrSnsr_GetVerticalCenter()

int EXPORT PwrSnsr_GetVerticalCenter ( SessionID  Vi,
const char *  Channel,
float *  VerticalCenter 
)

Gets vertical center based on current units: arg = (range varies by units)

Parameters
ViThe SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session.
ChannelChannel number. For single instruments, set this to "CH1".
VerticalCenterVertical center in units
Returns
Success (0) or error code.

◆ PwrSnsr_GetVerticalScale()

int EXPORT PwrSnsr_GetVerticalScale ( SessionID  Vi,
const char *  Channel,
float *  VerticalScale 
)

Gets vertical scale based on current units: arg = (range varies by units)

Parameters
ViThe SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session.
ChannelChannel number. For single instruments, set this to "CH1".
VerticalScaleVertical scale in units
Returns
Success (0) or error code.

◆ PwrSnsr_SetVerticalCenter()

int EXPORT PwrSnsr_SetVerticalCenter ( SessionID  Vi,
const char *  Channel,
float  VerticalCenter 
)

Sets vertical center based on current units: arg = (range varies by units)

Parameters
ViThe SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session.
ChannelChannel number. For single instruments, set this to "CH1".
VerticalCenterVertical center in units
Returns
Success (0) or error code.

◆ PwrSnsr_SetVerticalScale()

int EXPORT PwrSnsr_SetVerticalScale ( SessionID  Vi,
const char *  Channel,
float  VerticalScale 
)

Sets vertical scale based on current units: arg = (range varies by units)

Parameters
ViThe SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session.
ChannelChannel number. For single instruments, set this to "CH1".
VerticalScaleVertical scale in units
Returns
Success (0) or error code.