Class Index Cross Index Extended TCL Command Index

Extended TCL Commands


Functions


NameDescription
Adc2container Convert FrameCPP ADC data structure into LDAS Container.
DetectorProc2container Convert FrameCPP Detector data structure into LDAS Container.
DetectorSim2container Convert FrameCPP simulated Detector data structure into LDAS Container.
Event2container Convert FrameCPP Event data structure into LDAS Container.
History2container Convert FrameCPP History data structure into LDAS Container.
Proc2container Convert FrameCPP Proc data structure into LDAS Container.
Ser2container Convert FrameCPP Serial data structure into LDAS Container.
SimData2container Convert FrameCPP SimData structure into LDAS Container.
SimEvent2container Convert FrameCPP SimEvent data structure into LDAS Container.
Summary2container Convert FrameCPP Summary data structure into LDAS Container.
adcPointer2ProcPointer Convert frameCPP::AdcData to the frameCPP::ProcData.
closeFrameFile Close a frame file
concatAdcDataList Concatenate AdcData
concatAdcDataList_r Concatenate AdcData -- get thread result
concatAdcDataList_t Concatenate AdcData -- threaded
concatFrameList Concatenate Frames.
concatFrameList_r Concatenate Frames - return value
concatFrameList_t Concatenate Frames - Threaded
concatProcDataList Concatenate ProcData
concatProcDataList_r Concatenate ProcData -- get thread result
concatProcDataList_t Concatenate ProcData -- threaded
concatSerDataList Concatenate SerData
concatSerDataList_r Concatenate SerData -- thread return value
concatSerDataList_t Concatenate SerData -- threaded
concatSimDataList Concatenate SimData
concatSimDataList_r Concatenate SimData -- get thread result
concatSimDataList_t Concatenate SimData -- threaded
createDetector Create a FrameCPP detector as ILWD container object.
createFrame Create an empty FrameCPP Frame as ILWD container object.
createHistory Create a FrameCPP History as ILWD container object.
createMsg Create a FrameCPP Msg as ILWD container object.
createOuterDetectorProcContainer Create an empty ILWD container to hold a linked list of FrameCPP ProcDetector data structures.
createOuterDetectorSimContainer Create an empty ILWD container to hold a linked list of FrameCPP SimDetector data structures.
createOuterHistoryContainer Create an empty ILWD container to hold a linked list of FrameCPP History data structures.
createProcData Create a FrameCPP ProcData as ILWD container object.
createRawData Create an empty FrameCPP RawData as ILWD container object.
createRawFrame Create a simple template frame.
createResampleState Create resampling state
destructAdcData Delete an ADC object from memory.
destructFrame Delete a frame object from memory.
destructProcData Delete ProcData object from memory.
destructResampleState Destroy resampling state
dumpFrameCPPRegistry Display currently registered frameCPP objects.
fullFrame2container Convert whole FrameCPP Frame into LDAS Container
fullFrame2container_r Convert whole FrameCPP Frame into LDAS Container - thread return value
fullFrame2container_t Convert whole FrameCPP Frame into LDAS Container - Threaded
getChannelList Get ADC Channel List
getChannelListFromFrameFile Get list of channels from frame file.
getFrameAdcData Find ADC structure by name or access by index.
getFrameAdcDataBias Get ADC bias.
getFrameAdcDataChannelGroup Get ADC channel group number.
getFrameAdcDataChannelNumber Get ADC channel number.
getFrameAdcDataComment Get ADC comment.
getFrameAdcDataDataValid Get ADC data valid flag.
getFrameAdcDataFShift Get ADC frequency shift.
getFrameAdcDataNBits Get ADC's number of bits per sample.
getFrameAdcDataName Get ADC name.
getFrameAdcDataNum Get the number of ADC structures in a frame.
getFrameAdcDataPhase Get ADC phase at start of dataset.
getFrameAdcDataSampleDt Get ADC sample delta T.
getFrameAdcDataSampleRate Get ADC sampling rate.
getFrameAdcDataSlice Get a slice of the ADC data.
getFrameAdcDataSlope Get ADC Slope.
getFrameAdcDataTimeOffset Get ADC time offset.
getFrameAdcDataTimeOffsetN Get ADC time offset nanoseconds.
getFrameAdcDataTimeOffsetS Get ADC time offset seconds.
getFrameAdcDataUnits Get ADC engineering unit string.
getFrameAttribute Return an attribute of a frame.
getFrameAuxNum Get the number of auxiliary data structures in a frame.
getFrameData Return frame data.
getFrameDetectorArmXaltitude Get Detector altitude angle of arm X.
getFrameDetectorArmXazimuth Get Detector orientation of arm X.
getFrameDetectorArmXmidpoint Get Detector midpoint of arm X.
getFrameDetectorArmYaltitude Get Detector altitude angle of arm Y.
getFrameDetectorArmYazimuth Get Detector orientation of arm Y.
getFrameDetectorArmYmidpoint Get Detector midpoint of arm Y.
getFrameDetectorDataQuality Get Detector's dataQuality word.
getFrameDetectorElevation Get Detector vertex elevation.
getFrameDetectorLatitude Get Detector vertex latitude (degrees).
getFrameDetectorLocalTime Get Detector's localTime offset.
getFrameDetectorLongitude Get Detector vertex longitude (degrees).
getFrameDetectorName Get Detector name.
getFrameDetectorProc Find frame detector structure by name of access by index.
getFrameDetectorProcNum Get the number of detector structures in a frame.
getFrameDetectorQaBitList Get Detector's data quality descriptor list.
getFrameDetectorSim Find frame simulation detector structure by name of access by index.
getFrameDetectorSimNum Get the number of simulated detector structures in a frame.
getFrameDictionary Get FrameCPP dictionary info.
getFrameEvent Find Event structure by name or access by index.
getFrameEventAmplitude Get Event amplitude.
getFrameEventComment Get Event comment.
getFrameEventEventStatus Get Event eventStatus.
getFrameEventGTime Get Event's "maximum of event" time.
getFrameEventInputs Get Event inputs.
getFrameEventNParam Get Event number of additional event parameters.
getFrameEventName Get Event name.
getFrameEventNum Get the number of Event structures in a frame.
getFrameEventParameterNames Get Event parameter Name at offset x.
getFrameEventParameters Get Event parameter at offset x.
getFrameEventProbability Get Event probability.
getFrameEventStatistics Get Event statistics.
getFrameEventTimeAfter Get Event timeAfter.
getFrameEventTimeBefore Get Event timeBefore.
getFrameFrameH Convert FrameCPP Frame Header into LDAS Container History and Detector structures are included too.
getFrameFrameHDataQuality Get frame dataQuality
getFrameFrameHDt Get frame period (delta t or Dt)
getFrameFrameHFrame Get frame "frame number"
getFrameFrameHGTime Get frame GPS time.
getFrameFrameHName Get frame name.
getFrameFrameHRun Get frame run number.
getFrameFrameHULeapS Get frame leap seconds.
getFrameHistory Find History structure by name or access by index.
getFrameHistoryComment Get History comment.
getFrameHistoryName Get History name.
getFrameHistoryNum Get the number of history data structures in a frame.
getFrameHistoryTime Get History time.
getFrameMsg Find Msg structure by name or access by index.
getFrameMsgAlarm Get Msg alarm (name of message).
getFrameMsgGTime Get Msg GPS time.
getFrameMsgMessage Get Msg message.
getFrameMsgNum Get the number of Msg structures in a frame.
getFrameMsgSeverity Get Msg severity.
getFrameNumber Read the number of frames from the TOC structure
getFrameProcData Find ProcData structure by name or access by index.
getFrameProcDataAuxParam Get ProcData auxParam at offset x.
getFrameProcDataAuxParamNames Get ProcData auxParam Name at offset x.
getFrameProcDataBW Get ProcData BW at start of dataset.
getFrameProcDataComment Get ProcData comment.
getFrameProcDataFRange Get ProcData frequency range.
getFrameProcDataFShift Get ProcData frequency shift.
getFrameProcDataNAuxParam Get ProcData number of additional procdata parameter.s
getFrameProcDataName Get ProcData name.
getFrameProcDataNum Get the number of procesed data structures in a frame.
getFrameProcDataPhase Get ProcData phase at start of dataset.
getFrameProcDataSlice Get a slice of the Proc data.
getFrameProcDataSliceIndex Get a slice of the Proc data.
getFrameProcDataSubType Get ProcData subType.
getFrameProcDataTRange Get ProcData time range.
getFrameProcDataTimeOffset Get ProcData time offset.
getFrameProcDataType Get ProcData type.
getFrameSerData Find Serial Data structure by name or access by index.
getFrameSerDataData Get Serial Data Data.
getFrameSerDataName Get Serial Data name.
getFrameSerDataNum Get the number of Serial data structures in a frame.
getFrameSerDataSampleRate Get Serial Data sampling rate.
getFrameSerDataTime Get Serial Data acquisition time.
getFrameSimData Find SimData structure by name or access by index.
getFrameSimDataComment Get SimData comment.
getFrameSimDataFShift Get SimData frequency shift.
getFrameSimDataName Get SimData name.
getFrameSimDataNum Get the number of simulation data structures in a frame.
getFrameSimDataPhase Get SimData phase at start of dataset.
getFrameSimDataSampleRate Get SimData sampling rate.
getFrameSimEvent Find SimEvent structure by name or access by index.
getFrameSimEventAmplitude Get SimEvent amplitude.
getFrameSimEventComment Get SimEvent comment.
getFrameSimEventGTime Get SimEvent maximum of event time.
getFrameSimEventInputs Get SimEvent inputs.
getFrameSimEventNParam Get SimEvent number of additional event parameters.
getFrameSimEventName Get SimEvent name.
getFrameSimEventNum Get the number of SimEvent data structures in a frame.
getFrameSimEventParameterNames Get SimEvent parameter Name at offset x.
getFrameSimEventParameters Get SimEvent parameter at offset x.
getFrameSimEventTimeAfter Get SimEvent timeAfter.
getFrameSimEventTimeBefore Get SimEvent timeBefore.
getFrameStatData Find StatData structure by name or by index.
getFrameStatDataComment Get Static Data Structure comment string.
getFrameStatDataName Get Static Data Structure name.
getFrameStatDataRepresentation Get Static Data Structure representation string.
getFrameStatDataTimeEnd Get Static Data Structure timeEnd variable.
getFrameStatDataTimeStart Get Static Data Structure timeStart variable.
getFrameStatDataVersion Get Static Data Structure version.
getFrameSummary Find Summary structure by name or access by index.
getFrameSummaryComment Get Summary comment.
getFrameSummaryGTime Get Summary GPS time.
getFrameSummaryName Get Summary name.
getFrameSummaryNum Get the number of summary data structures in a frame.
getFrameSummaryTest Get Summary test.
ilwd2frame Convert an ILWD frame to a FrameCPP frame.
ilwd2frame_r Convert an ILWD frame to a FrameCPP frame - thread return value
ilwd2frame_t Convert an ILWD frame to a FrameCPP frame - Threaded
insertAdcChanList Transfer Frame ADC channels into an ILWD container.
insertDetector Insert detector structure from the FrameCPP `frame' into the LDAS container `f'.
insertFrameData Insert ILWD frame data into an ILWD frame.
insertHistory Insert all history structures from the FrameCPP 'frame' into the LDAS container `f'.
insertSerChanList Transfer Frame Serial Data channels into an ILWD container.
isFrameValid Is frame a valid object?
normalizeFrameTimeILwd Normalize time data within Frame Container and subcontainers.
openFrameFile Open a frame file for reading/writing.
openFrameFile_r Open a frame file for reading/writing. - Thread return value
openFrameFile_t Open a frame file for reading/writing. - Threaded
readFrame Read a frame from a file.
readFrame_r Read a frame from a file - Thread return value
readFrame_t Read a frame from a file - Threaded
recvFrameBinary Receive Frame as File
recvFrameBinary_r Receive frame as file - thread return value
recvFrameBinary_t Receive Frame as File - Threaded
reduceRawFrames_r Create reduced data set of frames. - Thread return value.
reduceRawFrames_t Create reduced data set of frames (threaded).
rehashAdc Rehash adc name hash in the frame.
rehashProc Rehash ProcData name hash in the frame.
rehashSer Rehash serial data name hash in the frame.
resampleAdcData Resample AdcData
resampleAdcData_r Resample AdcData - Thread return value
resampleAdcData_t Resample AdcData (threaded)
resampleDelay Get resampling filter delay time
resampleRawFrames_r Create resampled reduced data set of frames. - Thread return value.
resampleRawFrames_t Create resampled reduced data set of frames (threaded).
sendFrameBinary Send Frame as File
sendFrameBinary_r Send frame as file - thread return value
sendFrameBinary_t Send Frame as File -- Threaded
setFrameAdcDataTimeOffset Set ADC time offset.
setFrameProcDataTimeOffset Reset timeOffset for frameCPP::ProcData.
writeFrame Write a frame to a file.
writeFrame_r Write a frame to a file - thread return value
writeFrame_t Write a frame to a file - Threaded

Member Descriptions:

Members of type function


Adc2container - Convert FrameCPP ADC data structure into LDAS Container.

Function returns newly allocated C++ ILwd container object. Caller is responsible for the destruction of this object.

Usage - Basic SWIG interface:
set ptResult [ Adc2container adcPtr sec nsec dt ]

Parameters:
NameTypeDescription
adcPtrFrAdcData* Adc data pointer.
secunsigned int GPS frame timestamp.
secunsigned int GPS frame timestamp.
dtdouble Frame delta time.

Return value:
Ldascontainer* ptResult - A pointer to new C++ ILWD format element that represents FrameCPP::AdcData.

Exceptions:
ExceptionDescription
SwigException
null adcdata pointerAdcData pointer is NULL.
bad_allocMemory allocation failed.


DetectorProc2container - Convert FrameCPP Detector data structure into LDAS Container.

Function returns newly allocated C++ ILwd container object. Caller is responsible for the destruction of this object.

Usage - Basic SWIG interface:
set ptResult [ DetectorProc2container detectorPtr ]

Parameters:
NameTypeDescription
detectorPtrFrDetector* Detector pointer.

Return value:
LdasContainer* ptResult - A pointer to new C++ ILWD format element that represents FrameCPP::Detector.

Exceptions:
ExceptionDescription
SwigException
null detector pointerDetector pointer is NULL.
bad_allocMemory allocation failed.


DetectorSim2container - Convert FrameCPP simulated Detector data structure into LDAS Container.

Function returns newly allocated C++ ILwd container object. Caller is responsible for the destruction of this object.

Usage - Basic SWIG interface:
set ptResult [ DetectorProc2container detectorPtr]

Parameters:
NameTypeDescription
detectorPtrFrDetector* Detector pointer.

Return value:
Ldascontainer* ptResult - A pointer to new C++ ILWD format element that represents FrameCPP::Detector.

Exceptions:
ExceptionDescription
SwigException
null detector pointerDetector pointer is NULL.
bad_allocMemory allocation failed.


Event2container - Convert FrameCPP Event data structure into LDAS Container.

Function returns newly allocated C++ ILwd container object. Caller is responsible for the destruction of this object.

Usage - Basic SWIG interface:
set ptResult [ SimEvent2container simPtr sec nsec dt ]

Parameters:
NameTypeDescription
simPtrFrEvent* SimEvent data pointer.
secunsigned int GPS frame timestamp.
secunsigned int GPS frame timestamp.
dtdouble Frame delta time.

Return value:
Ldascontainer* ptResult - A pointer to new C++ ILWD format element that represents FrameCPP::Event.

Exceptions:
ExceptionDescription
SwigException
null simevent pointerSimEvent pointer is NULL.
bad_allocMemory allocation failed.


History2container - Convert FrameCPP History data structure into LDAS Container.

Function returns newly allocated C++ ILwd container object. Caller is responsible for the destruction of this object.

Usage - Basic SWIG interface:
set ptResult [ History2container histPtr ]

Parameters:
NameTypeDescription
histPtrFrHistory* History pointer.

Return value:
Ldascontainer* ptResult - A pointer to new C++ ILWD format element that represents FrameCPP::History.

Exceptions:
ExceptionDescription
SwigException
null history pointerHistory pointer is NULL.
bad_allocMemory allocation failed.


Proc2container - Convert FrameCPP Proc data structure into LDAS Container.

Function returns newly allocated C++ ILwd container object. Caller is responsible for the destruction of this object.

Usage - Basic SWIG interface:
set ptResult [ Proc2container procPtr sec nsec dt ]

Parameters:
NameTypeDescription
procPtrFrProcData* Proc data pointer.
secunsigned int GPS frame timestamp.
secunsigned int GPS frame timestamp.
dtdouble Frame delta time.

Return value:
Ldascontainer* ptResult - A pointer to new C++ ILWD format element that represents FrameCPP::ProcData.

Exceptions:
ExceptionDescription
SwigException
null procdata pointerProcData pointer is NULL.
bad_allocMemory allocation failed.


Ser2container - Convert FrameCPP Serial data structure into LDAS Container.

Function returns newly allocated C++ ILwd container object. Caller is responsible for the destruction of this object.

Usage - Basic SWIG interface:
set ptResult [ Ser2container serPtr sec nsec dt ]

Parameters:
NameTypeDescription
serPtrFrSerData* Serial data pointer.
secunsigned int GPS frame timestamp.
secunsigned int GPS frame timestamp.
dtdouble Frame delta time.

Return value:
Ldascontainer* ptResult - A pointer to new C++ ILWD format element that represents FrameCPP::SerData.

Exceptions:
ExceptionDescription
SwigException
null serdata pointerSerData pointer is NULL.
bad_allocMemory allocation failed.


SimData2container - Convert FrameCPP SimData structure into LDAS Container.

Function returns newly allocated C++ ILwd container object. Caller is responsible for the destruction of this object.

Usage - Basic SWIG interface:
set ptResult [ SimData2container simPtr sec nsec dt ]

Parameters:
NameTypeDescription
simPtrFrSimData* Sim data pointer.
secunsigned int GPS frame timestamp.
secunsigned int GPS frame timestamp.
dtdouble Frame delta time.

Return value:
Ldascontainer* ptResult - A pointer to new C++ ILWD format element that represents FrameCPP::SimData.

Exceptions:
ExceptionDescription
SwigException
null simdata pointerSimData pointer is NULL.
bad_allocMemory allocation failed.


SimEvent2container - Convert FrameCPP SimEvent data structure into LDAS Container.

Function returns newly allocated C++ ILwd container object. Caller is responsible for the destruction of this object.

Usage - Basic SWIG interface:
set ptResult [ SimEvent2container simPtr sec nsec dt ]

Parameters:
NameTypeDescription
simPtrFrSimEvent* SimEvent data pointer.
secunsigned int GPS frame timestamp.
secunsigned int GPS frame timestamp.
dtdouble Frame delta time.

Return value:
Ldascontainer* ptResult - A pointer to new C++ ILWD format element that represents FrameCPP::SimEvent.

Exceptions:
ExceptionDescription
SwigException
null simevent pointerSimEvent pointer is NULL.
bad_allocMemory allocation failed.


Summary2container - Convert FrameCPP Summary data structure into LDAS Container.

Function returns newly allocated C++ ILwd container object. Caller is responsible for the destruction of this object.

Usage - Basic SWIG interface:
set ptResult [ Summary2container sumPtr ]

Parameters:
NameTypeDescription
sumPtrFrSummary* Summary pointer.

Return value:
LdasContainer* ptResult - A pointer to new C++ ILWD format element that represents FrameCPP::Summary.

Exceptions:
ExceptionDescription
SwigException
null summary pointerSummary pointer is NULL.
bad_allocMemory allocation failed.


adcPointer2ProcPointer - Convert frameCPP::AdcData to the frameCPP::ProcData.

It creates new ProcData structure, which is not linked to any frame. Function returns newly constructed C++ FrameCPP::ProcData object. User is responsible for the destruction of returned object( 'destructProcData' ).

Usage - Basic SWIG interface:
set ptResult [ adcPointer2ProcPointer adcPtr ]

Parameters:
NameTypeDescription
adcPtrFrAdcData* source AdcData data pointer

Return value:
FrameCPP::FrProcData* ptResult - a pointer to newly allocated ProcData data structure.

Exceptions:
ExceptionDescription
SwigException
std::bad_allocMemory allocation failed.
null adcdataAdcData pointer is null.


closeFrameFile - Close a frame file

Usage - Basic SWIG interface:
closeFrameFile ptFrameFile

Parameters:
NameTypeDescription
ptFrameFileFrameFile* A pointer to a frame file object in the C++ layer. This object must have been created via the openFrameFile command.

Exceptions:
ExceptionDescription
invalid_frame_fileThe pointer is invalid (it does not point to a valid object in the C++ layer).


concatAdcDataList - Concatenate AdcData

This command concatenates a list of AdcData objects, creating a new object in the process. Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [concatAdcDataList ptObjArray]

Parameters:
NameTypeDescription
ptObjArrayvector<LdasContainer*> &A pointer to a NULL terminated array of ILWD AdcData objects in the C++ layer.

Return value:
LdasContainer* ptResult - The concatenated object.

Exceptions:
ExceptionDescription
invalid_ilwd_elementA pointer to the ILWD element is invalid.
invalid_containerOne or both of the container objects don't exist.
invalid_frame_objectOne or both of the container objects do not contain a frame object.
not_adcdataThe container objects contain a frame data type other than AdcData.
bad_adcdata: not_frame_dataThe container objects are not frame data.
incompatible_typesThe container objects do not contain the same type.
bad_adcdataThe containers contain adcdata but it is malformed.
incompatible_adc_groupThe containers contain AdcData but they have a different group.
incompatible_adc_channelThe containers contain AdcData but they have a different channel.
incompatible_adc_nbitsThe containers contain AdcData but they have a different number of bits in the ADC output.
incompatible_channelsThe containers contain AdcData but they are for different channels.
incompatible_adc_nbitsThe containers contain AdcData but the ADC's which generated the data didn't have the same nBits.
incompatible_adc_biasThe containers contain AdcData but the ADC's which generated the data didn't have the same bias.
incompatible_adc_slopeThe containers contain AdcData but the ADC's which generated the data didn't have the same slope.
incompatible_adc_unitsThe containers contain AdcData but the units are not the same.
incompatible_adc_samplerateThe containers contain AdcData but the sample rate is different.
incompatible_adc_fshiftThe containers contain AdcData but the frequency shift is different.
unsupported_adcdataThe containers contain AdcData but one or more of them containe either more than one data vector or a multi-dimensional data vector.
incompatible_adcdataThe containers contain AdcData, however the data in the object has different types (e.g. INT_4U vs. INT_4S), different units, or the beginning of the data in the second container does not correspond to the end of the data in the first container.
incomplete_adcdataThe containers contain AdcData, however the data in the first container does not run until the end of the frame.
memory_allocation_failedError allocating memory.
invalid_format: "element" is unexpected typeAdcData element specified by "element" has different type from expected.
invalid_format: "element" not foundAdcData is missing "element".
invalid_formatAdcData is malformed.
SwigException


concatAdcDataList_r - Concatenate AdcData -- get thread result

This command concatenates a list of AdcData objects, creating a new object in the process. Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [concatAdcDataList_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to a ilwd2frame thread.

Return value:
LdasContainer* ptResult - The concatenated object.

Exceptions:
ExceptionDescription
invalid_ilwd_elementA pointer to the ILWD element is invalid.
invalid_containerOne or both of the container objects don't exist.
invalid_frame_objectOne or both of the container objects do not contain a frame object.
not_adcdataThe container objects contain a frame data type other than AdcData.
bad_adcdata: not_frame_dataThe container objects are not frame data.
incompatible_typesThe container objects do not contain the same type.
bad_adcdataThe containers contain adcdata but it is malformed.
incompatible_adc_groupThe containers contain AdcData but they have a different group.
incompatible_adc_channelThe containers contain AdcData but they have a different channel.
incompatible_adc_nbitsThe containers contain AdcData but they have a different number of bits in the ADC output.
incompatible_channelsThe containers contain AdcData but they are for different channels.
incompatible_adc_nbitsThe containers contain AdcData but the ADC's which generated the data didn't have the same nBits.
incompatible_adc_biasThe containers contain AdcData but the ADC's which generated the data didn't have the same bias.
incompatible_adc_slopeThe containers contain AdcData but the ADC's which generated the data didn't have the same slope.
incompatible_adc_unitsThe containers contain AdcData but the units are not the same.
incompatible_adc_samplerateThe containers contain AdcData but the sample rate is different.
incompatible_adc_fshiftThe containers contain AdcData but the frequency shift is different.
unsupported_adcdataThe containers contain AdcData but one or more of them containe either more than one data vector or a multi-dimensional data vector.
incompatible_adcdataThe containers contain AdcData, however the data in the object has different types (e.g. INT_4U vs. INT_4S), different units, or the beginning of the data in the second container does not correspond to the end of the data in the first container.
incomplete_adcdataThe containers contain AdcData, however the data in the first container does not run until the end of the frame.
memory_allocation_failedError allocating memory.
invalid_format: "element" is unexpected typeAdcData element specified by "element" has different type from expected.
invalid_format: "element" not foundAdcData is missing "element".
invalid_formatAdcData is malformed.
SwigException


concatAdcDataList_t - Concatenate AdcData -- threaded

This command concatenates a list of AdcData objects, creating a new object in the process.

Usage - Basic SWIG interface:
set tid [concatAdcDataList_t ptObjArray]

Parameters:
NameTypeDescription
ptObjArrayvector<LdasContainer*> &A pointer to a NULL terminated array of ILWD AdcData objects in the C++ layer.

Return value:
tid* tid - A pointer to created thread.

Exceptions:
ExceptionDescription
SwigException


concatFrameList - Concatenate Frames.

This command concatenates a list of Frame objects, creating a new object in the process. Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [concatFrameList ptObjArray]

Parameters:
NameTypeDescription
ptObjArrayvector<LdasContainer*> &A pointer to a NULL terminated array of ILWD Frame objects in the C++ layer.

Return value:
LdasContainer* ptResult - The concatenated object.

Exceptions:
ExceptionDescription
invalid_ilwd_elementA pointer to the ILWD element is invalid.
invalid_containerOne or both of the container objects don't exist.
invalid_frame_objectOne or both of the container objects do not contain a frame object.
not_frameThe container objects contain a frame data type other than Frame.
not_frame_dataThe container objects are not frame data.
incompatible_framesThe container objects do not contain the same type.
incompatible_frameThe containers contain Frame data, however the data in the object has different types (e.g. INT_4U vs. INT_4S), different units, or the beginning of the data in the second container does not correspond to the end of the data in the first container.
bad_frameThe container object contains a frame data, but this data malformed( such as specified data in the object is missing, or element of the object is empty ).
memory_allocation_failedError allocating memory.
invalid_format: "element" is unexpected typeFrame element specified by "element" has different type from expected.
invalid_format: "element" not foundFrame is missing "element".
invalid_formatFrame data is malformed.
SwigException


concatFrameList_r - Concatenate Frames - return value

This command concatenates a list of Frame objects, creating a new object in the process. Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [concatFrameList_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to a concatFrameList thread.

Return value:
LdasContainer* ptResult - The concatenated object.

Exceptions:
ExceptionDescription
invalid_ilwd_elementA pointer to the ILWD element is invalid.
invalid_containerOne or both of the container objects don't exist.
invalid_frame_objectOne or both of the container objects do not contain a frame object.
not_frameThe container objects contain a frame data type other than Frame.
not_frame_dataThe container objects are not frame data.
incompatible_framesThe container objects do not contain the same type.
incompatible_frameThe containers contain Frame data, however the data in the object has different types (e.g. INT_4U vs. INT_4S), different units, or the beginning of the data in the second container does not correspond to the end of the data in the first container.
bad_frameThe container object contains a frame data, but this data malformed( such as specified data in the object is missing, or element of the object is empty ).
memory_allocation_failedError allocating memory.
invalid_format: "element" is unexpected typeFrame element specified by "element" has different type from expected.
invalid_format: "element" not foundFrame is missing "element".
invalid_formatFrame data is malformed.
SwigException


concatFrameList_t - Concatenate Frames - Threaded

This command concatenates a list of Frame objects, creating a new object in the process.

Usage - Basic SWIG interface:
set tid [concatFrameList_t ptObjArray]

Parameters:
NameTypeDescription
ptObjArrayvector<LdasContainer *> &A pointer to a NULL terminated array of ILWD Frame objects in the C++ layer.

Return value:
tid* tid - A pointer to created thread.

Exceptions:
ExceptionDescription
SwigException


concatProcDataList - Concatenate ProcData

This command concatenates a list of ProcData objects, creating a new object in the process. Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [concatProcDataList ptObjArray]

Parameters:
NameTypeDescription
ptObjArrayvector<LdasContainer*> &A pointer to a NULL terminated array of ILWD ProcData objects in the C++ layer.

Return value:
LdasContainer* ptResult - The concatenated object.

Exceptions:
ExceptionDescription
invalid_ilwd_elementA pointer to the ILWD element is invalid.
invalid_containerOne or both of the container objects don't exist.
invalid_frame_objectOne or both of the container objects do not contain a frame object.
not_procdataThe container objects contain a frame data type other than ProcData.
not_frame_dataThe container objects are not frame data.
incompatible_typesThe container objects do not contain the same type.
bad_procdataThe containers contain procdata but it is malformed.
incompatible_channelsThe containers contain ProcData but they are for different channels.
incompatible_proc_samplerateThe containers contain ProcData but the sample rate is different.
incompatible_proc_fshiftThe containers contain ProcData but the frequency shift is different.
unsupported_dataThe containers contain ProcData but one or more of them containe either more than one data vector or a
multidimensional data vector.
incompatible_procdataThe containers contain ProcData, however the data in the object has different types (e.g. INT_4U vs. INT_4S), different units, or the beginning of the data in the second container does not correspond to the end of the data in the first container.
incomplete_procdataThe containers contain ProcData, however the data in the first container does not run until the end of the frame.
memory_allocation_failedError allocating memory.
invalid_format: "element" is unexpected typeProcData element specified by "element" has different type from expected.
invalid_format: "element" not foundProcData is missing "element".
invalid_formatProcData is malformed.
SwigException


concatProcDataList_r - Concatenate ProcData -- get thread result

This command concatenates a list of ProcData objects, creating a new object in the process. Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [concatProcDataList_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to a concatProcDataList thread.

Return value:
LdasContainer* ptResult - The concatenated object.

Exceptions:
ExceptionDescription
invalid_ilwd_elementA pointer to the ILWD element is invalid.
invalid_containerOne or both of the container objects don't exist.
invalid_frame_objectOne or both of the container objects do not contain a frame object.
not_procdataThe container objects contain a frame data type other than ProcData.
not_frame_dataThe container objects are not frame data.
incompatible_typesThe container objects do not contain the same type.
bad_procdataThe containers contain procdata but it is malformed.
incompatible_channelsThe containers contain ProcData but they are for different channels.
incompatible_proc_samplerateThe containers contain ProcData but the sample rate is different.
incompatible_proc_fshiftThe containers contain ProcData but the frequency shift is different.
unsupported_dataThe containers contain ProcData but one or more of them containe either more than one data vector or a multi-dimensional data vector.
incompatible_procdataThe containers contain ProcData, however the data in the object has different types (e.g. INT_4U vs. INT_4S), different units, or the beginning of the data in the second container does not correspond to the end of the data in the first container.
incomplete_procdataThe containers contain ProcData, however the datain the first container does not run until the end of the frame.
memory_allocation_failedError allocating memory.
invalid_format: "element" is unexpected typeProcData element specified by "element" has different type from expected.
invalid_format: "element" not foundProcData is missing "element".
invalid_formatProcData is malformed.
SwigException


concatProcDataList_t - Concatenate ProcData -- threaded

This command concatenates a list of ProcData objects, creating a new object in the process.

Usage - Basic SWIG interface:
set tid [concatProcDataList_t ptObjArray]

Parameters:
NameTypeDescription
ptObjArrayvector<LdasContainer*> &A pointer to a NULL terminated array of ILWD ProcData objects in the C++ layer.

Return value:
tid* tid - A pointer to created thread.

Exceptions:
ExceptionDescription
SwigException


concatSerDataList - Concatenate SerData

This command concatenates a list of SerData objects, creating a new object in the process. Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [concatSerDataList ptObjArray]

Parameters:
NameTypeDescription
ptObjArrayvector<LdasContainer*> &A pointer to a NULL terminated array of ILWD SerData objects in the C++ layer.

Return value:
LdasContainer* ptResult - The concatenated object.

Exceptions:
ExceptionDescription
invalid_ilwd_elementA pointer to the ILWD element is invalid.
invalid_containerOne or both of the container objects don't exist.
invalid_frame_objectOne or both of the container objects do not contain a frame object.
not_serdataThe container objects contain a frame data type other than SerData.
not_frame_dataThe container objects are not frame data.
incompatible_typesThe container objects do not contain the same type.
bad_serdataThe containers contain SerData but it is malformed.
incompatible_channelsThe containers contain SerData but they are for different channels.
incompatible_ser_timeThe containers contain SerData but the time is different.
incompatible_ser_samplerateThe containers contain SerData but the sample rate is different.
unsupported_dataThe containers contain SerData but one or more of them contain either more than one data vector or a multi-dimensional data vector.
incompatible_serdataThe containers contain SerData, however the data in the object has different types (e.g. INT_4U vs. INT_4S), different units, or the beginning of the data in the second container does not correspond to the end of the data in the first container.
incompatible_ser_dataThe containers contain SerData but the data is different.
memory_allocation_failedError allocating memory.
invalid_format: "element" is unexpected typeSerData element specified by "element" has different type from expected.
invalid_format: "element" not foundSerData is missing "element".
invalid_formatSerData is malformed.
SwigException


concatSerDataList_r - Concatenate SerData -- thread return value

This command concatenates a list of SerData objects, creating a new object in the process. Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [concatSerDataList_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to a concatSerDataList thread

Return value:
LdasContainer* ptResult - The concatenated object.

Exceptions:
ExceptionDescription
invalid_ilwd_elementA pointer to the ILWD element is invalid.
invalid_containerOne or both of the container objects don't exist.
invalid_frame_objectOne or both of the container objects do not contain a frame object.
not_serdataThe container objects contain a frame data type other than SerData.
not_frame_dataThe container objects are not frame data.
incompatible_typesThe container objects do not contain the same type.
bad_serdataThe containers contain SerData but it is malformed.
incompatible_channelsThe containers contain SerData but they are for different channels.
incompatible_ser_timeThe containers contain SerData but the time is different.
incompatible_ser_samplerateThe containers contain SerData but the sample rate is different.
unsupported_dataThe containers contain SerData but one or more of them contain either more than one data vector or a multi-dimensional data vector.
incompatible_serdataThe containers contain SerData, however the data in the object has different types (e.g. INT_4U vs. INT_4S), different units, or the beginning of the data in the second container does not correspond to the end of the data in the first container.
incompatible_ser_dataThe containers contain SerData but the data is different.
memory_allocation_failedError allocating memory.
invalid_format: "element" is unexpected typeSerData element specified by "element" has different type from expected.
invalid_format: "element" not foundSerData is missing "element".
invalid_formatSerData is malformed.
SwigException


concatSerDataList_t - Concatenate SerData -- threaded

This command concatenates a list of SerData objects, creating a new object in the process.

Usage - Basic SWIG interface:
set tid [concatSerDataList_t ptObjArray]

Parameters:
NameTypeDescription
ptObjArrayvector<LdasContainer*> &A pointer to a NULL terminated array of ILWD SerData objects in the C++ layer.

Return value:
tid* tid - A pointer to created thread.

Exceptions:
ExceptionDescription
SwigException


concatSimDataList - Concatenate SimData

This command concatenates a list of SimData objects, creating a new object in the process. Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [concatSimDataList ptObjArray]

Parameters:
NameTypeDescription
ptObjArrayvector<LdasContainer*> &A pointer to a NULL terminated array of ILWD SimData objects in the C++ layer.

Return value:
LdasContainer* ptResult - The concatenated object.

Exceptions:
ExceptionDescription
invalid_ilwd_elementA pointer to the ILWD element is invalid.
invalid_containerOne or both of the container objects don't exist.
invalid_frame_objectOne or both of the container objects do not contain a frame object.
not_simdataThe container objects contain a frame data type other than SimData.
not_frame_dataThe container objects are not frame data.
incompatible_typesThe container objects do not contain the same type.
bad_simdataThe containers contain SimData but it is malformed.
incompatible_channelsThe containers contain SimData but they are for different channels.
incompatible_sim_samplerateThe containers contain SimData but the sample rate is different.
unsupported_dataThe containers contain SimData but one or more of them contain either more than one data vector or a multi-dimensional data vector.
incompatible_simdataThe containers contain SimData, however the data in the object has different types (e.g. INT_4U vs. INT_4S), different units, or the beginning of the data in the second container does not correspond to the end of the data in the first container.
memory_allocation_failedError allocating memory.
invalid_format: "element" is unexpected typeSimData element specified by "element" has different type from expected.
invalid_format: "element" not foundSimData is missing "element".
invalid_formatSimData is malformed.
SwigException


concatSimDataList_r - Concatenate SimData -- get thread result

This command concatenates a list of SimData objects, creating a new object in the process. Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [concatSimDataList_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to a concatSimDataList thread.

Return value:
LdasContainer* ptResult - The concatenated object.

Exceptions:
ExceptionDescription
invalid_ilwd_elementA pointer to the ILWD element is invalid.
invalid_containerOne or both of the container objects don't exist.
invalid_frame_objectOne or both of the container objects do not contain a frame object.
not_simdataThe container objects contain a frame data type other than SimData.
not_frame_dataThe container objects are not frame data.
incompatible_typesThe container objects do not contain the same type.
bad_simdataThe containers contain SimData but it is malformed.
incompatible_channelsThe containers contain SimData but they are for different channels.
incompatible_sim_samplerateThe containers contain SimData but the sample rate is different.
unsupported_dataThe containers contain SimData but one or more of them contain either more than one data vector or a multi-dimensional data vector.
incompatible_simdataThe containers contain SimData, however the data in the object has different types (e.g. INT_4U vs. INT_4S), different units, or the beginning of the data in the second container does not correspond to the end of the data in the first container.
memory_allocation_failedError allocating memory.
invalid_format: "element" is unexpected typeSimData element specified by "element" has different type from expected.
invalid_format: "element" not foundSimData is missing "element".
invalid_formatSimData is malformed.
SwigException


concatSimDataList_t - Concatenate SimData -- threaded

This command concatenates a list of SimData objects, creating a new object in the process.

Usage - Basic SWIG interface:
set tid [concatSimDataList_t ptObjArray]

Parameters:
NameTypeDescription
ptObjArrayvector<LdasContainer*> &A pointer to a NULL terminated array of ILWD SimData objects in the C++ layer.

Return value:
tid* tid - A pointer to created thread.

Exceptions:
ExceptionDescription
SwigException


createDetector - Create a FrameCPP detector as ILWD container object.

This function creates new ILWD container object that represents FrameCPP detector structure. Detector metadata is passed as function arguments.

Parameters:
NameTypeDescription
nameconst char* Detector name.
longitudedouble Detector vertex longitude, degrees.
latitudedouble Detector vertex lattitude, degrees.
elevationfloat Vertex elevation, meters.
armXazimuthfloat Orientation of X arm.
armYazimuthfloat Orientation of Y arm.
armXaltitudefloat Altitude of X arm.
armYaltitudefloat Altitude of Y arm.
armXmidpointfloat Midpoint of X arm.
armYmidpointfloat Midpoint of Y arm.
localTimeint local time offset.
dataQualityunsigned int data quality word.
qaBitListconst char* data quality word definition list.

Return value:
LdasContainer* - A pointer to newly allocated ILWD container object.

Exceptions:
ExceptionDescription
SwigException
bad_allocMemory allocation failed.


createFrame - Create an empty FrameCPP Frame as ILWD container object.

Usage - Basic SWIG interface:
set ptContainer [ createFrame name run frame gtimes gtimen uleaps dt]

Parameters:
NameTypeDescription
nameconst char* The name for the frame.
rununsigned int The run number.
frameunsigned int The frame number.
gtimesunsigned int The GPS start time of the frame in seconds.
gtimenunsigned int The residual nanoseconds to the GPS start time.
uleapsunsigned short The integer number of leap seconds between GPS/TAI and UTC.
dtdouble The frame length in seconds.

Return value:
LdasContainer* ptContainer - A pointer to the newly allocated ILWD container object.

Exceptions:
ExceptionDescription
SwigException
bad_allocMemory allocation failed.


createHistory - Create a FrameCPP History as ILWD container object.

This function creates new ILWD container object that represents FrameCPP History structure. History metadata is passed as function arguments.

Usage - Basic SWIG interface:
set ptContainer [ createHistory name time comment ]

Parameters:
NameTypeDescription
nameconst char* Name of the history record.
timeunsigned int Time of post-processing. GPS time in integer seconds since GPS standard epoch.
commentconst char* Program name and relevant comments needed to define post-processing.

Return value:
LdasContainer* ptContainer - A pointer to newly allocated ILWD container object.

Exceptions:
ExceptionDescription
SwigException
bad_allocMemory allocation failed.


createMsg - Create a FrameCPP Msg as ILWD container object.

This function creates new ILWD container object that represents FrameCPP Msg structure. Msg metadata is passed as function arguments.

Usage - Basic SWIG interface:
set ptContainer [ createMsg alarm message severity ]

Parameters:
NameTypeDescription
alarmconst char* The name of the message, error flag or alarm state.
messageconst char* The message body.
severityunsigned int An integer indicating the message severity level.
gtimesunsigned int GPS time seconds.
gtimenunsigned int GPS time nanosecond residual.

Return value:
LdasContainer* ptContainer - A pointer to newly allocated ILWD container object.

Exceptions:
ExceptionDescription
SwigException
bad_allocMemory allocation failed.


createOuterDetectorProcContainer - Create an empty ILWD container to hold a linked list of FrameCPP ProcDetector data structures.

This is a helper function to be used only when genericAPI functions are used to create an ILWD frame object( 'addContainerElement' and so on ). All frameAPI conversion functions will handle this outter layer automatically.

Usage - Basic SWIG interface:
set ptContainer [ createOuterDetectorProcContainer ]

Return value:
LdasContainer* ptContainer - A pointer to newly allocated ILWD container object.


createOuterDetectorSimContainer - Create an empty ILWD container to hold a linked list of FrameCPP SimDetector data structures.

This is a helper function to be used only when genericAPI functions are used to create an ILWD frame object( 'addContainerElement' and so on ). All frameAPI conversion functions will handle this outter layer automatically.

Usage - Basic SWIG interface:
set ptContainer [ createOuterDetectorSimContainer ]

Return value:
LdasContainer* ptContainer - A pointer to newly allocated ILWD container object.


createOuterHistoryContainer - Create an empty ILWD container to hold a linked list of FrameCPP History data structures.

This is a helper function to be used only when genericAPI functions are used to create an ILWD frame object( 'addContainerElement' and so on ). All frameAPI conversion functions will handle this outter layer automatically.

Usage - Basic SWIG interface:
set ptContainer [ createOuterHistoryContainer ]

Return value:
LdasContainer* ptContainer - A pointer to newly allocated ILWD container object.


createProcData - Create a FrameCPP ProcData as ILWD container object.

This function creates new ILWD container object that represents FrameCPP FrProc structure. ProcData metadata is passed as function arguments.

Parameters:
NameTypeDescription
nameconst char* The name for the ProcData.
commentconst char* Comment.
sampleRatedouble sampling rate.
timeOffsetSint time offset second.
timeOffsetNint time offset nanoseconds.
fShiftdouble frequency shift.
phasedouble phase of heterodyning signal.
gtimesThe GPS start time of the target frame in seconds.
gtimenThe residual nanoseconds to the GPS start time.
dtThe target frame's length in seconds.

Return value:
LdasContainer* - A pointer to newly allocated ILWD container object.

Exceptions:
ExceptionDescription
SwigException
bad_allocMemory allocation failed.


createRawData - Create an empty FrameCPP RawData as ILWD container object.

This function creates new ILWD container object that represents FrameCPP RawData structure.

Usage - Basic SWIG interface:
set ptContainer [ createRawData name ]

Parameters:
NameTypeDescription
nameconst char* Name of the raw data.

Return value:
LdasContainer* ptContainer - A pointer to newly allocated ILWD container object.

Exceptions:
ExceptionDescription
SwigException
bad_allocMemory allocation failed.


createRawFrame - Create a simple template frame.

This function creates an empty frame. It copies the header, detector information and history data from passed to it frame.

Usage - Basic SWIG interface:
set ptFrame [createRawFrame ptSourceFrame]

Parameters:
NameTypeDescription
ptSourceFrameFrameH* Frame object pointer.

Return value:
FrameH* ptFrame - Newly created raw frame object.

Exceptions:
ExceptionDescription
bad_allocMemory allocation failed.


createResampleState - Create resampling state

Usage - Basic SWIG interface:
set resampleState [ createResampleState q adcPtr ]

Parameters:
NameTypeDescription
qdownsampling factor
adcPtrFrameCPP::AdcData object for which resampleState is intended

Return value:
ResampleBase* resampleState - resampling state. Keeps filter history.

Exceptions:
ExceptionDescription
SwigException


destructAdcData - Delete an ADC object from memory.

This is only meant to delete the result of getFrameAdcDataSlice, resampleAdcData function calls.

Usage - Basic SWIG interface:
destructADC adcPtr

Parameters:
NameTypeDescription
adcPtrFrAdcData* A pointer to an ADC object.

Exceptions:
ExceptionDescription
invalid_adcdataThe ADC does not exist in the C++ layer.
SwigException


destructFrame - Delete a frame object from memory.

Usage - Basic SWIG interface:
destructFrame ptFrame

Parameters:
NameTypeDescription
ptFrameFrameH* A pointer to a frame object.

Exceptions:
ExceptionDescription
invalid_frameThe frame does not exist in the C++ layer
SwigException


destructProcData - Delete ProcData object from memory.

This is only meant to delete the result of getFrameProcDataSlice*, adcPointer2ProcPointer function calls.

Usage - Basic SWIG interface:
destructProcData procPtr

Parameters:
NameTypeDescription
procPtrFrProcData* A pointer to ProcData object.

Exceptions:
ExceptionDescription
invalid_procdataThe ProcData does not exist in the C++ layer.
SwigException


destructResampleState - Destroy resampling state

Usage - Basic SWIG interface:
destructResampleState resampleState

Parameters:
NameTypeDescription
resampleStateResampleBase* resample state returned by createResampleState

Exceptions:
ExceptionDescription
SwigException


dumpFrameCPPRegistry - Display currently registered frameCPP objects.

This method is mostly to assist debugging of the API. It displays registered frameCPP objects of these classes: FrameH, FrameFile, AdcData, and ProcData.


fullFrame2container - Convert whole FrameCPP Frame into LDAS Container

Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [ fullFrame2container frame ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer.

Return value:
Ldascontainer* ptResult - newly allocated frame container

Exceptions:
ExceptionDescription
invalid_frameframe is not registered .
SwigException


fullFrame2container_r - Convert whole FrameCPP Frame into LDAS Container - thread return value

Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set container [fullFrame2container_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to a fullFrame2container thread.

Return value:
Ldascontainer* ptResult - newly allocated frame container.

Exceptions:
ExceptionDescription
invalid_frameframe is not registered
SwigException


fullFrame2container_t - Convert whole FrameCPP Frame into LDAS Container - Threaded

Usage - Basic SWIG interface:
set tid [ fullFrame2container_t frame ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer.

Return value:
tid* tid - A pointer to created thread.

Exceptions:
ExceptionDescription
SwigException


getChannelList - Get ADC Channel List

Usage - Basic SWIG interface:
set ptVar [getChannelList ptFrame]

Parameters:
NameTypeDescription
ptFrameconst FrameH* A pointer to a frame object.
ChannelSpecifierint An optional argument that specifies the types of channels to return. This value is the ORed value of CHANNEL_ADC, CHANNEL_PROC, CHANNEL_SERIAL, and CHANNEL_SIM. The default for this value is CHANNEL_ADC | CHANNEL_PROC.

Return value:
string ptVar - A TCL list consisting of the channel names of all of the ADC objects contained within the frame.

Exceptions:
ExceptionDescription
invalid_frameThe frame does not exist in the C++ layer.
SwigException


getChannelListFromFrameFile - Get list of channels from frame file.

Usage - Basic SWIG interface:
set ptVar [getChannelListFromFrameFile Filename MetaInfo ?ChannelSpecifier? ]

Parameters:
NameTypeDescription
Filenamestring The fully qualified filename
MetaInfoconst int Flag composed of the oring together of values described in the table below indicating which meta information associated with the channels should be retrieved. Standard meta information is the meta information that can be retieved by reading only the top most Fr structure for the specified channel type. Extended meta information requires the reading of the entire structure including all FrVect structures. This is more costly as some channels may have large data sets.
FlagDescription
META_INFO_ADC Obtain the standard metadata for an FrAdcData structure.
META_INFO_PROC Obtain the standard metadata for an FrProcData structure.
META_INFO_SIM Obtain the standard metadata for an FrSimEvent structure.
META_INFO_SERIAL Obtain the standard metadata for an FrSerData structure.
META_INFO_ALL Obtain the standard metadata for all Fr structures listed above.
EXTENDED_META_INFO_ADC Obtain the extended metadata for an FrAdcData structure.
EXTENDED_META_INFO_PROC Obtain the extended metadata for an FrProcData structure.
EXTENDED_META_INFO_SIM Obtain the extended metadata for an FrSimEvent structure.
EXTENDED_META_INFO_SERIAL Obtain the extended metadata for an FrSerData structure.
EXTENDED_META_INFO_ALL Obtain the extended metadata for all Fr structures listed above.
ChannelSpecifierint An optional argument that specifies the types of channels to return. This value is the ORed value of CHANNEL_ADC, CHANNEL_PROC, CHANNEL_SERIAL, and CHANNEL_SIM. The default for this value is CHANNEL_ADC | CHANNEL_PROC.

Return value:
string ptVar - A TCL list consisting of the channel names of all of the ADC objects contained within the frame.

Exceptions:
ExceptionDescription
invalid_frameThe frame does not exist in the C++ layer.
SwigException


getFrameAdcData - Find ADC structure by name or access by index.

This function returns a 'shallow' AdcData pointer( a pointer to the data of FrameCPP frame object ).

Usage - Basic SWIG interface:
set adc [ getFrameAdcData frame adcName ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer
adcNamechar* channel name or index

Return value:
FrameCPP::FrAdcData* ptResult - adc data pointer.

Exceptions:
ExceptionDescription
channel_not_foundchannel is not found
invalid_frameFrame object is invalid.
no_raw_dataRawData is not found.
SwigException


getFrameAdcDataBias - Get ADC bias.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataBias adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataChannelGroup - Get ADC channel group number.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataChannelGroup adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataChannelNumber - Get ADC channel number.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataChannelNumber adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataComment - Get ADC comment.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataComment adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataDataValid - Get ADC data valid flag.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataDataValid adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataFShift - Get ADC frequency shift.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataFShift adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataNBits - Get ADC's number of bits per sample.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataNBits adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataName - Get ADC name.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataName adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataNum - Get the number of ADC structures in a frame.

Usage - Basic SWIG interface:
set numADCs [ getFrameAdcDataNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object.

Return value:
unsigned long - Number of ADC structures.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameAdcDataPhase - Get ADC phase at start of dataset.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataPhase adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataSampleDt - Get ADC sample delta T.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataSampleDt adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataSampleRate - Get ADC sampling rate.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataSampleRate adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataSlice - Get a slice of the ADC data.

This call is only usefull for longer than one second ADC data structures. It creates new ADC structure, which is not linked to any frame. Function returns newly constructed C++ FrameCPP::AdcData object. User is responsible for the destruction of returned object( 'destructAdcData' ).

Usage - Basic SWIG interface:
set ptResult [ getFrameAdcDataSlice adcPtr offs dT ]

Parameters:
NameTypeDescription
adcPtrFrAdcData* source ADC data pointer.
offsdouble positive offset in seconds into the ADC data.
dTdouble delta T for the slice.

Return value:
FrameCPP::FrAdcData* ptResult - a pointer to newly allocated ADC data structure.

Exceptions:
ExceptionDescription
invalid_offsetSpecified offset is not valid for the data contained in the ADC.
invalid_dtSpecified delta time is too long.
bad_allocMemory allocation failed.
null adcdataAdcData pointer is NULL.
SwigException


getFrameAdcDataSlope - Get ADC Slope.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataSlope adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataTimeOffset - Get ADC time offset.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataTimeOffset adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataTimeOffsetN - Get ADC time offset nanoseconds.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataTimeOffsetN adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataTimeOffsetS - Get ADC time offset seconds.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataTimeOffsetS adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAdcDataUnits - Get ADC engineering unit string.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameAdcDataUnits adc ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.
bad_allocMemory allocation failed.


getFrameAttribute - Return an attribute of a frame.

Usage - Basic SWIG interface:
foreach {value idx} [getFrameAttribute ptFrame attribute] { break; }

Parameters:
NameTypeDescription
ptFrameFrameH* A pointer to a frame object.
attributechar* This is the atribute which the user wants to query. It is a somewhat complicated format which I'll describe later. An example is: rawData.adcData{channel="34"}.sampleRate

Return value:
string value - The value of the parameter string idx - the index into the array of matches to the query

Exceptions:
ExceptionDescription
invalid_frameThe frame does not exist in the C++ layer.
bad_attributeThe requested attribute does not exist.
bad_queryThe attribute query is malformed or did not match.
SwigException


getFrameAuxNum - Get the number of auxiliary data structures in a frame.

Usage - Basic SWIG interface:
set numAux [ getFrameAuxNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object

Return value:
unsigned long - Number of Aux structures.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameData - Return frame data.

The data is converted into the internal light-weight data format.

Usage - Basic SWIG interface:
foreach {ptElement idx} [getFrameData $ptFrame query] { break; }

Parameters:
NameTypeDescription
ptFrameFrameH* A pointer to a frame object.
queryconst char* This is an identifier for which data the user wants to obtain. Like the attribute parameter for 'getFrameAttribute', it is a somewhat complicated format which I'll describe later. An example is: rawData.adcData{name="IFO_MCR"}

Return value:
string ptElement - A pointer to an LdasElement instantiated in the C++ layer. This element contains the requested data. The name field contains information about which structure (in the frame) the data came from. string idx - The index into the array of ptElements which satisfied the query

Exceptions:
ExceptionDescription
invalid_frameThe frame does not exist in the C++ layer.
bad_queryThe query is malformed or did not match.
SwigException


getFrameDetectorArmXaltitude - Get Detector altitude angle of arm X.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorArmXaltitude detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorArmXazimuth - Get Detector orientation of arm X.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorArmXazimuth detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorArmXmidpoint - Get Detector midpoint of arm X.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorArmXmidpoint detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorArmYaltitude - Get Detector altitude angle of arm Y.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorArmYaltitude detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorArmYazimuth - Get Detector orientation of arm Y.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorArmYazimuth detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorArmYmidpoint - Get Detector midpoint of arm Y.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorArmYmidpoint detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorDataQuality - Get Detector's dataQuality word.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed. NOTE: This call is now depricated as of version 6 of the frame specification. .

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorDataQuality detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorElevation - Get Detector vertex elevation.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorElevation detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorLatitude - Get Detector vertex latitude (degrees).

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorLatitudeD detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorLocalTime - Get Detector's localTime offset.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorLocalTime detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorLongitude - Get Detector vertex longitude (degrees).

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorLongitudeD detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorName - Get Detector name.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorName detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorProc - Find frame detector structure by name of access by index.

This function returns a 'shallow' Detector pointer( a pointer to the data of FrameCPP frame object ).

NOTE: This pointer is only valid while the frame file is open. Anotherwords, open the frame file, read the detector stucture, do any processing or converting, and then close the frame file.

Usage - Basic SWIG interface:
set ptDetector [ getFrameDetectorProc frame ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer
detectorNamechar* Detector name or index.

Return value:
FrDetector* - A pointer to the Detector structure.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.
detectorProc_not_foundDetector structure is not found


getFrameDetectorProcNum - Get the number of detector structures in a frame.

Usage - Basic SWIG interface:
set numDetectProcs [ getFrameDetectorProcNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object

Return value:
unsigned long - Number of Detector structures.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameDetectorQaBitList - Get Detector's data quality descriptor list.

Note: Detector object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: NOTE: This call is now depricated as of version 6 of the frame specification. . Detector pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameDetectorQaBitList detector ]

Parameters:
NameTypeDescription
detectorFrDetector* A pointer to the FrameCPP Detector object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_detector_pointerDetector object is NULL.
bad_allocMemory allocation failed.


getFrameDetectorSim - Find frame simulation detector structure by name of access by index.

This function returns a 'shallow' Detector pointer( a pointer to the data of FrameCPP frame object ).

NOTE: This pointer is only valid while the frame file is open. Anotherwords, open the frame file, read the detector stucture, do any processing or converting, and then close the frame file.

Usage - Basic SWIG interface:
set ptDetector [ getFrameDetectorSim frame ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer
detectorNamechar* Detector name or index.

Return value:
FrDetector* - A pointer to the Detector structure.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.
detectorSim_not_foundSimulated detector structure is not found


getFrameDetectorSimNum - Get the number of simulated detector structures in a frame.

Usage - Basic SWIG interface:
set numDetectSims [ getFrameDetectorSimNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object

Return value:
unsigned long - Number of simulated detectors.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameDictionary - Get FrameCPP dictionary info.

Usage - Basic SWIG interface:
set str [ getFrameDictionary ]

Return value:
string -

Exceptions:
ExceptionDescription
None.


getFrameEvent - Find Event structure by name or access by index.

This function returns a 'shallow' Event pointer( a pointer to the data of FrameCPP frame object ).

Usage - Basic SWIG interface:
set proc [ getFrameEvent frame eventName ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer.
eventNamechar* Event name or index.

Return value:
FrameCPP::FrEvent* ptResult - Event pointer.

Exceptions:
ExceptionDescription
event_not_foundEventData channel is not found.
invalid_frameFrame object is invalid.
SwigException


getFrameEventAmplitude - Get Event amplitude.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventAmplitude event ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventComment - Get Event comment.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventComment event ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventEventStatus - Get Event eventStatus.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventEventStatus event ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventGTime - Get Event's "maximum of event" time.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventGTime event ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventInputs - Get Event inputs.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventInputs event ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventNParam - Get Event number of additional event parameters.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventNParam event ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventName - Get Event name.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventName event ]

Parameters:
NameTypeDescription
eventEventData* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventNum - Get the number of Event structures in a frame.

Usage - Basic SWIG interface:
set numEventStructs [ getFrameEventNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object

Return value:
unsigned long - Number of Event structures..

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameEventParameterNames - Get Event parameter Name at offset x.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventParameterNames event index ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.
indexINT_2U Index of parameter name to get

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventParameters - Get Event parameter at offset x.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventParameters event index ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.
indexINT_2U Index of parameter to get

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventProbability - Get Event probability.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventProbability event ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventStatistics - Get Event statistics.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventStatistics event ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventTimeAfter - Get Event timeAfter.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventTimeAfter Event ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameEventTimeBefore - Get Event timeBefore.

Note: Event object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Event pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameEventTimeBefore event ]

Parameters:
NameTypeDescription
eventFrEvent* A pointer to the FrameCPP Event object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerEvent object is NULL.
bad_allocMemory allocation failed.


getFrameFrameH - Convert FrameCPP Frame Header into LDAS Container History and Detector structures are included too.

Caller is responsible for destruction of the result ILWD object.

Usage - Basic SWIG interface:
set ptResult [ getFrameFrameH frame ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer.

Return value:
Ldascontainer* ptResult - newly allocated frame container.

Exceptions:
ExceptionDescription
invalid_frameframe is not registered
SwigException


getFrameFrameHDataQuality - Get frame dataQuality

Usage - Basic SWIG interface:
set ptElement [ getFrameFrameHDataQuality frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the frame object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.
bad_allocMemory allocation failed.


getFrameFrameHDt - Get frame period (delta t or Dt)

Usage - Basic SWIG interface:
set ptElement [ getFrameFrameHDt frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the frame object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.
bad_allocMemory allocation failed.


getFrameFrameHFrame - Get frame "frame number"

Usage - Basic SWIG interface:
set ptElement [ getFrameFrameHFrame frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.
bad_allocMemory allocation failed.


getFrameFrameHGTime - Get frame GPS time.

Usage - Basic SWIG interface:
set ptElement [ getFrameFrameHGTime frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the frame object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.
bad_allocMemory allocation failed.


getFrameFrameHName - Get frame name.

Usage - Basic SWIG interface:
set ptElement [ getFrameFrameHName frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.
bad_allocMemory allocation failed.


getFrameFrameHRun - Get frame run number.

Usage - Basic SWIG interface:
set ptElement [ getFrameFrameHRun frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.
bad_allocMemory allocation failed.


getFrameFrameHULeapS - Get frame leap seconds.

Usage - Basic SWIG interface:
set ptElement [ getFrameFrameHULeapS frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the frame object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.
bad_allocMemory allocation failed.


getFrameHistory - Find History structure by name or access by index.

This function returns a 'shallow' History pointer( a pointer to the data of FrameCPP frame object ).

Usage - Basic SWIG interface:
set ptResult [ getFrameHistory frame historyName ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer.
historyNamechar* History name or index.

Return value:
FrameCPP::FrHistory* ptResult - History structure pointer.

Exceptions:
ExceptionDescription
history_not_foundHistory record was not found.
invalid_frameFrame object is invalid.
SwigException


getFrameHistoryComment - Get History comment.

Note: History object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: History pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameHistoryComment hist ]

Parameters:
NameTypeDescription
histFrHistory* A pointer to the FrameCPP History object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_history_pointerHistory object is NULL.
bad_allocMemory allocation failed.


getFrameHistoryName - Get History name.

Note: History object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: History pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameHistoryName hist ]

Parameters:
NameTypeDescription
histFrHistory* A pointer to the FrameCPP History object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_history_pointerHistory object is NULL.
bad_allocMemory allocation failed.


getFrameHistoryNum - Get the number of history data structures in a frame.

Usage - Basic SWIG interface:
set numHist [ getFrameHistoryNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object.

Return value:
unsigned long - Number of History structures.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameHistoryTime - Get History time.

Note: History object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: History pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameHistoryTime hist ]

Parameters:
NameTypeDescription
histFrHistory* A pointer to the FrameCPP History object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_history_pointerHistory object is NULL.
bad_allocMemory allocation failed.


getFrameMsg - Find Msg structure by name or access by index.

This function returns a 'shallow' Msg pointer( a pointer to the data of FrameCPP frame object ).

Usage - Basic SWIG interface:
set msg [ getFrameMsg frame msgName ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer
msgNamechar* message name or index

Return value:
FrameCPP::FrMsg* ptResult - Msg pointer.

Exceptions:
ExceptionDescription
msg_not_foundchannel is not found
invalid_frameFrame object is invalid.
no_raw_dataRawData is not found.
SwigException


getFrameMsgAlarm - Get Msg alarm (name of message).

Note: Msg object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Msg pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameMsgAlarm msg ]

Parameters:
NameTypeDescription
msgFrMsg* A pointer to the FrameCPP Msg object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_msg_pointerMsg object is NULL.
bad_allocMemory allocation failed.


getFrameMsgGTime - Get Msg GPS time.

Note: Msg object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Msg pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameMsgGTime msg ]

Parameters:
NameTypeDescription
msgFrMsg* A pointer to the FrameCPP Msg object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_msg_pointerMsg object is NULL.
bad_allocMemory allocation failed.


getFrameMsgMessage - Get Msg message.

Note: Msg object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Msg pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameMsgMessage msg ]

Parameters:
NameTypeDescription
msgFrameCPP::FrMsg* A pointer to the FrameCPP Msg object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_msg_pointerMsg object is NULL.
bad_allocMemory allocation failed.


getFrameMsgNum - Get the number of Msg structures in a frame.

Usage - Basic SWIG interface:
set numMsg [ getFrameMsgNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object.

Return value:
unsigned long - Number of Msg structures.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameMsgSeverity - Get Msg severity.

Note: Msg object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Msg pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameMsgSeverity msg ]

Parameters:
NameTypeDescription
msgFrMsg* A pointer to the FrameCPP Msg object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_msg_pointerMsg object is NULL.
bad_allocMemory allocation failed.


getFrameNumber - Read the number of frames from the TOC structure

Usage - Basic SWIG interface:
set ifnum [getFrameNumber ptFrameFile]

Parameters:
NameTypeDescription
ptFrameFileFrameFile* A pointer to a frame file object in the C++ layer. This object must have been created via the openFrameFile command.

Return value:
INT_4U - Integer number, the number of frames in the file.

Exceptions:
ExceptionDescription
invalid_frame_fileThe pointer is invalid (it does not point to a valid object in the C++ layer).
read_failure


getFrameProcData - Find ProcData structure by name or access by index.

This function returns a 'shallow' ProcData pointer( a pointer to the data of FrameCPP frame object ).

Usage - Basic SWIG interface:
set proc [ getFrameProc frame procName ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer.
procNamechar* procData channel name or index.

Return value:
FrameCPP::FrProcData* ptResult - procData pointer.

Exceptions:
ExceptionDescription
procdata_not_foundProcData channel is not found
invalid_frameFrame object is invalid.
SwigException


getFrameProcDataAuxParam - Get ProcData auxParam at offset x.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataAuxParameters procdata index ]

Parameters:
NameTypeDescription
procdataFrProcData* A pointer to the FrameCPP ProcData object.
indexINT_2U Index of auxParam to get

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataAuxParamNames - Get ProcData auxParam Name at offset x.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataAuxParameterNames procdata index ]

Parameters:
NameTypeDescription
procdataFrProcData* A pointer to the FrameCPP ProcData object.
indexINT_2U Index of auxParam name to get

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataBW - Get ProcData BW at start of dataset.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataBW proc ]

Parameters:
NameTypeDescription
procFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataComment - Get ProcData comment.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataComment proc ]

Parameters:
NameTypeDescription
procFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataFRange - Get ProcData frequency range.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataFRange proc ]

Parameters:
NameTypeDescription
procFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataFShift - Get ProcData frequency shift.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataFShift proc ]

Parameters:
NameTypeDescription
procFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataNAuxParam - Get ProcData number of additional procdata parameter.s

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataNAuxParam procdata ]

Parameters:
NameTypeDescription
procdataFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataName - Get ProcData name.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataName proc ]

Parameters:
NameTypeDescription
procFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataNum - Get the number of procesed data structures in a frame.

Usage - Basic SWIG interface:
set numProc [ getFrameProcDataNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object

Return value:
unsigned long - Number of ProcData structures..

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameProcDataPhase - Get ProcData phase at start of dataset.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataPhase proc ]

Parameters:
NameTypeDescription
procFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataSlice - Get a slice of the Proc data.

It creates new ProcData structure, which is not linked to any frame. Function returns newly constructed C++ FrameCPP::ProcData object. User is responsible for the destruction of returned object( 'destructProcData' ).

Usage - Basic SWIG interface:
set ptResult [ getFrameProcDataSlice procPtr offs length ]

Parameters:
NameTypeDescription
procPtrFrProcData* Source ProcData data pointer.
offsetdouble Offset into the ADC data.
deltadouble Slice data length.

Return value:
FrameCPP::FrProcData* ptResult - a pointer to newly allocated ProcData data structure.

Exceptions:
ExceptionDescription
invalid_offsetSpecified offset is not valid for the data contained in the ProcData.
invalid_lengthSpecified length is too long.
std::bad_allocMemory allocation failed.
null procdataProcData pointer is NULL.
SwigException


getFrameProcDataSliceIndex - Get a slice of the Proc data.

It creates new ProcData structure, which is not linked to any frame. Function returns newly constructed C++ FrameCPP::ProcData object. User is responsible for the destruction of returned object( 'destructProcData' ).

Usage - Basic SWIG interface:
set ptResult [ getFrameProcDataSliceIndex procPtr offs length ]

Parameters:
NameTypeDescription
procPtrFrProcData* source ProcData data pointer.
offsunsigned int index into the ADC data.
lengthunsigned int slice data length.

Return value:
FrameCPP::FrProcData* ptResult - a pointer to newly allocated ProcData data structure.

Exceptions:
ExceptionDescription
std::bad_allocMemory allocation failed.
null procdataProcData pointer is NULL.
invalid_offsetSpecified offset is not valid for the data contained in the ProcData.
invalid_lengthSpecified length is too long.
SwigException


getFrameProcDataSubType - Get ProcData subType.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataSubType proc ]

Parameters:
NameTypeDescription
procFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataTRange - Get ProcData time range.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataTRange proc ]

Parameters:
NameTypeDescription
procFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataTimeOffset - Get ProcData time offset.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataTimeOffset proc ]

Parameters:
NameTypeDescription
procFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameProcDataType - Get ProcData type.

Note: ProcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: ProcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameProcDataType proc ]

Parameters:
NameTypeDescription
procFrProcData* A pointer to the FrameCPP ProcData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_procdata_pointerProcData object is NULL.
bad_allocMemory allocation failed.


getFrameSerData - Find Serial Data structure by name or access by index.

This function returns a 'shallow' SerData pointer( a pointer to the data of FrameCPP frame object ).

Usage - Basic SWIG interface:
set adc [ getFrameSerData frame serName ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer
serNamechar* channel name or index

Return value:
FrameCPP::FrSerData* ptResult - serial data pointer.

Exceptions:
ExceptionDescription
serdata_not_foundchannel is not found
invalid_frameFrame object is invalid.
no_raw_dataRawData is not found.
SwigException


getFrameSerDataData - Get Serial Data Data.

Note: SerData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SerData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSerDataData ser ]

Parameters:
NameTypeDescription
serFrSerData* A pointer to the FrameCPP SerData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_serdata_pointerSerData object is NULL.
bad_allocMemory allocation failed.


getFrameSerDataName - Get Serial Data name.

Note: SerData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SerData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSerDataName ser ]

Parameters:
NameTypeDescription
serFrSerData* A pointer to the FrameCPP SerData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_serdata_pointerSerData object is NULL.
bad_allocMemory allocation failed.


getFrameSerDataNum - Get the number of Serial data structures in a frame.

Usage - Basic SWIG interface:
set numSerial [ getFrameSerDataNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object.

Return value:
unsigned long - Number of SerData structures.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameSerDataSampleRate - Get Serial Data sampling rate.

Note: SerData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SerData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSerDataSampleRate ser ]

Parameters:
NameTypeDescription
serFrSerData* A pointer to the FrameCPP SerData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_serdata_pointerSerData object is NULL.
bad_allocMemory allocation failed.


getFrameSerDataTime - Get Serial Data acquisition time.

Note: SerData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SerData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSerDataTime ser ]

Parameters:
NameTypeDescription
serFrSerData* A pointer to the FrameCPP SerData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_serdata_pointerSerData object is NULL.
bad_allocMemory allocation failed.


getFrameSimData - Find SimData structure by name or access by index.

This function returns a 'shallow' SimData pointer( a pointer to the data of FrameCPP frame object ).

Usage - Basic SWIG interface:
set proc [ getFrameSimData frame simName ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer.
simNamechar* SimData name or index.

Return value:
FrameCPP::FrSimData* ptResult - SimData pointer.

Exceptions:
ExceptionDescription
simdata_not_foundSimData channel is not found.
invalid_frameFrame object is invalid.
SwigException


getFrameSimDataComment - Get SimData comment.

Note: SimData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimDataComment sim ]

Parameters:
NameTypeDescription
simFrSimData* A pointer to the FrameCPP SimData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simdata_pointerSimData object is NULL.
bad_allocMemory allocation failed.


getFrameSimDataFShift - Get SimData frequency shift.

Note: SimData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimDataFShift sim ]

Parameters:
NameTypeDescription
simFrSimData* A pointer to the FrameCPP SimData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simdata_pointerSimData object is NULL.
bad_allocMemory allocation failed.


getFrameSimDataName - Get SimData name.

Note: SimData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimDataName sim ]

Parameters:
NameTypeDescription
simFrSimData* A pointer to the FrameCPP SimData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simdata_pointerSimData object is NULL.
bad_allocMemory allocation failed.


getFrameSimDataNum - Get the number of simulation data structures in a frame.

Usage - Basic SWIG interface:
set numSimData [ getFrameSimDataNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object

Return value:
unsigned long - Number of SimData structures..

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameSimDataPhase - Get SimData phase at start of dataset.

Note: SimData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimDataPhase sim ]

Parameters:
NameTypeDescription
simFrSimData* A pointer to the FrameCPP SimData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simdata_pointerSimData object is NULL.
bad_allocMemory allocation failed.


getFrameSimDataSampleRate - Get SimData sampling rate.

Note: SimData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimDataSampleRate sim ]

Parameters:
NameTypeDescription
simFrSimData* A pointer to the FrameCPP SimData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simdata_pointerSimData object is NULL.
bad_allocMemory allocation failed.


getFrameSimEvent - Find SimEvent structure by name or access by index.

This function returns a 'shallow' SimEvent pointer( a pointer to the data of FrameCPP frame object ).

Usage - Basic SWIG interface:
set proc [ getFrameSimEvent frame simName ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer.
simNamechar* SimEvent name or index.

Return value:
FrameCPP::FrSimEvent* ptResult - SimEvent pointer.

Exceptions:
ExceptionDescription
simevent_not_foundSimEvent channel is not found.
invalid_frameFrame object is invalid.
SwigException


getFrameSimEventAmplitude - Get SimEvent amplitude.

Note: SimEvent object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimEvent pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimEventAmplitude sim ]

Parameters:
NameTypeDescription
simFrSimEvent* A pointer to the FrameCPP SimEvent object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simevent_pointerSimEvent object is NULL.
bad_allocMemory allocation failed.


getFrameSimEventComment - Get SimEvent comment.

Note: SimEvent object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimEvent pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimEventComment sim ]

Parameters:
NameTypeDescription
simFrSimEvent* A pointer to the FrameCPP SimEvent object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simevent_pointerSimEvent object is NULL.
bad_allocMemory allocation failed.


getFrameSimEventGTime - Get SimEvent maximum of event time.

Note: SimEvent object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimEvent pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimEventGTime sim ]

Parameters:
NameTypeDescription
simFrSimEvent* A pointer to the FrameCPP SimEvent object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simevent_pointerSimEvent object is NULL.
bad_allocMemory allocation failed.


getFrameSimEventInputs - Get SimEvent inputs.

Note: SimEvent object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimEvent pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimEventInputs sim ]

Parameters:
NameTypeDescription
simFrSimEvent* A pointer to the FrameCPP SimEvent object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simevent_pointerSimEvent object is NULL.
bad_allocMemory allocation failed.


getFrameSimEventNParam - Get SimEvent number of additional event parameters.

Note: SimEvent object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimEvent pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimEventNParam event ]

Parameters:
NameTypeDescription
eventFrSimEvent* A pointer to the FrameCPP SimEvent object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerSimEvent object is NULL.
bad_allocMemory allocation failed.


getFrameSimEventName - Get SimEvent name.

Note: SimEvent object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimEvent pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimEventName sim ]

Parameters:
NameTypeDescription
simFrSimEvent* A pointer to the FrameCPP SimEvent object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simevent_pointerSimEvent object is NULL.
bad_allocMemory allocation failed.


getFrameSimEventNum - Get the number of SimEvent data structures in a frame.

Usage - Basic SWIG interface:
set numSimEventStructs [ getFrameSimEventNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object

Return value:
unsigned long - Number of SimEvent structures.

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameSimEventParameterNames - Get SimEvent parameter Name at offset x.

Note: SimEvent object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimEvent pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimEventParameterNames event index ]

Parameters:
NameTypeDescription
eventFrSimEvent* A pointer to the FrameCPP SimEvent object.
indexINT_2U Index of parameter name to get

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerSimEvent object is NULL.
bad_allocMemory allocation failed.


getFrameSimEventParameters - Get SimEvent parameter at offset x.

Note: SimEvent object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimEvent pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimEventParameters event index ]

Parameters:
NameTypeDescription
eventFrSimEvent* A pointer to the FrameCPP SimEvent object.
indexINT_2U Index of parameter to get

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_event_pointerSimEvent object is NULL.
bad_allocMemory allocation failed.


getFrameSimEventTimeAfter - Get SimEvent timeAfter.

Note: SimEvent object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimEvent pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimEventTimeAfter sim ]

Parameters:
NameTypeDescription
simFrSimEvent* A pointer to the FrameCPP SimEvent object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simevent_pointerSimEvent object is NULL.
bad_allocMemory allocation failed.


getFrameSimEventTimeBefore - Get SimEvent timeBefore.

Note: SimEvent object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: SimEvent pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSimEventTimeBefore sim ]

Parameters:
NameTypeDescription
simFrSimEvent* A pointer to the FrameCPP SimEvent object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_simevent_pointerSimEvent object is NULL.
bad_allocMemory allocation failed.


getFrameStatData - Find StatData structure by name or by index.

Usage - Basic SWIG interface:
set nFound [ getFrameStat detector statName representation pointerList ]

Parameters:
NameTypeDescription
detectorFrDetector* Pointer to detector, whose static data is needed.
statNamechar* Static Data structure name to search for or the index (representation is ignored then).
representationchar* Static Data structure representation to search for.
pointerListvector<StatData *> &- value result; list of all Statics matched. These StatData pointers are shallow: pointers to the data of Detector object.

Return value:
int result - number of structures found.

Exceptions:
ExceptionDescription
SwigException
null_detector_pointerDetector object is NULL.


getFrameStatDataComment - Get Static Data Structure comment string.

Note: StatData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: StatData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameStatDataComment stat ]

Parameters:
NameTypeDescription
statFrStatData* A pointer to the FrameCPP StatData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_statdata_pointerStatData object is NULL.
bad_allocMemory allocation failed.


getFrameStatDataName - Get Static Data Structure name.

Note: StatData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: StatData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameStatDataName stat ]

Parameters:
NameTypeDescription
statFrStatData* A pointer to the FrameCPP StatData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_statdata_pointerStatData object is NULL.
bad_allocMemory allocation failed.


getFrameStatDataRepresentation - Get Static Data Structure representation string.

Note: StatData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: StatData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameStatDataRepresentation stat ]

Parameters:
NameTypeDescription
statFrStatData* A pointer to the FrameCPP StatData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_statdata_pointerStatData object is NULL.
bad_allocMemory allocation failed.


getFrameStatDataTimeEnd - Get Static Data Structure timeEnd variable.

Note: StatData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: StatData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameStatDataTimeEnd start ]

Parameters:
NameTypeDescription
statFrStatData* A pointer to the FrameCPP StatData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_statdata_pointerStatData object is NULL.
bad_allocMemory allocation failed.


getFrameStatDataTimeStart - Get Static Data Structure timeStart variable.

Note: StatData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: StatData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameStatDataTimeStart start ]

Parameters:
NameTypeDescription
statFrStatData* A pointer to the FrameCPP StatData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_statdata_pointerStatData object is NULL.
bad_allocMemory allocation failed.


getFrameStatDataVersion - Get Static Data Structure version.

Note: StatData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: StatData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameStatDataVersion start ]

Parameters:
NameTypeDescription
statFrStatData* A pointer to the FrameCPP StatData object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_statdata_pointerStatData object is NULL.
bad_allocMemory allocation failed.


getFrameSummary - Find Summary structure by name or access by index.

This function returns a 'shallow' Summary pointer( a pointer to the data of FrameCPP frame object ).

Usage - Basic SWIG interface:
set proc [ getFrameSummary frame sumName ]

Parameters:
NameTypeDescription
frameFrameH* frame pointer.
sumNamechar* Summary name or index.

Return value:
FrameCPP::FrSummary* ptResult - Summary pointer.

Exceptions:
ExceptionDescription
sum_not_foundSummary channel is not found.
invalid_frameFrame object is invalid.
SwigException


getFrameSummaryComment - Get Summary comment.

Note: Summary object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Summary pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSummaryComment sum ]

Parameters:
NameTypeDescription
sumFrSummary* A pointer to the FrameCPP Summary object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_summary_pointerSummary object is NULL.
bad_allocMemory allocation failed.


getFrameSummaryGTime - Get Summary GPS time.

Note: Summary object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Summary pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSummaryGTime sum ]

Parameters:
NameTypeDescription
sumFrSummary* A pointer to the FrameCPP Summary object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_summary_pointerSummary object is NULL.
bad_allocMemory allocation failed.


getFrameSummaryName - Get Summary name.

Note: Summary object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Summary pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSummaryName sum ]

Parameters:
NameTypeDescription
sumFrSummary* A pointer to the FrameCPP Summary object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_summary_pointerSummary object is NULL.
bad_allocMemory allocation failed.


getFrameSummaryNum - Get the number of summary data structures in a frame.

Usage - Basic SWIG interface:
set numSummaryStructs [ getFrameSummaryNum frame ]

Parameters:
NameTypeDescription
frameFrameH* A pointer to the FrameCPP frame object

Return value:
unsigned long - Number of Summary structures..

Exceptions:
ExceptionDescription
invalid_frameFrame object is invalid.


getFrameSummaryTest - Get Summary test.

Note: Summary object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: Summary pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ getFrameSummaryTest sum ]

Parameters:
NameTypeDescription
sumFrSummary* A pointer to the FrameCPP Summary object.

Return value:
string - String representation of ILWD element pointer.

Exceptions:
ExceptionDescription
null_summary_pointerSummary object is NULL.
bad_allocMemory allocation failed.


ilwd2frame - Convert an ILWD frame to a FrameCPP frame.

Caller is responsible for destruction of the result FrameCPP object.

Usage - Basic SWIG interface:
set ptFrame [ilwd2frame ptILwdFrame]param: LdasContainer* ptILwdFrame - A pointer to an ILWD frame in the C layer. This is an ILWD container object which holds a frame.

Return value:
FrameH* ptFrame - A FrameCPP frame object instantiated in the C++ layer.

Exceptions:
ExceptionDescription
invalid_containerThe ILWD frame does not exist.
invalid_formatThe ILWD frame object was malformed.
SwigException


ilwd2frame_r - Convert an ILWD frame to a FrameCPP frame - thread return value

Caller is responsible for destruction of the result FrameCPP object.

Usage - Basic SWIG interface:
set ptFrame [ilwd2frame_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to a ilwd2frame thread.

Return value:
FrameH* ptFrame - A FrameCPP frame object instantiated in the C++ layer.

Exceptions:
ExceptionDescription
invalid_containerThe ILWD frame does not exist.
invalid_formatThe ILWD frame object was malformed.
SwigException


ilwd2frame_t - Convert an ILWD frame to a FrameCPP frame - Threaded

Usage - Basic SWIG interface:
set tid [ilwd2frame_t ptILwdFrame]param: LdasContainer* ptILwdFrame - A pointer to an ILWD frame in the C layer. This is an ILWD container object which holds a frame.

Return value:
tid* tid - A pointer to created thread.

Exceptions:
ExceptionDescription
SwigException


insertAdcChanList - Transfer Frame ADC channels into an ILWD container.

Usage - Basic SWIG interface:
insertAdcChanList frame f "chan1 10 125-200"

Parameters:
NameTypeDescription
frameFrame *Valid FrameCPP frame object where the data is copied from.
fLdasContainer *Valid ILWD frame object to which the data will be added.
channelListchar* ADC channel names, indexes, index ranges. Empty list means all ADCs.

Exceptions:
ExceptionDescription
channel_not_founda channel from the `channels' list is not found.
invalid_frameframe is not registered.
invalid_containercontainer is not registered.
invalid_containercontainer is not a frame container.
no_rawdatathere is no raw data in the container.
bad_rawdatainvalid adcdata within the rawdata.
SwigException


insertDetector - Insert detector structure from the FrameCPP `frame' into the LDAS container `f'.

Usage - Basic SWIG interface:
insertDetector frame f

Parameters:
NameTypeDescription
frameFrame *Valid FrameCPP frame object where the data is copied from.
fLdasContainer *Valid ILWD frame object to which the data be added.

Exceptions:
ExceptionDescription
detector_not_foundThere is no Detector structure in the `frame'
invalid_frameFrameCPP `frame' is not registered
invalid_containerILwd frame container is not a valid object.
bad_ilwd_frameILWD format frame is malformed.
bad_allocMemory allocation failed.
SwigException


insertFrameData - Insert ILWD frame data into an ILWD frame.

This function inserts a deep copy of ILWD frame data into the ILWD frame container. ILWD data can be any FrameCPP data structure, such as AdcData, ProcData, History, ProcDetector, SimDetector, etc.

Boolean flag checkTime enables( if TRUE )/disables( if FALSE ) "frame time - frame data time" validation: time associated with the data must be the start time of the frame it's getting inserted into. This is a TCL's responsibility to pass the correct value for the flag. Malformed frames will be a result of improper use of this flag.

Usage - Basic SWIG interface:
insertFrameData ptILwdFrame ptILwdFrameData

Parameters:
NameTypeDescription
ptILwdFrameLdasContainer* A pointer to a valid ILWD frame object in the C++ layer.
ptILwdFrameDataLdasContainer* A pointer to a valid ILWD frame data object in the C++ layer.
validateTimeconst bool A flag to enable/disable time stamp validation for data insertion. TRUE to enable, FALSE to disable. Default is TRUE( value = 1 ).

Return value:
none -

Exceptions:
ExceptionDescription
invalid_containerOne of the container objects does not exist in the C++ layer.
invalid_frameThe frame container does not represent a frame.
invalid_frame_dataThe frame data object being added does not represent frame data.
invalid_requestThe second container is also a frame object (adding a frame object to a frame object is not supported) or it is not a frame data object at all.
incompatible_timeThe second container represents a data object which corresponds to a different time than the frame object.
incompatible_lengthThe second container represents a data object which has a different 'dt' than the frame to which it is being added.
no_rawdataThe ILWD frame data object represents AdcData, SerData or a LogMsg there is no RawData object in the frame.
detectsim_existsThe ILWD frame data object represents a frame detectSim but there is already one present in the frame.
detectproc_existsThe ILWD frame data object represents a frame detectProc but there is already one present in the frame.
rawdata_existsThe ILWD frame data object represents a frame RawData structure but there is already one present in the frame.
bad_frameThe ILWD frame object is malformed.
bad_adcdataThe ILWD frame data object represents AdcData but it is malformed.
bad_detectorThe ILWD frame data object represents a detector but it is malformed.
bad_procdataThe ILWD frame data object represents ProcData but it is malformed.
bad_simdataThe ILWD frame data object represents SimData but it is malformed.
bad_serdataThe ILWD frame data object represents SerData but it is malformed.
bad_eventThe ILWD frame data object represents Event but it is malformed.
SwigException


insertHistory - Insert all history structures from the FrameCPP 'frame' into the LDAS container `f'.

Usage - Basic SWIG interface:
insertHistory frame f

Parameters:
NameTypeDescription
frameFrame *Valid FrameCPP frame object where the data is copied from.
fLdasContainer *Valid ILWD frame object to which the data be added.

Exceptions:
ExceptionDescription
invalid_frameFrameCPP `frame' is not registered
invalid_containerILwd frame container is not a valid object.
bad_ilwd_frameILWD format frame is malformed.
bad_allocMemory allocation failed.
SwigException


insertSerChanList - Transfer Frame Serial Data channels into an ILWD container.

Usage - Basic SWIG interface:
insertSerChanList frame f "chan1 10 125-200"

Parameters:
NameTypeDescription
frameFrame *Valid FrameCPP frame object where the data is copied from.
fLdasContainer *Valid ILWD frame object to which the data will be added added.
channelListchar *Serial data channel names, indexes, index ranges. Empty list means all Serial data channels.

Exceptions:
ExceptionDescription
channel_not_founda channel from the `channels' list is not found.
invalid_frameframe is not registered.
invalid_containercontainer is not registered.
invalid_containercontainer is not a frame container.
no_rawdatathere is no raw data in the container.
bad_rawdatainvalid serdata within the rawdata.
SwigException


isFrameValid - Is frame a valid object?

This method returns true if the frame is a valid C++ object, false otherwise.

Usage - Basic SWIG interface:
isFrameValid frame

Parameters:
NameTypeDescription
frameFrameCPP::FrameH* A pointer to the FrameCPP frame object.

Return value:
bool - True if valid, false otherwise.


normalizeFrameTimeILwd - Normalize time data within Frame Container and subcontainers.

Usage - Basic SWIG interface:
normalizeFrameTimeILwd Frame

Parameters:
NameTypeDescription
FrameLdasContainer* Pointer to Frame container.


openFrameFile - Open a frame file for reading/writing.

Usage - Basic SWIG interface:
set ptFrameFile [openFrameFile filename mode]

Parameters:
NameTypeDescription
filenameconst char* The filename to open.
modeconst char* The mode in which the file should be opened. Valid modes are (they are not case sensitive):
  • r - Open the file for reading
  • w - Open the file for writing. This will overwrite a preexisting file. If the file doesn't exist it will be created.

Return value:
FrameFile* prFrameFile - A pointer to the frame file object instantiated in the C++ layer.

Exceptions:
ExceptionDescription
file_not_foundThe file couldn't be located.
invalid_modeAn invalid mode was specified.
permission_deniedPermission to access the file or a directory component was denied.
bad_allocInsufficient kernel memory to open the file.
io_errorAn unknown I/O error occurred.
file_creation_failedThe file could not be created.


openFrameFile_r - Open a frame file for reading/writing. - Thread return value

Usage - Basic SWIG interface:
set ptFrameFile [openFrameFile_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to readFrame thread

Return value:
FrameFile* prFrameFile - A pointer to the frame file object instantiated in the C++ layer.


openFrameFile_t - Open a frame file for reading/writing. - Threaded

Parameters:
NameTypeDescription
filenameconst char* The filename to open.
modeconst char* The mode in which the file should be opened. Valid modes are (they are not case sensitive):
  • r - Open the file for reading
  • w - Open the file for writing. This will overwrite a preexisting file. If the file doesn't exist it will be created.

Return value:
tid* tid - A pointer to created thread


readFrame - Read a frame from a file.

Usage - Basic SWIG interface:
set ptFrame [readFrame ptFrameFile]

Parameters:
NameTypeDescription
ptFrameFileFrameFile* A pointer to a frame file object in the C++ layer. This object must have been created via the openFrameFile command.

Return value:
FrameH* ptFrame - A pointer to the newly allocated frame object.

Exceptions:
ExceptionDescription
invalid_frame_fileThe pointer is invalid (it does not point to a valid object in the C++ layer).
read_failureError reading frame file.


readFrame_r - Read a frame from a file - Thread return value

Usage - Basic SWIG interface:
set ptFrame [readFrame_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to readFrame thread

Return value:
FrameH* ptFrame - A pointer to the newly allocated frame object.

Exceptions:
ExceptionDescription
invalid_frame_fileThe pointer is invalid (it does not point to a valid object in the C++ layer).
read_failure
SwigException


readFrame_t - Read a frame from a file - Threaded

Usage - Basic SWIG interface:
set tid [readFrame_t ptFrameFile]

Parameters:
NameTypeDescription
ptFrameFileFrameFile* A pointer to a frame file object in the C++ layer. This object must have been created via the openFrameFile command.

Return value:
tid* tid - A pointer to created thread

Exceptions:
ExceptionDescription
invalid_frame_fileThe pointer is invalid (it does not point to a valid object in the C++ layer).
read_failureError reading frame file.


recvFrameBinary - Receive Frame as File

This command receives a frame object from a socket as frame file. The file is parsed and the frame is read. If the frame file contains more than one frame then only the first frame will be read.

Usage - Basic SWIG interface:
set ptFrame [recvFrame ptSocket]

Parameters:
NameTypeDescription
ptSocketos_tcp_socket* a data socket in the C++ layer created with either the createDataSocket or acceptDataSocket commands. It must be connected.

Return value:
FrameH* ptFrame - a pointer to the newly instantiated frame in the C++ layer.

Exceptions:
ExceptionDescription
invalid_socketthe socket doesn't exist.
unconnected_socketthe socket isn't connected.
bad_allocinsufficient memory for frame.
SwigException


recvFrameBinary_r - Receive frame as file - thread return value

Usage - Basic SWIG interface:
set ptFrame [recvFrameBinary_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to a recvFrameBinary thread.

Return value:
FrameH* ptFrame - a pointer to the newly instantiated frame in the C++ layer.

Exceptions:
ExceptionDescription
invalid_socketthe socket doesn't exist.
unconnected_socketthe socket isn't connected.
bad_allocinsufficient memory for frame.
SwigException


recvFrameBinary_t - Receive Frame as File - Threaded

This command receives a frame object from a socket as frame file. The file is parsed and the frame is read. If the frame file contains more than one frame then only the first frame will be read.

Usage - Basic SWIG interface:
set tid [recvFrameBinary_t ptSocket]

Parameters:
NameTypeDescription
ptSocketos_tcp_socket* a data socket in the C++ layer created with either the createDataSocket or acceptDataSocket commands. It must be connected.

Return value:
tid* tid - A pointer to created thread.

Exceptions:
ExceptionDescription
SwigException


reduceRawFrames_r - Create reduced data set of frames. - Thread return value.

Usage - Basic SWIG interface:
set resultFiles [ reduceRawFrames_r tid ]

Parameters:
NameTypeDescription
ttid* A pointer to the 'reduceRawFrames' thread.

Return value:
string - Space separated filenames of RDS frames.


reduceRawFrames_t - Create reduced data set of frames (threaded).

compression method to apply to the data. ( ex: GZIP ). that support multiple levels ( ex: 6 for GZIP ).

Usage - Basic SWIG interface:
set tid [ reduceRawFrames_t start stop frame_files channel_names output_directory type compression_method compression_level ]

Parameters:
NameTypeDescription
startconst INT_4U Start time in seconds of data to be written to disk.
endconst INT_4U End time in seconds of data to be written to disk.
frame_filesconst char* A comma separated list of frame file names.
channelsconst char* A comma separated list of channels to extract from original frames (only channel names are allowed).
dirconst char* Directory to write result frames to, i.e. /some/directory/to/write (please note: no terminating forward slash).
typeconst char* type specifier for output.
compression_methodconst char* Text string representing the
compression_levelint Level of compression for compression methods
verify_checksumbool true if the checksum of each input file is to be validated
verify_frame_checksumbool true if the checksum of each input frame is to be validated
verify_time_rangebool true if should verify time data within file with the name of the file
verify_data_validbool true if the adc channels should have their dataValid field verified.
FramesPerFileINT_4U Number of frames per file. If the value is zero, then the number of frames will be determined at runtime.
SecondsPerFrameINT_4U Number of seconds per frame. If the value is zero, then the number of seconds per frame will be determined at runtime
AllowShortFramesconst bool FramesPerFile * SecondsPerFrame is not a multiple of the time difference, an exception is normally thrown. This flag allows short final frames to be created.
GenerateFrameChecksumconst bool Generate checksums on a per frame basis.
FillMissingDataValidArrayconst bool If the aux element of an FrAdcData structure is missing, then fill in with the appropriate dataValid value.
MetadataCheckconst bool true if the metadata should be validated
MD5SumOutputDirectoryconst char* Name of the output directory.

Return value:
tid* - A pointer to the created thread object.


rehashAdc - Rehash adc name hash in the frame.

Rehashing must be done before `insertAdcChanList()' call and some other calls with a channel name in the list argument.

Usage - Basic SWIG interface:
rehashAdc frame

Parameters:
NameTypeDescription
frameFrameH* Valid FrameCPP frame pointer

Exceptions:
ExceptionDescription
SwigException
invalid_frameFrame object is invalid.
invalid_frame: null rawDataRawData is missing.


rehashProc - Rehash ProcData name hash in the frame.

Usage - Basic SWIG interface:
rehashProc frame

Parameters:
NameTypeDescription
frameFrameH* Valid FrameCPP frame pointer

Exceptions:
ExceptionDescription
SwigException
invalid_frameFrame object is invalid.


rehashSer - Rehash serial data name hash in the frame.

Rehashing must be done before `insertSerChanList()' call and some other calls with a channel name in the list argument.

Usage - Basic SWIG interface:
rehashSer frame

Parameters:
NameTypeDescription
frameFrameH* Valid FrameCPP frame pointer.

Exceptions:
ExceptionDescription
SwigException
invalid_frameFrame object is invalid.
invalid_frame: null rawDataRawData is missing.


resampleAdcData - Resample AdcData

Usage - Basic SWIG interface:
set newAdcPtr [ resampleAdcData adcPtr resampleState ]

Parameters:
NameTypeDescription
adcPtrFrAdcData* FrameCPP::AdcData object to downsample
resampleStateResampleBase* resample state returned by createResampleState

Return value:
FrProcData* newProcPtr - A pointer to created ProcData object.

Exceptions:
ExceptionDescription
SwigException


resampleAdcData_r - Resample AdcData - Thread return value

Usage - Basic SWIG interface:
set newAdcPtr [resampleAdcData_r tid]

Parameters:
NameTypeDescription
tidtid* A pointer to resampleAdcData thread

Return value:
FrAdcData* newAdcPtr - A pointer to created AdcData object.

Exceptions:
ExceptionDescription
SwigException


resampleAdcData_t - Resample AdcData (threaded)

Usage - Basic SWIG interface:
set tid [ resampleAdcData_t adcPtr resampleState ]

Parameters:
NameTypeDescription
adcPtrFrAdcData* FrameCPP::AdcData object to downsample
resampleStateResampleBase* resample state returned by createResampleState

Return value:
tid* tid - A pointer to created thread

Exceptions:
ExceptionDescription
SwigException


resampleDelay - Get resampling filter delay time

Usage - Basic SWIG interface:
set delay [ resampleDelay procPtr resampleState ]

Parameters:
NameTypeDescription
procPtrFrProcData* FrameCPP::ProcData object
resampleStateResampleBase* resample state returned by createResampleState

Return value:
delay - time delay in seconds

Exceptions:
ExceptionDescription
SwigException


resampleRawFrames_r - Create resampled reduced data set of frames. - Thread return value.

Usage - Basic SWIG interface:
set resultFiles [ resampleRawFrames_r tid ]

Parameters:
NameTypeDescription
ttid* A pointer to the 'resampleRawFrames' thread.

Return value:
string - Space separated filenames of RDS frames.


resampleRawFrames_t - Create resampled reduced data set of frames (threaded).

compression method to apply to the data. ( ex: GZIP ). that support multiple levels ( ex: 6 for GZIP ).

Usage - Basic SWIG interface:
set tid [ resampleRawFrames start stop frame_files channel_names resample_factors output_directory type compression_method compression_level ]

Parameters:
NameTypeDescription
startconst INT_4U Start time in seconds of data to be written to disk.
endconst INT_4U End time in seconds of data to be written to disk.
frame_filesconst char* A comma separated list of frame file names.
channelsconst char* A comma separated list of channels to extract from original frames (only channel names are allowed).
resampleconst char* A comma separated list of resample factors.
dirconst char* Directory to write result frames to, i.e. /some/directory/to/write (please note: no terminating forward slash).
typeconst char* type specifier for output.
compression_methodconst char* Text string representing the
compression_levelint Level of compression for compression methods
verify_checksumbool true if the checksum of each input file is to be validated
verify_frame_checksumbool true if the checksum of each input frame is to be validated
verify_time_rangebool true if should verify time data within file with the name of the file
verify_data_validbool true if the adc channels should have their dataValid field verified.
FramesPerFileINT_4U Number of frames per file. If the value is zero, then the number of frames will be determined at runtime.
SecondsPerFrameINT_4U Number of seconds per frame. If the value is zero, then the number of seconds per frame will be determined at runtime
AllowShortFramesconst bool FramesPerFile * SecondsPerFrame is not a multiple of the time difference, an exception is normally thrown. This flag allows short final frames to be created.
GenerateFrameChecksumconst bool Generate checksums on a per frame basis.
FillMissingDataValidArrayconst bool If the aux element of an FrAdcData structure is missing, then fill in with the appropriate dataValid value.
MetadataCheckconst bool true if the metadata should be validated
MD5SumOutputDirectoryconst char* Name of the output directory.

Return value:
tid* - A pointer to the created thread object.


sendFrameBinary - Send Frame as File

This command sends a Frame object in the C++ layer through a socket as a frame file.

Usage - Basic SWIG interface:
sendFrameBinary ptSocket ptFrame

Parameters:
NameTypeDescription
ptSocketos_tcp_socket* a data socket in the C++ layer created with either the createDataSocket or acceptDataSocket commands. It must be connected.
ptFrameFrameH* a frame object instantiated in the C++ layer.

Return value:
none -

Exceptions:
ExceptionDescription
invalid_socketthe socket doesn't exist.
unconnected_socketthe socket isn't connected.
invalid_framethe frame doesn't exist.
SwigException


sendFrameBinary_r - Send frame as file - thread return value

Usage - Basic SWIG interface:
sendFrameBinary_r tid

Parameters:
NameTypeDescription
tidtid* A pointer to a sendFrameBinary thread.

Return value:
Nothing -

Exceptions:
ExceptionDescription
invalid_socketthe socket doesn't exist.
unconnected_socketthe socket isn't connected.
invalid_framethe frame doesn't exist.
SwigException


sendFrameBinary_t - Send Frame as File -- Threaded

This command sends a Frame object in the C++ layer through a socket as a frame file.

Usage - Basic SWIG interface:
set tid [sendFrameBinary_t ptSocket ptFrame]

Parameters:
NameTypeDescription
ptSocketos_tcp_socket* a data socket in the C++ layer created with either the createDataSocket or acceptDataSocket commands. It must be connected.
ptFrameFrameH* a frame object instantiated in the C++ layer.

Return value:
tid* tid - A pointer to created thread.

Exceptions:
ExceptionDescription
SwigException


setFrameAdcDataTimeOffset - Set ADC time offset.

Note: AdcData object can be a shallow pointer into the FrameCPP frame object. Caller should be careful when calling this function: AdcData pointer becomes invalid if frame object it's referencing to gets destructed.

Usage - Basic SWIG interface:
set ptElement [ setFrameAdcDataTimeOffset adc sec nsec ]

Parameters:
NameTypeDescription
adcFrAdcData* A pointer to the FrameCPP AdcData object.
secunsigned int Time offset seconds.
nsecunsigned int Time offset nanoseconds.

Return value:
Nothing. -

Exceptions:
ExceptionDescription
null_adcdata_pointerAdcData object is NULL.


setFrameProcDataTimeOffset - Reset timeOffset for frameCPP::ProcData.

This is a temporary solution for AdcData--->ProcData conversion.

Usage - Basic SWIG interface:
setFrameProcDataTimeOffset sec nan

Parameters:
NameTypeDescription
procPtrFrProcData* ProcData data pointer
secconst INT_4U TimeOffset seconds.
nanconst INT_4U TimeOffset nanoseconds.

Return value:
None -

Exceptions:
ExceptionDescription
SwigException
invalid_procdataProcData object is invalid.


writeFrame - Write a frame to a file.

Usage - Basic SWIG interface:
writeFrame ptFrameFile ptFrame

Parameters:
NameTypeDescription
ptFrameFileFrameFile* A pointer to a frame file object in the C++ layer. This object must have been created via the openFrameFile command.
ptFrameFrameH* A pointer to a frame object.
CmopressionMethodstring The compression method to use. Values can be either raw, gzip, or gzip_diff. The default is gzip.
CompressionLevelint The level of compression to be done. This value is only used by compression methods that support compression levels such as gzip. The default is 1.

Return value:
Nothing -

Exceptions:
ExceptionDescription
invalid_frame_fileThe pointer is invalid (it does not point to a valid object in the C++ layer).
invalid_frame
write_failure
SwigException


writeFrame_r - Write a frame to a file - thread return value

Usage - Basic SWIG interface:
writeFrame_r tid

Parameters:
NameTypeDescription
tidtid* A pointer to a writeFrame thread

Return value:
Nothing -

Exceptions:
ExceptionDescription
invalid_frame_fileThe pointer is invalid (it does not point to a valid object in the C++ layer).
invalid_frame
write_failure
SwigException


writeFrame_t - Write a frame to a file - Threaded

Usage - Basic SWIG interface:
set tid [writeFrame_t ptFrameFile ptFrame]

Parameters:
NameTypeDescription
ptFrameFileFrameFile* A pointer to a frame file object in the C++ layer. This object must have been created via the openFrameFile command.
ptFrameFrameH* A pointer to a frame object.
CmopressionMethodstring The compression method to use. Values can be either raw, gzip, or gzip_diff. The default is gzip.
CompressionLevelint The level of compression to be done. This value is only used by compression methods that support compression levels such as gzip. The default is 1.

Return value:
tid* tid - A pointer to created thread

Exceptions:
ExceptionDescription
SwigException