Forum for discussing PicoScope version 6 (non-automotive version)
- Posts: 0
- Joined: Mon Nov 20, 2017 12:58 pm
Is there any way to "extract" the information on the channel units (Volts, Amps) from the psdata file using the command line? When converting psdata to mat file, this information is (as far as I am know) lost. I would like to postprocess and plot the recorded date using GNU octave and correct info on the units for plotting of waveform would be useful. This information is present in CSV format (even if scaled, i.e. using prefixes m,µ,k ),
Code: Select all
Time, Channel A, Channel B
(µs), (V), (V)
-500.004, 5.511, 1.215
-500.002, 4.724, 2.130
-500, 5.552, 2.212
so only solution I am avare of is to convert psdata to both MAT and CSV and the read the the second line from the CSV-file to get the unit info.
Hovever, the convertion to CSV takes long and the resulting file is HUGE.
A possible "dirty" trick would be to convert only a part of the record to keep the file small, but I do not think is possible.
- PICO STAFF
- Posts: 2850
- Joined: Tue May 31, 2011 3:43 pm
- Location: St. Neots, Cambridgeshire
At the present moment, the units are not extracted to the MATLAB file format so I have raised a feature request for this.
At the present moment it would be a case of manually noting the units in use on each channel as it is not possible to save a subset of the data from a trace.
Software Dev. Engineer