RTP Series API Programming Reference
1.2.1
|
Functions | |
EXPORT int | PwrSnsr_SaveToMemoryChannel (SessionID Vi, const char *MemChan, const char *ChannelName) |
Saves the given channel to a memory channel. If the memory channel does not exist, a new one is created. More... | |
EXPORT int | PwrSnsr_GetMemChanArchive (SessionID Vi, const char *MemChan, int ValBufferSize, char Val[]) |
Returns an XML document containing settings and readings obtained using the SaveToMemoryChannel method. More... | |
EXPORT int | PwrSnsr_LoadMemChanFromArchive (SessionID Vi, const char *MemChan, const char *ArchiveContent) |
Loads the named memory channel using the given archive. If the memory channel does not exist, one is created. More... | |
Memory Channel functions
EXPORT int PwrSnsr_GetMemChanArchive | ( | SessionID | Vi, |
const char * | MemChan, | ||
int | ValBufferSize, | ||
char | Val[] | ||
) |
Returns an XML document containing settings and readings obtained using the SaveToMemoryChannel method.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MemChan | The name of the memory channel to get the archive from. |
ValBufferSize | |
Val | XML document containing settings and readings. |
EXPORT int PwrSnsr_LoadMemChanFromArchive | ( | SessionID | Vi, |
const char * | MemChan, | ||
const char * | ArchiveContent | ||
) |
Loads the named memory channel using the given archive. If the memory channel does not exist, one is created.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MemChan | Memory channel name. Must have the form MEM1...n, where n is the number of measurement channels. In single channel configurations, this parameter should always be "MEM1". |
ArchiveContent | An xml document containing settings and readings obtained using the SaveToMemoryChannel method. An archive can be obtained using the GetMemChanArchive method. |
EXPORT int PwrSnsr_SaveToMemoryChannel | ( | SessionID | Vi, |
const char * | MemChan, | ||
const char * | ChannelName | ||
) |
Saves the given channel to a memory channel. If the memory channel does not exist, a new one is created.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MemChan | Memory channel name. Must have the form MEM1...n, where n is the number of measurement channels. In single channel configurations, this parameter should always be "MEM1". |
ChannelName | The channel name to copy from. |