Displaying a Variable in a WzAnimate Tool
Before you can display a byte array variable in a WzAnimate Tool, the variable must already exist on the
$MAIN$ level of PV‑WAVE.
Use any of the following methods to display a byte array variable in a WzAnimate Tool:
Export a variable or selected data from another VDA Tool to a specified instance of the WzAnimate Tool. To do this, create a pixmap variable using the
File=>Export As Pixmap function, then use the
File=>Export Variable(s) function in the VDA Tool containing the variable.
Supply a variable name as a parameter to the WzAnimate command.
For example:
WAVE> WzAnimate, head
where head is a variable on the $MAIN$ level of PV‑WAVE, created in the following manner.
WAVE> openr, 3, 'wave/data/headspin.dat'
WAVE> head = BYTARR(256, 256, 32)
WAVE> readu, 3, head
WAVE> close, 3
Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.