Move the graph position.
Ret = LoggerMoveGraphPos ( AppId , WindowNo , Axis, Distance )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by LoggerOpenApplication.
WindowNo [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
It should be fixed to 0.
Axis [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify the axis.
Value [Dec] |
Macro |
Description |
0 |
LOGGER_PARAM_AXIS_X |
X Axis (T Axis) |
1 |
LOGGER_PARAM_AXIS_Y |
Y Axis |
Distance [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Specify the amount of movement.
Move
to the right (or up) if the value is positive.
Move to the left (or down) if the value is negative.
status [ VB.NET: Integer ] [ C++: long * ] [ C#: out int ]
Specify the address where the status is stored.
Value [Dec] |
Macro |
Description |
0 |
LOGGER_STATUS_SUCCESS |
Normal completed |
1 |
LOGGER_STATUS_OVER |
Graph window channel active enable/disable is out of the configurable range. |
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Definition |
Return code [Dec] |
Description |
LOGGER_ERR_SUCCESS |
0 |
Normal completed |
LOGGER_ERR_INVALID_ID |
10010 |
Invalid AppId was specified. |
LOGGER_ERR_GRAPH_AXIS |
22001 |
Graph window axis is out of the configurable range. |
LOGGER_ERR_GRAPH_ZOOM |
22002 |
Graph window expansion direction is out of the configurable range. |
LOGGER_ERR_GRAPH_ZOOM_MAX |
22016 |
The graph window cannot be moved because its magnification is the maximum. |
LOGGER_ERR_GRAPH_MOVE |
22017 |
The graph window movement amount is outside the configurable range. |
The others (See also: Error Code List)
Nothing in particular.
Move the graph position.
Move the graph position 10 to the right.
VB.NET |
Dim Ret As Integer Ret = LoggerMoveGraphPos(AppId, 0, 1, LOGGER_PARAM_AXIS_X, 10, Status)
|
C++ |
long Ret; Ret = LoggerMoveGraphPos(AppId, 0, 1, LOGGER_PARAM_AXIS_X, 10, &Status);
|
C# |
int Ret; Ret = logger.MoveGraphPos(AppId, 0, 1, LOGGER_PARAM_AXIS_X, 10, out Status);
|