Commit caaef0e4 authored by Gonzalez, Miguel's avatar Gonzalez, Miguel

Renamed show procedure to avoid conflicts with Lamp's show

parent 3863205d
......@@ -1144,7 +1144,7 @@ pro times_from_trigger
end
pro show, W=wks
pro ev_show, W=wks
;+
;** ****************
;** Show results
......@@ -1914,7 +1914,7 @@ pro event_file_event, ev
; Call the treatment macro corresponding to the case event
; Cases: 'help', 'file', 'browseW', 'browseD', 'raw', 'usetrigger', 'slides',
; 'nslice', 'mintime', 'maxtime',
; 'setmint', 'setmaxt', 'bin_lin', 'bin_log', 'bin_equ', 'bin', 'show',
; 'setmint', 'setmaxt', 'bin_lin', 'bin_log', 'bin_equ', 'bin', 'ev_show',
; 'show_histo', 'show_event', 'show_bin', 'show_trigger',
; 'show_dist_events', 'show_dist_triggers', 'expcur', 'explst',
; 'quit', 'timecycle'
......@@ -2040,9 +2040,9 @@ pro event_file_event, ev
'bin': do_bin
'show': begin ; Choose current show mode
'ev_show': begin ; Choose current show mode
Wcur = ([0,1,2,3,4,5,6,7])[EV_struct.ShowMod]
show, W=Wcur
ev_show, W=Wcur
widget_control, EV_struct.bmessData, set_value=': W'+strtrim(Wcur, 2)
end
......@@ -2051,7 +2051,7 @@ pro event_file_event, ev
widget_control, EV_struct.bPlot, set_value=pmod
EV_struct.ShowMod = 1
Wcur = ([0,1,2,3,4,5,6,7])[EV_struct.ShowMod]
show, W=Wcur
ev_show, W=Wcur
widget_control, EV_struct.bmessData, set_value=': W'+strtrim(Wcur, 2)
end
......@@ -2060,7 +2060,7 @@ pro event_file_event, ev
widget_control, EV_struct.bPlot, set_value=pmod
EV_struct.ShowMod = 2
Wcur = ([0,1,2,3,4,5,6,7])[EV_struct.ShowMod]
show, W=Wcur
ev_show, W=Wcur
widget_control, EV_struct.bmessData, set_value=': W'+strtrim(Wcur, 2)
end
......@@ -2069,7 +2069,7 @@ pro event_file_event, ev
widget_control, EV_struct.bPlot, set_value=pmod
EV_struct.ShowMod = 3
Wcur = ([0,1,2,3,4,5,6,7])[EV_struct.ShowMod]
show, W=Wcur
ev_show, W=Wcur
widget_control, EV_struct.bmessData, set_value=': W'+strtrim(Wcur, 2)
end
......@@ -2078,7 +2078,7 @@ pro event_file_event, ev
widget_control, EV_struct.bPlot, set_value=pmod
EV_struct.ShowMod = 4
Wcur = ([0,1,2,3,4,5,6,7])[EV_struct.ShowMod]
show, W=Wcur
ev_show, W=Wcur
widget_control, EV_struct.bmessData, set_value=': W'+strtrim(Wcur, 2)
end
......@@ -2087,7 +2087,7 @@ pro event_file_event, ev
widget_control, EV_struct.bPlot, set_value=pmod
EV_struct.ShowMod = 5
Wcur = ([0,1,2,3,4,5,6,7])[EV_struct.ShowMod]
show, W=Wcur
ev_show, W=Wcur
widget_control, EV_struct.bmessData, set_value=': W'+strtrim(Wcur, 2)
end
......@@ -2096,7 +2096,7 @@ pro event_file_event, ev
widget_control, EV_struct.bPlot, set_value=pmod
EV_struct.ShowMod = 6
Wcur = ([0,1,2,3,4,5,6,7])[EV_struct.ShowMod]
show, W=Wcur
ev_show, W=Wcur
widget_control, EV_struct.bmessData, set_value=': W'+strtrim(Wcur, 2)
end
......@@ -2105,7 +2105,7 @@ pro event_file_event, ev
widget_control, EV_struct.bPlot, set_value=pmod
EV_struct.ShowMod = 7
Wcur = ([0,1,2,3,4,5,6,7])[EV_struct.ShowMod]
show, W=Wcur
ev_show, W=Wcur
widget_control, EV_struct.bmessData, set_value=': W'+strtrim(Wcur, 2)
end
......@@ -2165,7 +2165,7 @@ pro event_file, instrument=instrument
; show_trigger :
; show_dist_events :
; show_dist_triggers :
; show :
; ev_show :
; slides : Slider to select a frame -> EV_struct.bslids, EV_struct.bslidl
; expcur : Export current file
; explst : Apply same rebinning and export a list of files
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment