‎03-29-2002 06:35 AM
‎04-01-2002 12:16 PM
‎02-27-2014 07:41 AM
I am controlling the Network Analyzer E5072A. I want to get the binary data from the VISA output, not the default string format. In this case, I guess the speed will be faster since we get the machine language directly so that the CPU does not need to convert Binary to String.
I followed the instruction from the *E5072A help*: in *Reading Data in Binary Format* , it indicates to add the command ":FORM:DATA REAL", I added it, but what I got was not binary values, but a string of "#6000128Ã ï¿ ?Lï¿¥?à FRháù“?à ?7FXw?à elÃ=?‰ à y??ó“ @N???¨ ?à r· U à P§% Nà ?? ?áˉ@e ?ê?° à 86? H?@EyTü uÃ ï¿ Ã©????à U (K à Cs ù@b±?Sbμ—", then Hex display, I only got the Hex Format of those string characters, not the binary value I wanted.
Thank you for your help!
‎02-27-2014 08:05 AM
‎02-28-2014 02:52 AM
Thank you, Dennis~ I use the SCPI language. My teacher solved my problem yesterday. Just as you said, the hex value is exactly the binary data I want. After the VISA Read, my teacher added "Instrument Control Parsing.vi", and the very important step is to choose the "big-endian, network order" of the "Unflatten from string" in the "Instrument Control Parsing.vi". Then I got what I wanted.
Thank you very much!
‎02-28-2014 07:24 AM
‎03-02-2014 03:03 PM
Ok, Labview:-)