AnsweredAssumed Answered

Using .GetFormattedData w/ E5071 ENA

Question asked by BBauer42 on Feb 7, 2006
Latest reply on Feb 7, 2006 by daras
I am trying to use the following code to get data from an ENA.

ENA.GetFormatteData ActChnl, vFreq, vData...

NO MATTER WHAT, the vData points I always get are -200. However, if I go into the VBE and step through the code with SHFT+F8, I get the correct results. If I put the cursor at the end of the code and hit run to cursor, I get -200 again. It seems like there may need to be a wait state or something while it is communicating.

Also, I have used ENA.output (":SYST:ERR?") to make sure there are never any errors, which there arent.

I am using Excel 2000 and IntuiLink over GPIB to obtain the data... any suggestions would be greatly appreciated....