Ok, I solved this problem like this.
uint64_t queuedCmdIndex;
uint64_t executedCmdIndex = 0;
bool isQueued = true;
PTPJointParams ptpJointParams={{200, 200, 200, 200}, {200, 200, 200, 200}};
PTPCommonParams ptpCommonParams={100, 100};
PTPCmd ptpCmd1={PTPMOVLXYZMode, 200, 0, 70, 0};
PTPCmd ptpCmd2={PTPMOVLXYZMode, 200, 50, 70, 0};
SetQueuedCmdStartExec();
SetPTPJointParams(&ptpJointParams, isQueued, &queuedCmdIndex);
SetPTPCommonParams(&ptpCommonParams, isQueued, &queuedCmdIndex);
SetPTPCmd(&ptpCmd1, isQueued, &queuedCmdIndex);
SetPTPCmd(&ptpCmd2, isQueued, &queuedCmdIndex);
while (executedCmdIndex < queuedCmdIndex)
{
GetQueuedCmdCurrentIndex(&executedCmdIndex);
GetPose(&pose);
}
SetQueuedCmdStopExec();
As a result, the position information can be displayed while the robot arm is moving.