Hallo Nils
what is the difference betwen RAW BIN & ASCII data format in SCPI and the output that I have using acquire from command line?
Which one of this must be used to calibrate the RP?
Moreover If I need to read out data in Matlab with RAW BIN format How can I convert the output that is binary in
a decimal number?
Thanks
RAW BIN & ASCII data format in SCPI and Acquire command
-
- Posts: 13
- Joined: Thu Jan 07, 2016 6:24 pm
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: RAW BIN & ASCII data format in SCPI and Acquire command
The acquire command gives you raw sample data (with averaging applied if you so configured it).
On the other hand, scpi BIN format has the calibrated DC offset already apllied to the samples.
So for calibration purposes you'd prefer acquire.
On the other hand, scpi BIN format has the calibrated DC offset already apllied to the samples.
So for calibration purposes you'd prefer acquire.
The binary data is 16bit little endian. I am wholly unfamiliar with Matlab, so I have no idea what mechanisms it offers to receive and import data of that format. "signed short" - or just "short" - is a commonly used name for the data type, if you feel like finding out by yourself.Moreover If I need to read out data in Matlab with RAW BIN format How can I convert the output that is binary in
a decimal number?
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 84 guests