AnsweredAssumed Answered

panel driver execution?

Question asked by VRFuser on Feb 3, 1999
> I'm using the for range to control the wavelength of a CVI DK480
> monochromator.  The "wavelength" from the for range also provides the
> filename for the trace.  My problem is that the wavelength given to the
> monochromator is 960.21 but the file is saved with 960.209999999998.dat
> How can I also limit the number of significant figures used in the
> filename to something sensible?

You can send the wavelength value through a To String object.  Adjust the
To String WRITE transaction type and properties to give you the desired
number of digits and decimal places.  Use this value to build the file


Bruce Wenner
HP St. Paul