Q: I want to pass the results of -dbspectrum to my DSO, but no object with the proper name is available to my DSO.
A: When using the -dbspectrum option with the pushpass field set to 'pass', there is no way to specify the name of the data object sent to the wrapperAPI. If it is important to set the name of the data object (i.e. in cases where the DSO expects specific object names), set the pushpass field to 'push'. In the -algorithms section include an output statement to send the data to wrapperAPI, using the alias specified in the -dbspectrum option. The name of the objects can then be specified in the output statement. For example:
-dbspectrum {
   channel=slice(P2:LSC-AS_Q,0,128,1)
   spectrum_type=Welch
   spectrum_length=65
   start_time=610000000
   start_time_ns=0
   start_frequency=0
   delta_frequency=128
   pushpass=push
   alias=spect
}

-algorithms {
   output(spect,_,_,spectrum,spectrum data);
}



Back to LDAS FAQ