Skip to main content

CsrWaveRef

CsrWaveRef (cursorName [, graphNameStr ])​

The CsrWaveRef function returns a wave reference to the wave the specified cursor (A through J) is on in the top (or named) graph.

Details​

The wave reference can be used anywhere Igor is expecting the name of a wave (not a string containing the name of a wave).

CsrWaveRef should be used in place of the CsrWave() string function in order to work properly with data folders.

Examples​

Print CsrWaveRef(A)[50] // not CsrWaveRef("A")
Print CsrWaveRef(B,"Graph0")[50] // in specified graph

See Also​

Programming With Cursors, Wave Reference Functions