{"id":112,"date":"2025-11-23T14:09:29","date_gmt":"2025-11-23T14:09:29","guid":{"rendered":"https:\/\/spec-electronic.pl\/?p=112"},"modified":"2025-11-23T14:59:42","modified_gmt":"2025-11-23T14:59:42","slug":"rigol-3058e-windows-app","status":"publish","type":"post","link":"https:\/\/spec-electronic.pl\/index.php\/2025\/11\/23\/rigol-3058e-windows-app\/","title":{"rendered":"Rigol 3058e Windows App"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Building a Simple Windows App for Rigol DM3058E Multimeter Logging<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"448\" src=\"https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_0-1024x448.png\" alt=\"\" class=\"wp-image-119\" srcset=\"https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_0-1024x448.png 1024w, https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_0-300x131.png 300w, https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_0-768x336.png 768w, https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_0.png 1089w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If you\u2019ve ever wanted an easy way to log measurements from your Rigol DM3058E digital multimeter without relying on cloud services or complex setups, this project might be exactly what you need. I recently built a lightweight Windows 64-bit application that communicates with the Rigol DM3058E via a COM port, allowing you to capture data and save it in a clean CSV format.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why Rigol DM3058E?<\/h3>\n\n\n\n<p>The Rigol DM3058E is a high-precision 5\u00bd-digit digital multimeter designed for laboratory and industrial environments. It offers excellent accuracy, multiple measurement modes (voltage, current, resistance, frequency), and supports remote control via SCPI commands over serial or LAN. For many users, its serial interface is the simplest way to automate data collection.  <a href=\"https:\/\/rigol.com.pl\/pl\/c\/DM3058E\/19\">Full spec<\/a> <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What Does the App Do?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Direct COM Port Communication<\/strong>: No drivers beyond the standard USB-to-serial are needed.<\/li>\n\n\n\n<li><strong>CSV Data Logging<\/strong>: Measurements are saved in a structured <code>Timestamp;Value<\/code> format for easy analysis.<\/li>\n\n\n\n<li><strong>Configurable Polling Interval<\/strong>: You can set how frequently the app queries the multimeter, making it ideal for both quick snapshots and long-term monitoring.<\/li>\n\n\n\n<li><strong>Offline and Lightweight<\/strong>: No cloud dependencies, no heavy frameworks\u2014just a simple executable that runs locally.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How It Works<\/h3>\n\n\n\n<p>The app sends SCPI commands to the Rigol DM3058E through the COM port, retrieves the measurement values, and writes them to a CSV file. The first line of the file contains headers (<code>Timestamp;Value<\/code>), and subsequent lines log the data at the configured interval.<\/p>\n\n\n\n<p>Here\u2019s a simplified snippet of the core logic:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nusing (var writer = new StreamWriter(autoLogFilePath, false, Encoding.UTF8))\n{\n    writer.WriteLine(\"Timestamp;Value\");\n    string timestamp = DateTime.Now.ToString(\"yyyy-MM-dd HH:mm:ss\");\n    string value = rawValue.Split(' ')&#91;0]; \/\/ Remove extra text after space\n    writer.WriteLine($\"{timestamp};{value}\");\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"403\" height=\"342\" src=\"https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_app1.png\" alt=\"\" class=\"wp-image-113\" style=\"width:393px;height:auto\" srcset=\"https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_app1.png 403w, https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_app1-300x255.png 300w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Why This Matters<\/h3>\n\n\n\n<p>Many engineers and hobbyists just need a quick way to log data without installing .NET or dealing with complex setups. This app is portable, easy to configure, and does exactly what you need\u2014nothing more, nothing less.<\/p>\n\n\n\n<p>Below are the outputs from the program in automatic logging mode. After the settings are applied, the data is stored in a CSV file for easy analysis. Additionally, the <code>log.txt<\/code> file is quite useful because it shows all input and output operations to the COM port, making troubleshooting and monitoring straightforward.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"486\" height=\"321\" src=\"https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_app2.png\" alt=\"\" class=\"wp-image-114\" srcset=\"https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_app2.png 486w, https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_app2-300x198.png 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"217\" height=\"321\" src=\"https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_app3.png\" alt=\"\" class=\"wp-image-115\" srcset=\"https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_app3.png 217w, https:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol_app3-203x300.png 203w\" sizes=\"auto, (max-width: 217px) 100vw, 217px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-2d82c6e9-3d33-4f82-a8b0-f4020835ee2d\" href=\"http:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol3058_v009.zip\">Rigol3058_v009<\/a><a href=\"http:\/\/spec-electronic.pl\/wp-content\/uploads\/2025\/11\/Rigol3058_v009.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-2d82c6e9-3d33-4f82-a8b0-f4020835ee2d\">Pobierz<\/a><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Building a Simple Windows App for Rigol DM3058E Multimeter Logging If you\u2019ve ever wanted an easy way to log measurements from your Rigol DM3058E digital multimeter without relying on cloud services or complex setups, this project might be exactly what you need. I recently built a lightweight Windows 64-bit application that communicates with the Rigol &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/spec-electronic.pl\/index.php\/2025\/11\/23\/rigol-3058e-windows-app\/\"> <span class=\"screen-reader-text\">Rigol 3058e Windows App<\/span>Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-112","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/spec-electronic.pl\/index.php\/wp-json\/wp\/v2\/posts\/112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spec-electronic.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spec-electronic.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spec-electronic.pl\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/spec-electronic.pl\/index.php\/wp-json\/wp\/v2\/comments?post=112"}],"version-history":[{"count":2,"href":"https:\/\/spec-electronic.pl\/index.php\/wp-json\/wp\/v2\/posts\/112\/revisions"}],"predecessor-version":[{"id":120,"href":"https:\/\/spec-electronic.pl\/index.php\/wp-json\/wp\/v2\/posts\/112\/revisions\/120"}],"wp:attachment":[{"href":"https:\/\/spec-electronic.pl\/index.php\/wp-json\/wp\/v2\/media?parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spec-electronic.pl\/index.php\/wp-json\/wp\/v2\/categories?post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spec-electronic.pl\/index.php\/wp-json\/wp\/v2\/tags?post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}