kernelv_get_active_g_group()

Prototype

short

GetActiveGGroup(ref ACTIVE_G_CODES gCodes, E_KERNELV_G_GROUP_TYPE type));

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

gCodes

ref ACTIVE_G_
CODES

By-Reference. Structure previously filled with ChGetActiveGCodes(). Is transferred to the native function.

type

E_KERNELV_
G_GROUP_TYPE

A value that indicates which G group is to be requested.

Return values

short int: Active G function of the requested group or -1 if no valid value is entered in the requested group.