hello,
I've written a program to control an old spectrum analyzer (OSA) throught a GPIB device.
the program is written as an infinie while loop with varioud buttons which respond to changes in the button value.
the only think that is constantly done is to read data from the OSA. The OSA constantly sweep over the measurement ragne and store the data - 800 points;
I read it in my while loop and output it to waveform chart.
When I wrote (it was my first program in ;LabView) I read a lot of tutrials and used a standard scheme that was working for me: send read command, some delay and read data from the instrument. without the delay time between read and write (send read command) it did not work. I tried other configuration like waiting for status byte without success.
any how - this method is working but kind of slow...for example if the OSA sweep the entire range at 50 msec, when working through the computer it's down to about 1 Hz.
Is there any way to make it faster?