Ets_An_Panel_Start_Date_Time_Set()
Note: Requires OPNET Development Kit
Abstract
Sets the start date and time for an analysis panel.
Syntax
Ets_An_Panel_Start_Date_Time_Set (an_panel_handle, time)
| Argument | Type | Description |
|---|---|---|
an_panel_handle |
EtsT_An_Panel_Handle |
Analysis panel of interest. |
time |
PrgT_Date |
Start date and time to set for the panel. |
Return Type
void
No return value.
Header
ets_api_an_panel.h
Details
an_panel_handle must be a valid handle returned by a previous call to Ets_An_Panel_Create(). The panel must have been created with the time_mode argument set to EtsC_An_Panel_Date_Time. If the panel is not in date and time mode, a recoverable error occurs.
time must be given as the number of seconds since midnight on 1 January 1970 Greenwich Mean Time (GMT). If you generate time from local time using prg_date_from_string_convert(), you must also convert to GMT with prg_date_offset_add() before calling this function.
If the analysis panel’s dialog box has been installed and is visible, this function refreshes the panel after setting the date and time.