09-02-2015 06:02 PM
Hi, I am reading data from a keysight N1912A power meter. If I read a single point it is in ASCII, no problem. But when I try to get the full trace it returns it in IEEE 754 32 bit floating format (binary). Now I need to convert the binary data to readable data so I can read the peak, Calculate the rise time, fall time, flatness, etc.... What is the C/CVI command to do so? I keep looking at sprintf and ssprintf but cannot seem to get it right.... Thanks. Every single instruement I have ever used sent data back in ASCII format and I just parse out the data with strtok, but not this guy.... Very Frustrating indeed. Thanks for the Help.
Here is the manual, see page 642 (printed 612 at bottom of page) if you need to know the read trace command to the unit. Am using viRead to get the data back. The data header is there and looks correct and if I look into the data with the eyeglasses I can see it is all there...
Solved! Go to Solution.
09-03-2015 01:06 AM
09-03-2015 11:59 AM
Works perfectly thanks so much for pointing me in the right direction.