XPLMSetDatad

XPLM_API void       XPLMSetDatad(
                         XPLMDataRef          inDataRef,
                         double               inValue);

Write a new value to a double precision floating point dataref. This routine is a no-op if the plugin publishing the dataref is disabled, the dataref is NULL, or the dataref is not writable.