Skip to content

Commit 9ee01b8

Browse files
committed
Enhance Wave Reference Wave Browser for nD waves
- add context menu on wave reference waves in data browser - add context menu for columns in tables to open WRB - add preview of the first 10 points in the sub wave - add attached subwindow that shows the current waveref wave in a table The table allows to navigate on multidimensional waves and to browse further. Due to Igor Pro limitations the workflow is like: On tooltip popup the marked element is moved. Press enter to open the last wave reference wave where a tooltip was last shown. (The marked element is for visualization only)
1 parent 37508f0 commit 9ee01b8

2 files changed

Lines changed: 371 additions & 49 deletions

File tree

Packages/MIES/MIES_WaveDataFolderGetters.ipf

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9256,6 +9256,29 @@ Function/WAVE GetWaverefBRowserReferenceWave()
92569256
return wv
92579257
End
92589258

9259+
Function/WAVE GetWaverefBrowserLastTooltipLocation()
9260+
9261+
variable version = 1
9262+
string name = "toolTipLocation"
9263+
9264+
DFREF dfr = GetWaverefBRowserHomeDF()
9265+
9266+
WAVE/Z/D/SDFR=dfr wv = $name
9267+
9268+
if(ExistsWithCorrectLayoutVersion(wv, version))
9269+
return wv
9270+
endif
9271+
9272+
if(WaveExists(wv))
9273+
// upgrade here
9274+
else
9275+
Make/D/N=(4) dfr:$name/WAVE=wv
9276+
FastOp wv = (NaN)
9277+
endif
9278+
9279+
return wv
9280+
End
9281+
92599282
///@}
92609283

92619284
#ifdef DEBUGGING_ENABLED

0 commit comments

Comments
 (0)