kernelv_get_active_g_group()
Prototype
signed short | kernelv_get_active_g_group (ACTIVE_G_CODES* pGCodes, |
Description
Receives a structure of type ACTIVE_G_CODES and returns the content of the group specified in E_KERNELV_G_GROUP_TYPE.
Utility function to evaluate the structure returned by kernelv_ch_get_active_g_codes().
Parameter
Name | Type | Meaning |
pGCodes | ACTIVE_G_ | Pointer to the structure from which a G group is to be read. |
Type | E_KERNELV_ | Type ID of the G group which is to be read. |
Return values
short int: Active G function of the requested group or -1 if no valid value is entered in the requested group.