2.1. TEM Commanding

See the on-line GTEM reference available at: GTEM

2.1.1. GTIC Environmental Quantities

The functional interface to the GTIC environmental quantities is different from all the other command/response functions. A new function, gGTICreadEnv(), provides access to 8 environmental quantities at a time.


  extern int   gGTICreadEnv  (gtemHandle           gt,
                              unsigned short  temAddr,
                              unsigned short     *env);

The *env parameter is a pointer an array of 8 16-bit unsigned integers. This storage must be preallocated by the caller. Each environmental quantity occupies the 12 LSB of each 16-bit word in the array.

In the event that the GTIC has not finished acquiring the requested environmental quantities gGTICreadEnv() returns the error code GTIC_ERR_NOT_VALID.