prg_profile_create_bt()
Abstract
Creates a new, unattached profile.
Syntax
prg_profile_create_bt (x_units_str, y_units_str, start_time, base_name_str, length, entries_ptr)
| Argument | Type | Description |
|---|---|---|
x_units_str |
const char * |
Label for the x axis. |
y_units_str |
const char * |
Label for the y axis. |
start_time |
PrgT_Date |
Start time for the profile. |
base_name_str |
const char * |
Name for the profile. (If empty, a default name is assigned. |
length |
unsigned int |
Number of data entries in the profile. |
entries_ptr |
const PrgT_Profile_Data_Entry * |
Pointer to the first data entry of the profile. |
Return Type
PrgT_Profile_Handle
Handle to the new profile.
Header
prg_profile_funcs.h
Details
This function creates a new profile using the supplied information. You must use prg_profile_lib_profile_add() to attach the profile to a profile library before it can be used as an object attribute value.
Note: To get the functionality of the deprecated function prg_profile_create(), call this function with start_time set to PRGC_DATE_VALUE_UNDEFINED.