XPLMSetDataf

XPLM_API void       XPLMSetDataf(
                         XPLMDataRef          inDataRef,    
                         float                inValue);    

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