How can I retrieve multiple data parameters from the same sensor set within a single IDFS data record?
Data from an IDFS data set is acquired through a call to the IDFS data access routine called read_drec(). One of the parameters to this routine, referred to as the “fwd” flag, controls when the data pointer is advanced to the next set of data values (sensor set). By keeping the pointer at the same set of data values, repeated calls for different sensors can be made, ensuring that all of the data returned are contained within the same sensor set. As a general rule, the fwd flag is set to advance when the last sensor from the IDFS data set is being requested. For example, if sensors 0 through 5 are to be retrieved, the fwd flag is set to advance when data for the last sensor, sensor 5, is being retrieved.