Currently, there are the following items in this repository:
rec2csv
is a command line tool for converting*.rec
files to csv format- a TestController config file for these power supplies
I also have a python class for remote controlling the PSU – that one lives in a separate repostitory (UDP3305S.py).
Convert *.rec
files created by a UNI-T UDP3305S or UPD3305S-E lab power supply to
CSV format.
These lab power supplies have an undocumented RECORDER
functionality that
allows logging readout data to a file. Unfortunately, the file format is binary
and undocumented, so a little reverse engineering was required to make use of
these files.
Make the rec2csv
python script executable and run it with the *.rec
file as
the only argument. The data is written to STDOUT.
./rec2csv foo.REC
To save the output to a file use shell redirection:
./rec2csv foo.REC > foo.csv
If you are not on LINUX, you may need to call the python interpreter explicitly:
python rec2csv foo.REC > foo.csv
The file under testcontroller/
is a configuration file for the popular
TestController
software. So far, it allows data logging for all three channels as well as in
serial or parallel mode. Channel setup works but advanced functions such as
recording, delayer or list mode are not implemented – I don't think they are
all that usefull if you are cpntrolling the device remotely.
The config file has been submitted to the Testcontroller project and is included since release V2.49. So you don't have to download it form here. Future updates will be submitted aswell.
Thanks to Wolfram Bahmann for his input and testing the testcontroller config on a UDP3305S-E.
If you find an error, miss a feature or have figured out a piece of data that I have missed, please open an issue and let me know. Please don't submit pull-requests before discussing your issue.