- How it works
- GUI specification
- Device compatibility
- CSV file format
- Comments and adnotations
- Technologies used
- settings.json
- Licence
- Authors
This application's main usage is to automatise measuring various parameters of capacitors on Gwinstek LCR 6300. Such measured data is then stored in csv files in order to easily open and read it in stylesheet programs. GwinstekLCRTester supports two main measure methods:
-
Test of several capacitors (default) : For this method user must specify one or more frequencies of measure and the number of cycles. After hitting "Do tests" button we are prompted with inputed parameters on which tests will be performed. After completion of measurements for one capacitor message box appears asking ask whether we want to plug in another device or not
-
Serial test: This test is performed only on one capacitor. Here, we have an additional parameter to specify, AVG. After completing measurements program will prompt us information about it
Before we start our application we must ensure that we connected Gwinstek device properly to our computer. To do so, we must find an RS-232 cable along with USB adapter and plug it into computer. Our program checks if COM ports are established and then GUI is loaded
GUI is divided into two "panels":
-
Left panel : Here we specify parameters for connecting to device via RS-232. Check docs of your appliance for specific settings
-
Right panel : Is used for setting different frequencies, SI multipliers for params, measurement types and additional parameter D. We can specify also numbers of cycles whether we serial test or not, set AVG param and output folder for csv data files
- Tested on Windows 10 Pro and Windows 7 Professional
- Tested on Gwinstek LCR 6300 model
- Compatible with Gwinstek LCR-6300/6200/6100/6020/6002 models according to official manual
Files are automatically named "pomiary_{D}.csv" where D is datetime in format dd-MM-yyyy--HH:mm:ss
Above you can see an example of output for serial test (on one capacitor)
Output csv file consists of serveral columns binded to fetched data. From the left we have :
- Device number : for serial tests this is always 1
- Cycle number : resets to 1 on next device
- AVG : if not set in GUI, in csv it is listed as "NIE"
- First main parameter with multiplier : depends on chosen measurement type and multplier
- Second main parameter : it is never an unit that have multplier, in case of msType DCR it is not listed
- Additional parameter D: when not set in GUI it is listed as "NIE"
- Frequency : displayed as it was listed in GUI
- Date of measurement : in format of dd-MM-yyyy HH:mm:ss
-
Number of cycles : indicates how many times we wish to measure measure parameters on one frequency. For example if we had 4 frequencies and clicked 2 cycles we get 2 measurements for each written frequency resulting in total of 8 tests
-
AVG parameter : is set on device to get an average survey from given measurements. For example AVG 20 tells us that every mensuration in csv files is average of 20 mensurations in machine
-
Additional parameter D : For measurement types that don't include parameter D we can force it's mensuration
-
Speed of speed of serial test : Please note that serial test heavily depends on given AVG number. If we set AVG to 120, single test is going to last 49 seconds roughly! Since this is a machine calculations application cannot speed it up
- C# version v.8.0
- WPF
- Newtonsoft.Json v13.0.1
- System.IO.Ports v5.0.1
This file is automatically created and updated by application and should not be changed manually. settings.json sets default values in inputs such as RS connection data, so that you do not have to enter the same data over and over again. Default settings set is visible on the screenshoot (by defualt path to csv folder is next to .exe build file). After closing program, config file is automatically updated
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.