Skip to content
Snippets Groups Projects
Commit 7dc90547 authored by Lan Dam's avatar Lan Dam
Browse files

fix bug in get_chan_plot_info that make 'DSP Clock Diff' regconize as data...

fix bug in get_chan_plot_info that make 'DSP Clock Diff' regconize as data stream DS; add fixPoint=0 to waveform data
parent 5c47aceb
No related branches found
No related tags found
1 merge request!120fixing displayed extreme values for channels
This commit is part of merge request !120. Comments created here will be created in the context of that merge request.
......@@ -26,7 +26,7 @@ def get_chan_plot_info(org_chan_id: str, chan_info: Dict, data_type: str,
chan = 'MassPos?'
if org_chan_id.startswith('Event DS'):
chan = 'Event DS?'
if org_chan_id.startswith('DS'):
if org_chan_id.startswith('DS') and 'DSP' not in org_chan_id:
chan = 'DS?'
if org_chan_id.startswith('Disk Usage'):
chan = 'Disk Usage?'
......@@ -96,6 +96,7 @@ def get_wf_plot_info(org_chan_id: str, *args, **kwargs) -> Dict:
chan_info[0]['unit'] = ''
chan_info[0]['channel'] = 'SEISMIC'
chan_info[0]['convertFactor'] = 1
chan_info[0]['fixPoint'] = 0
return chan_info[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment