EASY-ROB™ Application Programming Interface
v9.301
|
Method class, supplies dialogs, i.e. to enter and show values. More...
#include <ER_CAPI.H>
Static Public Member Functions | |
static ER_DllExport int | dialog_save_file (char *fln, char *dialog_title) |
Opens a dialog, for entering or selecting a file to save. More... | |
static ER_DllExport int | dialog_get_file (char *fln, char *dialog_title) |
Opens a dialog, for selecting an existing file. More... | |
static ER_DllExport int | dialog_get_file_ext (char *path, char *file, char *dialog_title) |
Opens a dialog, for selecting an existing file This method opens EASY-ROBs 'Selection Dialog' containing all files in folder path and with the extension defined temporarly in file As a result, file contains the complete selected file name.Remarks The parameter path must end with '\' sign. More... | |
static ER_DllExport int | dialog_edit_file (char *fln) |
Opens a file with an associated editor Opens a file with an associated editor. The editor is defined in the configuration file 'config.dat' i.e. EDIT= notepad Remarks If the given file does not exist, it is created. More... | |
static ER_DllExport int | dialog_start_device_manager (char *fln=NULL) |
Starts Device Manager to load a file The selceted file is loaded into EASY-ROB immediatly. More... | |
static ER_DllExport int | dialog_select (char *title, int n, int n_strt, char **ww, int dlg_mode=INPUT_LINE_SELECT_DEFAULT) |
Opens a Selection dialog This Dialog allows to select one of several items in the string array ww dlg_mode is a bitwise inclusive OR operator (|) ofINPUT_LINE_SELECT_DEFAULT - items are not sorted, but numerated INPUT_LINE_SELECT_NO_NUMBER - items are not numerated INPUT_LINE_SELECT_SORT - items are alphabetical sorted INPUT_LINE_SELECT_SORT_KEEP_FIRST - items are alphabetical sorted, but not the first item INPUT_LINE_SELECT_SORT_KEEP_LAST - items are alphabetical sorted, but not the last item. More... | |
static ER_DllExport int | dialog_checkbox (char *title, int n, char **ww, int *iv, char **ww_on=NULL, char **ww_off=NULL) |
Opens CheckBox dialog This Dialog allows to check or uncheck the status for several items in the string array ww . More... | |
static ER_DllExport int | dialog_values (char *title, int n, char **ww, float *v, float *vmin, float *vmax) |
Opens a Enter Value dialog This Dialog allows to enter the values for several items in the string array ww Remarks Set all data in vmin and vmax to zero, to disable boundaries. More... | |
static ER_DllExport int | dialog_string (char *title, int n, char **ww, char **v, int len) |
Opens dialog to enter strings This Dialog allows to enter the string v for several items in the string array ww . More... | |
static ER_DllExport int | dialog_string_single (char *title, char *header, char *footer, char *v, int len, int pw=0) |
Opens dialog to enter a single string This Dialog allows to enter a string v . More... | |
static ER_DllExport int | dialog_frame (char *title, frame *T) |
Opens a Frame dialog This Dialog allows to enter a frame T A frame FRAME is a homogeneous 4x4 transformation matrix. . More... | |
static ER_DllExport int | dialog_frame_ex (char *title, frame *T, int grfupdate, void(*callback_fct)(void *vptr), void *vptr) |
Opens a Frame dialog with callback function This Dialog allows to enter a frame T If grfupdate is 1, the GrfUpdate button is activated.Each click on that button will call the callback function callback_fct with the callback function paramter vptr .A frame FRAME is a homogeneous 4x4 transformation matrix. More... | |
static ER_DllExport int | dialog_yes_no (char *title) |
Opens a Yes/No dialog. More... | |
static ER_DllExport int | dialog_color (char *title, int *color_idx) |
Opens a Color dialog This Dialog allows select a color color_idx The color_idx can be one of the following values.ER_BLACK, ER_BLUE, ER_GREEN, ER_CYAN, ER_RED, ER_MAGENTA, ER_ORANGE, ER_LGRAY, ER_GRAY, ER_LBLUE, ER_LGREEN, ER_LCYAN, ER_LRED, ER_VIOLETT, ER_YELLOW, ER_WHITE, or an 7 Bit based RGB color index. More... | |
static ER_DllExport int | dialog_open (int dialog_idx, int dlg_mode) |
Opens an EASY-ROB non modal dialog The method allows to open or close non modal dialog or request its current status The dialog_idx can be one of the following values.Online_Output_Data_DLG - open/close another output data dialog Program_Window_DLG - open/close non modal program window dialog Teach_Window_DLG - open/close non modal teach dialog Jog_Window_DLG - open/close non modal jog window dialog Tag_Window_DLG - open/close non modal tag window dialog Navigator_Window_DLG - open/close non modal navigator window dialog _3D_CAD_Window_DLG - open/close non modal 3d_cad window dialog Kinematics_Window_DLG - open/close non modal kineamtics window dialog Message_Window_DLG - open/close non modal message window dialog Remote_Control_DLG - open/close non modal remote control dialog Sensor_Interface_DLG - open/close non modal sensor interface window dialog Api_User_Dll_DLG - open modal dialog to select API UserDLL to start ER_PlugIn_dll_DLG - open modal dialog to select ER_PlugIn to start AVI_Recorder_DLG - open non modal avi recorder dialog (ER_PlugIn) VRML_97_Export_DLG - open non modal vrml export dialog (ER_PlugIn) CAD_IMPORT_DLG - open/close non modal cad import dialog AUTOPATH_MOP_DLG - open/close non modal auto path motion planner dialog _3D_PDF_Export_DLG - open/close non modal 3D Pdf Export dialog CAD_TO_PATH_INTERFACE_DLG - open/close non modal CAD-to-Path Interface dialog The dlg_mode can be one of the following values.DLG_Mode_Close - close non modal dialog DLG_Mode_Open - open non modal dialog DLG_Mode_Status - ask current status of non modal dialog. More... | |
static ER_DllExport int | dialog_open_ext (int dialog_idx, int dlg_mode, int param=0, int chk_ext=-1) |
Opens an EASY-ROB non modal dialog The method allows to open or close non modal dialog or request its current status The dialog_idx can be one of the following values.Online_Output_Data_DLG - open/close another output data dialog Program_Window_DLG - open/close non modal program window dialog Teach_Window_DLG - open/close non modal teach dialog Jog_Window_DLG - open/close non modal jog window dialog Tag_Window_DLG - open/close non modal tag window dialog Navigator_Window_DLG - open/close non modal navigator window dialog _3D_CAD_Window_DLG - open/close non modal 3d_cad window dialog Kinematics_Window_DLG - open/close non modal kineamtics window dialog Message_Window_DLG - open/close non modal message window dialog Remote_Control_DLG - open/close non modal remote control dialog Sensor_Interface_DLG - open/close non modal sensor interface window dialog Api_User_Dll_DLG - open modal dialog to select API UserDLL to start ER_PlugIn_dll_DLG - open modal dialog to select ER_PlugIn to start AVI_Recorder_DLG - open non modal avi recorder dialog (ER_PlugIn) VRML_97_Export_DLG - open non modal vrml export dialog (ER_PlugIn) CAD_IMPORT_DLG - open/close non modal cad import dialog AUTOPATH_MOP_DLG - open/close non modal auto path motion planner dialog _3D_PDF_Export_DLG - open/close non modal 3D Pdf Export dialog CAD_TO_PATH_INTERFACE_DLG - open/close non modal CAD-to-Path Interface dialog The dlg_mode can be one of the following values.DLG_Mode_Close - close non modal dialog DLG_Mode_Open - open non modal dialog DLG_Mode_Status - ask current status of non modal dialog param and chk_ext are an individual parameter when opening a dialog. More... | |
static ER_DllExport int | moni_msg (char *fmt,...) |
Output into the message file moni_msg.txt. More... | |
static ER_DllExport void | moni_T (char *s, frame *T) |
Frame output into the message file moni_msg.txt. More... | |
static ER_DllExport void | moni_v (char *s, float *v, int n, float scal) |
Vector output into the message file moni_msg.txt. More... | |
static ER_DllExport void | moni_lv (char *s, double *v, int n, float scal) |
Vector output into the message file moni_msg.txt. More... | |
static ER_DllExport void | moni_i (char *s, int *v, int n) |
Vector output into the message file moni_msg.txt. More... | |
static ER_DllExport void | moni_s (char *s, short *v, int n) |
Vector output into the message file moni_msg.txt. More... | |
static ER_DllExport void | ErrorExitBox (char *s) |
Show Error Message Box with MB_OK button and MB_ICONSTOP icon and MB_SYSTEMMODAL. More... | |
static ER_DllExport void | MsgBox (char *s) |
Show Message Box with MB_OK button and MB_ICONSTOP icon. More... | |
static ER_DllExport int | AfxMessageBox (char *s, unsigned int nType=MB_ICONSTOP) |
Show Message Box Parameter mb represents the style of the message box and is a combination ofMB_OK, MB_OKCANCEL, MB_YESNOCANCEL, MB_YESNO, MB_RETRYCANCEL, MB_DEFBUTTON1, MB_DEFBUTTON2, MB_DEFBUTTON3, MB_DEFBUTTON4, MB_ICONSTOP, MB_ICONINFORMATION, MB_ICONEXCLAMATION, MB_ICONQUESTION, MB_YESNO, MB_APPLMODAL, MB_SYSTEMMODAL, MB_TASKMODAL. More... | |
static ER_DllExport void | _info_line (int mode, char *s) |
String output into Information Dialog if Message Window is closed The output identifier mode can have one of the following values0 add message to Information Dialog -1 clear all messages in the Information Dialog -2 show all messages in the Information Dialog. More... | |
static ER_DllExport int | _info_line_msg (int moni, char *fmt,...) |
Output into Message Window, same as printf(...) If parameter moni is 1, the output is appended to the monitoring file moni_msg.txt . More... | |
static ER_DllExport int | _info_line_msg_i (int moni, char *s, int *vi, int n, int scal) |
int Vector output into Message Window If parameter moni is 1, the output is appended to the monitoring file moni_msg.txt More... | |
static ER_DllExport int | _info_line_msg_v (int moni, char *s, float *v, int n, float scal) |
float Vector output into Message Window If parameter moni is 1, the output is appended to the monitoring file moni_msg.txt More... | |
static ER_DllExport int | _info_line_msg_lv (int moni, char *s, double *v, int n, double scal) |
double Vector output into Message Window If parameter moni is 1, the output is appended to the monitoring file moni_msg.txt More... | |
static ER_DllExport int | _info_line_msg_M (int moni, char *s, float *M, int n, int m, float scal=1) |
float Matrix (nxm) output into Message Window If parameter moni is 1, the output is appended to the monitoring file moni_msg.txt More... | |
static ER_DllExport int | _info_line_msg_lM (int moni, char *s, double *M, int n, int m, double scal=1) |
double Matrix (nxm) output into Message Window If parameter moni is 1, the output is appended to the monitoring file moni_msg.txt More... | |
static ER_DllExport int | _info_line_msg_T (int moni, char *s, frame *T) |
Frame output into Message Window If parameter moni is 1, the output is appended to the monitoring file moni_msg.txt . More... | |
static ER_DllExport int | _info_line_msg_T_vec (int moni, char *s, frame *T) |
Frame output into Message Window as Vector Pxyz, Rxyz If parameter moni is 1, the output is appended to the monitoring file moni_msg.txt . More... | |
static ER_DllExport int | _info_line_msg_q (int moni, char *s, float *q, int no_auto_scal=0) |
Vector output into Message Window, for each joint of current robot, scaled by DEG or m2mm If parameter moni is 1, the output is appended to the monitoring file moni_msg.txt If parameter no_auto_scal is 0 (default), auto scaling is enabled.In case of auto scaling, rotational joint data are converted to [deg] and translational data are converted to [mm]. If parameter no_auto_scal is 1, auto scaling is disabled. the output is in internal units, [rad] or [m]. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from ER_CAPI_USER_IO | |
static ER_CAPI_USER_IO_FILE | er_capi_user_io_file |
Method class to load and save work cells-, robots-, tool-files, etc. More... | |
static ER_CAPI_USER_IO_DIALOG | er_capi_user_io_dialog |
Method class, supplies dialogs, i.e. to enter and show values. More... | |
static ER_CAPI_USER_IO_PICK | er_capi_user_io_pick |
Method class to "pick" objects such as devices, tags, polygon, vertices, measure distances, ... More... | |
static ER_CAPI_USER_IO_CRUISE | er_capi_user_io_cruise |
Method class to manipulate the 3D Scene. More... | |
static ER_CAPI_USER_IO_3DPDF | er_capi_user_io_3dpdf |
Method class for 3D Pdf Export. More... | |
Static Public Attributes inherited from ER_CAPI | |
static ER_CAPI_USER_IO | er_capi_user_io |
Method class for interaction with EASY-ROB. More... | |
static ER_CAPI_DEVICES | er_capi_devices |
Method class to create, attach, update devices, for kinematics calculations and for trajectory planning and -execution. More... | |
static ER_CAPI_SIM | er_capi_sim |
Method class for simulation settings. More... | |
static ER_CAPI_TARGETS | er_capi_targets |
Method class for paths and tags. More... | |
static ER_CAPI_CAD | er_capi_cad |
Method class for for 3D CAD Data import and -export, changing attributes and positions. More... | |
static ER_CAPI_SYS | er_capi_sys |
Method class for mathematical calculations, simulation status, units. More... | |
Method class, supplies dialogs, i.e. to enter and show values.
|
static |
String output into Information Dialog if Message Window is closed
The output identifier mode
can have one of the following values
0 add message to Information Dialog
-1 clear all messages in the Information Dialog
-2 show all messages in the Information Dialog.
[in] | mode | output identifier |
[in] | s | message text |
|
static |
Output into Message Window, same as printf(...)
If parameter moni
is 1, the output is appended to the monitoring file moni_msg.txt
.
[in] | moni | =0 - output is displayed in the message window only |
[in] | fmt | format specification |
n | - number of characters |
|
static |
int Vector output into Message Window
If parameter moni
is 1, the output is appended to the monitoring file moni_msg.txt
[in] | moni | =0 - output is displayed in the message window only |
[in] | s | Text |
[in] | vi | Vector, int |
[in] | n | size of vi |
[in] | scal | scaling value |
0 | - ER_OK |
|
static |
double Matrix (nxm) output into Message Window
If parameter moni
is 1, the output is appended to the monitoring file moni_msg.txt
[in] | moni | =0 - output is displayed in the message window only |
[in] | s | Text |
[in] | M | nxm Matrix, double |
[in] | n | number rows of M |
[in] | m | number of columns of M |
[in] | scal | scaling value |
0 | - ER_OK |
|
static |
double Vector output into Message Window
If parameter moni
is 1, the output is appended to the monitoring file moni_msg.txt
[in] | moni | =0 - output is displayed in the message window only |
[in] | s | Text |
[in] | v | Vector, double |
[in] | n | size of v |
[in] | scal | scaling value |
0 | - ER_OK |
|
static |
float Matrix (nxm) output into Message Window
If parameter moni
is 1, the output is appended to the monitoring file moni_msg.txt
[in] | moni | =0 - output is displayed in the message window only |
[in] | s | Text |
[in] | M | nxm Matrix, float |
[in] | n | number rows of M |
[in] | m | number of columns of M |
[in] | scal | scaling value |
0 | - ER_OK |
|
static |
Vector output into Message Window, for each joint of current robot, scaled by DEG or m2mm
If parameter moni
is 1, the output is appended to the monitoring file moni_msg.txt
If parameter no_auto_scal
is 0 (default), auto scaling is enabled.
In case of auto scaling, rotational joint data are converted to [deg] and translational data are converted to [mm]. If parameter no_auto_scal
is 1, auto scaling is disabled. the output is in internal units, [rad] or [m].
[in] | moni | =0 - output is displayed in the message window only |
[in] | s | Text |
[in] | q | current Robot joints |
[in] | no_auto_scal | =0 - enable auto scaling, =1 - disable auto scaling |
0 | - ER_OK |
|
static |
|
static |
|
static |
float Vector output into Message Window
If parameter moni
is 1, the output is appended to the monitoring file moni_msg.txt
[in] | moni | =0 - output is displayed in the message window only |
[in] | s | Text |
[in] | v | Vector, float |
[in] | n | size of v |
[in] | scal | scaling value |
0 | - ER_OK |
|
static |
Show Message Box
Parameter mb
represents the style of the message box and is a combination of
MB_OK, MB_OKCANCEL, MB_YESNOCANCEL, MB_YESNO, MB_RETRYCANCEL,
MB_DEFBUTTON1, MB_DEFBUTTON2, MB_DEFBUTTON3, MB_DEFBUTTON4,
MB_ICONSTOP, MB_ICONINFORMATION, MB_ICONEXCLAMATION, MB_ICONQUESTION, MB_YESNO,
MB_APPLMODAL, MB_SYSTEMMODAL, MB_TASKMODAL.
[in] | s | Message text |
[in] | nType | The style of the message box |
1 | - IDOK - The OK button was selected. |
2 | - IDCANCEL - The Cancel button was selected. |
3 | - IDABORT - The Abort button was selected. |
4 | - IDRETRY - The Retry button was selected. |
5 | - IDIGNORE - The Ignore button was selected. |
6 | - IDYES - The Yes button was selected. |
7 | - IDNO - The No button was selected. |
|
static |
Opens CheckBox dialog
This Dialog allows to check or uncheck the status for
several items in the string array ww
.
[in] | title | dialog title |
[in] | n | number of items |
[in] | ww | array of strings , size n |
[in] | iv | array of item status to check or uncheck, size n |
[in] | ww_on | array of strings when item checked, size n |
[in] | ww_off | array of strings when item unchecked, size n |
1 | - OK |
-1 | - ER_CANCEL, dialog cancelled |
|
static |
Opens a Color dialog
This Dialog allows select a color color_idx
The color_idx
can be one of the following values.
ER_BLACK, ER_BLUE, ER_GREEN, ER_CYAN,
ER_RED, ER_MAGENTA, ER_ORANGE, ER_LGRAY,
ER_GRAY, ER_LBLUE, ER_LGREEN, ER_LCYAN,
ER_LRED, ER_VIOLETT, ER_YELLOW, ER_WHITE,
or an 7 Bit based RGB color index.
[in] | title | dialog title |
[out] | color_idx | color index |
1 | - OK |
-1 | - ER_CANCEL, dialog cancelled |
|
static |
Opens a file with an associated editor
Opens a file with an associated editor. The editor is defined in the configuration file 'config.dat'
i.e. EDIT= notepad
Remarks
If the given file does not exist, it is created.
[in] | fln | file to open |
0 | - ER_OK |
|
static |
|
static |
Opens a Frame dialog with callback function
This Dialog allows to enter a frame T
If grfupdate
is 1, the GrfUpdate button is activated.
Each click on that button will call the callback function callback_fct
with the callback function paramter vptr
.
A frame FRAME is a homogeneous 4x4 transformation matrix.
[in] | title | dialog title |
[out] | T | homegeneous matrix FRAME |
[in] | grfupdate | 1-enable GrfUpdate button, 0-disable |
[in] | callback_fct | callback function pointer |
[in] | vptr | pointer to callback function parameter |
1 | - OK |
-1 | - ER_CANCEL, dialog cancelled |
|
static |
Opens a dialog, for selecting an existing file.
[out] | fln | selected file |
[in] | dialog_title | Title of Dialog |
1 | - OK, file selected |
-1 | - ER_CANCEL, dialog cancelled |
|
static |
Opens a dialog, for selecting an existing file
This method opens EASY-ROBs 'Selection Dialog' containing all files in folder path
and with the extension defined temporarly in file
As a result, file
contains the complete selected file name.
Remarks
The parameter path
must end with '\' sign.
[in] | path | folder name of interest file |
[out] | file | complete selected file |
[in] | dialog_title | Title of Dialog |
1 | - OK, file selected |
-1 | - ER_CANCEL, dialog cancelled |
|
static |
Opens an EASY-ROB non modal dialog
The method allows to open or close non modal dialog or request its current status
The dialog_idx
can be one of the following values.
Online_Output_Data_DLG - open/close another output data dialog
Program_Window_DLG - open/close non modal program window dialog
Teach_Window_DLG - open/close non modal teach dialog
Jog_Window_DLG - open/close non modal jog window dialog
Tag_Window_DLG - open/close non modal tag window dialog
Navigator_Window_DLG - open/close non modal navigator window dialog
_3D_CAD_Window_DLG - open/close non modal 3d_cad window dialog
Kinematics_Window_DLG - open/close non modal kineamtics window dialog
Message_Window_DLG - open/close non modal message window dialog
Remote_Control_DLG - open/close non modal remote control dialog
Sensor_Interface_DLG - open/close non modal sensor interface window dialog
Api_User_Dll_DLG - open modal dialog to select API UserDLL to start
ER_PlugIn_dll_DLG - open modal dialog to select ER_PlugIn to start
AVI_Recorder_DLG - open non modal avi recorder dialog (ER_PlugIn)
VRML_97_Export_DLG - open non modal vrml export dialog (ER_PlugIn)
CAD_IMPORT_DLG - open/close non modal cad import dialog
AUTOPATH_MOP_DLG - open/close non modal auto path motion planner dialog
_3D_PDF_Export_DLG - open/close non modal 3D Pdf Export dialog
CAD_TO_PATH_INTERFACE_DLG - open/close non modal CAD-to-Path Interface dialog The dlg_mode
can be one of the following values.
DLG_Mode_Close - close non modal dialog
DLG_Mode_Open - open non modal dialog
DLG_Mode_Status - ask current status of non modal dialog.
[in] | dialog_idx | Identifier of the dialog |
[in] | dlg_mode | Dialog request |
0 | - Dialog status is closed |
1 | - Dialog status is open |
-1 | - Fail, Error |
|
static |
Opens an EASY-ROB non modal dialog
The method allows to open or close non modal dialog or request its current status
The dialog_idx
can be one of the following values.
Online_Output_Data_DLG - open/close another output data dialog
Program_Window_DLG - open/close non modal program window dialog
Teach_Window_DLG - open/close non modal teach dialog
Jog_Window_DLG - open/close non modal jog window dialog
Tag_Window_DLG - open/close non modal tag window dialog
Navigator_Window_DLG - open/close non modal navigator window dialog
_3D_CAD_Window_DLG - open/close non modal 3d_cad window dialog
Kinematics_Window_DLG - open/close non modal kineamtics window dialog
Message_Window_DLG - open/close non modal message window dialog
Remote_Control_DLG - open/close non modal remote control dialog
Sensor_Interface_DLG - open/close non modal sensor interface window dialog
Api_User_Dll_DLG - open modal dialog to select API UserDLL to start
ER_PlugIn_dll_DLG - open modal dialog to select ER_PlugIn to start
AVI_Recorder_DLG - open non modal avi recorder dialog (ER_PlugIn)
VRML_97_Export_DLG - open non modal vrml export dialog (ER_PlugIn)
CAD_IMPORT_DLG - open/close non modal cad import dialog
AUTOPATH_MOP_DLG - open/close non modal auto path motion planner dialog
_3D_PDF_Export_DLG - open/close non modal 3D Pdf Export dialog
CAD_TO_PATH_INTERFACE_DLG - open/close non modal CAD-to-Path Interface dialog The dlg_mode
can be one of the following values.
DLG_Mode_Close - close non modal dialog
DLG_Mode_Open - open non modal dialog
DLG_Mode_Status - ask current status of non modal dialog
param
and chk_ext
are an individual parameter when opening a dialog.
[in] | dialog_idx | Identifier of the dialog |
[in] | dlg_mode | Dialog request |
[in] | param | individual parameter for DLG_Mode_Open |
[in] | chk_ext | showing extended data, one of [-1,0,1] for DLG_Mode_Open |
0 | - Dialog status is closed |
1 | - Dialog status is open |
-1 | - Fail, Error |
|
static |
Opens a dialog, for entering or selecting a file to save.
[in,out] | fln | file to save |
[in] | dialog_title | Title of Dialog |
1 | - OK, file selected |
0 | - no file selected |
|
static |
Opens a Selection dialog
This Dialog allows to select one of several items in the string array ww
dlg_mode
is a bitwise inclusive OR operator (|) of
INPUT_LINE_SELECT_DEFAULT - items are not sorted, but numerated
INPUT_LINE_SELECT_NO_NUMBER - items are not numerated
INPUT_LINE_SELECT_SORT - items are alphabetical sorted
INPUT_LINE_SELECT_SORT_KEEP_FIRST - items are alphabetical sorted, but not the first item
INPUT_LINE_SELECT_SORT_KEEP_LAST - items are alphabetical sorted, but not the last item.
[in] | title | - Dialog title |
[in] | n | - Number of items |
[in] | n_strt | - Pre selected item [1..n] |
[in] | ww | - Array of n strings |
[in] | dlg_mode | - Dialog mode |
is | - selected Item [0..n-1] |
-1 | - ER_CANCEL, dialog cancelled |
|
static |
|
static |
Opens dialog to enter strings
This Dialog allows to enter the string v
for several items in the string array ww
.
[in] | title | dialog title |
[in] | n | number of items |
[in] | ww | array of n strings |
[in,out] | v | string values to modify, size n |
[in] | len | maximum length for each v |
1 | - OK |
-1 | - ER_CANCEL, dialog cancelled |
|
static |
Opens dialog to enter a single string
This Dialog allows to enter a string v
.
[in] | title | dialog title |
[in] | header | dialog header information |
[in] | footer | dialog footer information |
[in,out] | v | string value to modify |
[in] | len | maximum length for each v |
[in] | pw | password, hide text if true |
1 | - OK |
-1 | - ER_CANCEL, dialog cancelled |
|
static |
Opens a Enter Value dialog
This Dialog allows to enter the values for
several items in the string array ww
Remarks
Set all data in vmin
and vmax
to zero, to disable boundaries.
[in] | title | dialog title |
[in] | n | number of items |
[in] | ww | array of n strings |
[in] | v | values to modify, size n |
[in] | vmin | lower bound of values, size n |
[in] | vmax | upper bound of values, size n |
1 | - OK |
-1 | - ER_CANCEL, dialog cancelled |
|
static |
Opens a Yes/No dialog.
[in] | title | dialog title |
0 | - No |
1 | - Yes |
|
static |
Show Error Message Box with MB_OK button and MB_ICONSTOP icon and MB_SYSTEMMODAL.
[in] | s | Error text |
|
static |
Vector output into the message file moni_msg.txt.
[in] | s | Text |
[in] | v | Vector, int |
[in] | n | size of v |
|
static |
Vector output into the message file moni_msg.txt.
[in] | s | Text |
[in] | v | Vector, double |
[in] | n | size of v |
[in] | scal | scaling value |
|
static |
Output into the message file moni_msg.txt.
[in] | fmt | format specification |
n | - number of characters |
|
static |
Vector output into the message file moni_msg.txt.
[in] | s | Text |
[in] | v | Vector, short |
[in] | n | size of v |
|
static |
Frame output into the message file moni_msg.txt.
[in] | s | Text |
[in] | T | homegeneous matrix FRAME |
|
static |
Vector output into the message file moni_msg.txt.
[in] | s | Text |
[in] | v | Vector, float |
[in] | n | size of v |
[in] | scal | scaling value |
|
static |
Show Message Box with MB_OK button and MB_ICONSTOP icon.
[in] | s | Message text |