06-29-2014 07:42 AM
Hi ,
I would like to know how I can readout a large amount of data, 10 MSamples for a Scope trace of 10 us/div and display it on VI.
I am using direct SCPI commands instead drivers, due to the speed I need. After manually configuring the Scope, I run in the loop the following commands
:FORMat:DATA REAL,32
RUNSingle;*OPC?
:CHANnel1:WAVeform:DATA?
The queried data is in binary format and I don't know how to display it.
If you have any example program that could do it very fast, please share it.
Many thanks in advance
Y3G (...if there is LTE)
06-29-2014 07:59 AM
06-29-2014 12:13 PM
What scope are you using?
As Dennis said, you need to read the manual. It will tell you what the format of the data coming back is. I've seen some just spit back 16 bit data that you then have to convert somehow. Others will give you an actual double precision floating point. And some have additional data they send with the raw data.
06-29-2014 02:32 PM
07-01-2014 07:24 AM
And last, but not least, if you are reading 10 million samples, it could take awhile and you could run out of memory if you are not careful. Read the LabVIEW help on dealing with large data sets and/or this white paper for how to make things fast and use your memory efficiently.