10.07.2015 Views

CF2 API Reference (PDF) - Persistor Instruments Inc

CF2 API Reference (PDF) - Persistor Instruments Inc

CF2 API Reference (PDF) - Persistor Instruments Inc

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>CF2</strong> <strong>API</strong> <strong>Reference</strong>VEEDelete -- Delete a Virtual EEPROM variableDescription:Prototype:Inputs:Returns:Delete a virtual eeprom variable.bool VEEDelete(char *name);name is a pointer to a zero terminated C string of up to 15 characters that locates the entry.Returns TRUE if found and successful, FALSE if not found or the VEE is locked.VEEFetchFloat -- Return float value from Virtual EEPROMDescription:Prototype:Inputs:Returns:Notes:Return either a float value found in the virtual eeprom or a default value.float VEEFetchFloat(char *name, float fallback);name is a pointer to a zero terminated C string of up to 15 characters that identifies the entry.fallback is a float used as a default fallback if the vee search fails to find the veename entryReturns a four byte float value.The eeprom entry may be either a float value or a string that evaluates to a float value (usesatof())VEEFetchLong -- Return long value from Virtual EEPROMDescription:Prototype:Inputs:Returns:Notes:Return either a signed long value found in the virtual eeprom or a default value.long VEEFetchLong(char *name, long fallback);name is a pointer to a zero terminated C string of up to 15 characters that identifies the entry.fallback is a signed long used as a default fallback if the vee search fails to find the veenameentryReturns a signed long value.The eeprom entry may be either a long value or a string that evaluates to a long value (usesatol())VEEFetchNext -- Find the next valid VEE entry (NULL to start)Description:Prototype:Inputs:Returns:Notes:Return the next sequential VEEVar entry.VEEVar VEEFetchNext(VEEVar *prev);prev is a pointer to a VEEVar structure, or zero to find the first.Returns a pointer to the next VEEVar structure or zero if there are no more.Used to iterate through the VEE for a list of directory of VEE entries.PERSISTOR<strong>Instruments</strong> <strong>Inc</strong>.79 of 84<strong>CF2</strong> <strong>API</strong> <strong>Reference</strong>7/19/2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!