libRBR v1.2.3
RBR instrument communication API
Data Fields
RBRInstrumentClock Struct Reference

Instrument clock command parameters. More...

#include <RBRInstrumentSchedule.h>

Data Fields

RBRInstrumentDateTime dateTime
 The instrument's date and time.
 
float offsetFromUtc
 The offset of the instrument's date and time from UTC. More...
 

Detailed Description

Instrument clock command parameters.

See also
RBRInstrument_getClock()
RBRInstrument_setClock()
https://docs.rbr-global.com/L3commandreference/commands/time-and-schedule/clock

Field Documentation

◆ offsetFromUtc

float RBRInstrumentClock::offsetFromUtc

The offset of the instrument's date and time from UTC.

Specified in hours.

When passing a date and time to the instrument, a NAN value will cause the offsetfromutc parameter to be omitted from the command sent to the instrument; otherwise, the parameter will be sent as the string representation of the number to two decimal places.

When receiving a date and time from the instrument, a NAN value indicates that an offset from UTC was not provided when the instrument clock was most recently set. Otherwise, the value will correspond to the instrument clock offset from UTC.


The documentation for this struct was generated from the following file: