Download Installation and Reference Manual
Transcript
SP32 Detector C Drivers – Stops the controller using the STOP command. – Turns off the PMT high voltage by setting it to 0. • Licel SP SlaveMode Read Preamble Syntax : int Licel SP SlaveMode Read Preamble( SOCKET cmd soc, Spectro Preamble *sp preamble, Spectro Hardware *sp hw ) Description : The slave mode read preamble function is used to read the Slave Mode Preamble/Header. The parameters extracted from the preamble are stored in the Spectrometer Preamble Structure and are used to dynamically set up the memory trace required to read the rest of the incoming data. • Licel SP SlaveMode Read Dataset Syntax : int Licel SP SlaveMode Read Dataset( SOCKET cmd soc, Spectro Preamble *sp preamble, Spectro Hardware *sp hw, long int *advanced viewer data ) Description : The slave mode read data set function is used to read the Slave Mode Channel Trace Data. Since the controller transmits uncompressed data in the slave mode, a decompression routine is not required on the client side. However, the raw data is transmitted as an unsigned char data type and hence has to be reconstructed at the client side if the data width is greater than 1 byte. After the acquisition of the RAW Data, data reconstruction functions are used to reconstruct the data according to its corresponding data widths. Please note that the data is reconstructed taking into consideration the endianness of the incoming data. 8.1.2 licel sp util This category implements utility helper functions that are called by the functions in the licel sp category. • Licel SP UTIL Reconstruct SlaveMode 2Byte TraceData Syntax : void Licel SP UTIL Reconstruct SlaveMode 2Byte TraceData( unsigned char *incomingdata, unsigned short *reconstructedtrace, Spectro Preamble *sp preamble, Spectro Hardware *sp hw ) Description : This function is used to reconstruct a 2 byte wide data trace from the received raw data. Please Note : This function assumes the client is a little endian system. • Licel SP UTIL Reconstruct SlaveMode 4Byte TraceData Syntax : void Licel SP UTIL Reconstruct SlaveMode 4Byte TraceData( unsigned char *incomingdata, long *reconstructedtrace, Spectro Preamble *sp preamble, Spectro Hardware *sp hw ) 87