07-14-2005 05:09 AM
07-14-2005 05:23 AM
07-14-2005 06:13 AM
07-14-2005 06:30 AM
07-14-2005 11:22 PM
07-18-2005 02:31 AM
Thanks guys
odd_modem & unclebump - suggestions made no difference, unfortunatley, also couldn't work out how to wire a wait into the visa string.
mike porter - I didn't realise about the line feed, so will give it a try. I did try the f%.3f, that altered the front panel display but the string sent out of com1 was still xx.xxxxxx. not a neat solution but it did work.
I have a cut down version working, enough to do some testing with. Its now a one shot program that only deals with the scan. Its reasonably reliable. It opens the DAQ & VISA then runs the FOR loop,tx VISA, gathering DAQ and saving data to file, I was thinking that the problem could be with the CASE or WHILE constructs. It also seems that the VISA close causes the laser driver to hang therefore the device needs to be reset after every run.
07-18-2005 07:09 AM
Please repost your modified code. If you are using the formatting string I gave you and are still getting a result showing 6 decimal places you don't have something hooked up right.
Mike...