User Tools

Site Tools


phase1:phase1:decodemodulereadout

Decode Module Readout using Oscilloscope

Setup

Setup module as described here and connect corresponding POH fiber to scope: Module Readout

Save waveform

Use 50 or 100 ns per divisions (not enough points with 200ns) On the scope: Go to “Utilities” → “Disk Utilities” Go to “Save waveform” tab. Chose scope channel where POH fiber is connected Save in format “ASCII” with deliminator “Comma”

Decode waveform

Use Wolfram's script to decode waveform:

cd tbmdecoder

$ python getwfm.py -file wfm-345-2.isf -raw
reading  wfm-345-2.isf
sdata1 A: 7fc03b17f87f87f87f87f87f87f87f87fe2200
sdata1 B: 7fc03b17f87f87f87f87f87f87f87f87fe2200

$ python getwfm.py -file wfm-345-2.isf 
reading  wfm-345-2.isf
sdata1, A channel:
7fc TBM header  0x03b1 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7fe TBM trailer  0x2200 
sdata1, B channel:
7fc TBM header  0x03b1 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7f8 ROC header 
7fe TBM trailer  0x2200 
phase1/phase1/decodemodulereadout.txt · Last modified: 2015/12/09 12:27 by leac