EWDB_SnippetStruct

Type: TRACE_REQ
Description: Uh. I don't know. We are using EWDB_SnippetStruct for a Snippet data entry struct or something, and we are copying it from the TRACE_REQ definition in the Wave_Server Client II routines Help!
Note:

Group: EWDB_API_LIB
Sub Group: WAVEFORM_API
Language: C
Location: ./src/oracle/schema-working/src/include/ewdb_ora_api.h



EWDB_WaveformStruct

Type: struct _EWDB_WaveformStruct
Description: Structure containing waveform information and a raw waveform snippet.
Note: There should probably also be an iStorageMethod value that indicates how the data is stored (in the DB, out of the DB as a file, at an ftp site, etc.), but it has yet to be implemented.
Field Type Description
idWaveform EWDBid DB ID of the Waveform snippet.
idChan EWDBid Database ID of the channel that this pick came from.
tStart double Beginning time of the waveform snippet. Expressed as seconds since 1970.
tEnd double Ending time of the waveform snippet. Expressed as seconds since 1970.
iDataFormat int Format of the actual waveform snippet data. See EWDB_WAVEFORM_FORMAT_UNDEFINED.
iByteLen int Length of the actual waveform snippet data in bytes.
binSnippet char * Actual waveform snippet. Its length is specified by iByteLen and its format is specified by iDataFormat. This is just a pointer. Space for the waveform snippet must be dynamically allocated.

Group: EWDB_API_LIB
Sub Group: WAVEFORM_API
Language: C
Location: ./src/oracle/schema-working/src/include/ewdb_ora_api.h