{"id":900,"date":"2013-12-22T19:36:57","date_gmt":"2013-12-23T03:36:57","guid":{"rendered":"http:\/\/www.rbdinstruments.com\/blog\/?p=900"},"modified":"2018-11-03T13:00:50","modified_gmt":"2018-11-03T20:00:50","slug":"programming-the-9103-picoammeter","status":"publish","type":"post","link":"https:\/\/www.rbdinstruments.com\/blog\/programming-the-9103-picoammeter\/","title":{"rendered":"Programming the 9103 Picoammeter"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?ssl=1\"><img data-attachment-id=\"918\" data-permalink=\"https:\/\/www.rbdinstruments.com\/blog\/programming-the-9103-picoammeter\/programming-9103\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?fit=358%2C212&amp;ssl=1\" data-orig-size=\"358,212\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"programming-9103\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;9103 USB Picoammeter&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?fit=300%2C177&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?fit=358%2C212&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"lazy size-medium wp-image-918 alignnone\" src=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif?resize=300%2C177&#038;ssl=1\" data-original=\"https:\/\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103-300x177.jpg\" alt=\"Programming the 9103 Picoammeter\" width=\"300\" height=\"177\" srcset=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?resize=300%2C177&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?w=358&amp;ssl=1 358w\" sizes=\"(max-width: 300px) 100vw, 300px\" data-recalc-dims=\"1\" \/><noscript><img data-attachment-id=\"918\" data-permalink=\"https:\/\/www.rbdinstruments.com\/blog\/programming-the-9103-picoammeter\/programming-9103\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?fit=358%2C212&amp;ssl=1\" data-orig-size=\"358,212\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"programming-9103\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;9103 USB Picoammeter&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?fit=300%2C177&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?fit=358%2C212&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-918 alignnone\" src=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?resize=300%2C177&#038;ssl=1\" alt=\"Programming the 9103 Picoammeter\" width=\"300\" height=\"177\" srcset=\"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?resize=300%2C177&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/12\/programming-9103.jpg?w=358&amp;ssl=1 358w\" sizes=\"(max-width: 300px) 100vw, 300px\" data-recalc-dims=\"1\" \/><\/noscript><\/a><\/p>\n<h1>Progamming the 9103 Picoammeter<\/h1>\n<p>RBD\u2019s 9103 USB PIcoammeter is packaged with Windows application software for control, current display, data-logging, and graphing. However, it&#8217;s often desirable to use the 9103 with other operating systems, integrate it with other hardware or software systems, and\/or extend the capabilities of the application software. Fortunately, the 9103 utilizes an ASCII command set that exposes all of its features. Programming the 9103 Picoammeter is straightforward and easy to test.<\/p>\n<p>A complete guide to programming the 9103 picoammeter can be viewed and downloaded \u00a0from RBD&#8217;s website <a title=\"9103 USB Picoammeter User Guide\" href=\"https:\/\/www.rbdinstruments.com\/products\/picoammeter\/tech.html\" target=\"_blank\" rel=\"noopener\">here<\/a>. This post will give you an overview of setting up communications with the 9103 and the message structure for controlling the unit and gathering status and data.<\/p>\n<p>Of course, every programming environment is different. As long as you are working with a tool that supports USB communication and text streaming, you can create a custom application for your 9103.<\/p>\n<h2><\/h2>\n<h2><strong>Setting up Communications<\/strong><\/h2>\n<p>If you are using your 9103 with Windows, the installed driver creates a virtual serial COM port. RBD&#8217;s Actuel application software uses this port for communicating with the 9103, and any application you use to interface with the 9103 will use this same port for communications.<\/p>\n<p>For other operating systems, you&#8217;ll need to download the appropriate driver from the manufacturer of the USB communications components, FTDI. Those drivers can be found <a title=\"9103 Picoammeter FTDI USB Drivers\" href=\"http:\/\/www.ftdichip.com\/Drivers\/VCP.htm\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p>If you are interfacing the 9103 with LabView, drivers and scripts can be found on the <a href=\"https:\/\/www.rbdinstruments.com\/products\/picoammeter\/downloads.html\">9103 downloads page.<\/a><\/p>\n<h2><\/h2>\n<h2><strong>Communications Protocol<\/strong><\/h2>\n<p>The communications protocol for the 9103 is typical for many serial devices. Whether you configure the USB port using your operating system or program it within your application, the protocol is as follows:<\/p>\n<div title=\"Page 24\">\n<table>\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr>\n<td>\n<div>\n<div>\n<p><strong>Setting<\/strong><\/p>\n<\/div>\n<\/div>\n<\/td>\n<td>\n<div>\n<div>\n<p><strong>Value<\/strong><\/p>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>\n<p>Bits per Second (Baud Rate)<\/p>\n<\/div>\n<\/div>\n<\/td>\n<td>\n<div>\n<div>\n<p>57600<\/p>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>\n<p>Data Bits<\/p>\n<\/div>\n<\/div>\n<\/td>\n<td>\n<div>\n<div>\n<p>8<\/p>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>\n<p>Parity<\/p>\n<\/div>\n<\/div>\n<\/td>\n<td>\n<div>\n<div>\n<p>None<\/p>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>\n<p>Stop Bits<\/p>\n<\/div>\n<\/div>\n<\/td>\n<td>\n<div>\n<div>\n<p>1<\/p>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>\n<p>Flow Control<\/p>\n<\/div>\n<\/div>\n<\/td>\n<td>\n<div>\n<div>\n<p>None<\/p>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><strong>Sending and Receiving Commands<\/strong><\/p>\n<p>Communication with the 9103 is asynchronous. Most commands sent from the computer control device to the Picoammeter will be answered with a response, which may include an error message if there is a problem understanding\/executing the command.<\/p>\n<p>All messages are delivered as ASCII text &#8211; there is no binary message data. This includes the actual data delivered by the 9103, which is a formatted ASCII value.<\/p>\n<p>Depending on your programming environment and application, you&#8217;ll normally be coding (at the least) logic to deliver the messages to the 9103, as well as to monitor the USB port and parse incoming messages.<\/p>\n<h2><\/h2>\n<h2><strong>Message Formats and Sample Messages<\/strong><\/h2>\n<p>All messages are preceded by the &#8220;&amp;&#8221; character, followed by a single character denoting the command or data type, as well as additional characters representing command parameters or data.<\/p>\n<p>Here are a few examples:<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>I<\/strong> &#8211; From PC, command message to set the data sample interval, parameter is in milliseconds, 0015 to 9999.Example: &#8216;<strong>&amp;I0500<\/strong>&#8216; sets the sampling interval to 500 milliseconds<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><strong>F<\/strong> &#8211; From PC, controls the filter settings for the sample data. Allowed values are 000, 002, 004, 008, 016, 032, and 064.Example: &#8216;<strong>&amp;F016<\/strong>&#8216; sets the filter value to 16<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Data and status are passed back to the PC from the 9103 using a similar format. For example:<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>E<\/strong> &#8211;\u00a0From device, sent if there was an error. Includes string description of error.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>A full description of the command and data messages, as well as additional information on programming the 9103 Picoammeter are found in the <a title=\"9103 USB Picoammeter User Guide\" href=\"https:\/\/www.rbdinstruments.com\/products\/picoammeter\/tech.html\" target=\"_blank\" rel=\"noopener\">9103 User Guide<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Using Actuel&#8217;s Console Window For Debugging<\/strong><\/h2>\n<p>If you are communicating with the 9103 using Windows, you can view the communications taking place in real-time using the Console window &#8211; simply click the Console button on the main window. You can also type commands here and see the results in real-time.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Progamming the 9103 Picoammeter RBD\u2019s 9103 USB PIcoammeter is packaged with Windows application software for control, current display, data-logging, and graphing. However, it&#8217;s often desirable to use the 9103 with other operating systems, integrate it with other hardware or software &hellip; <a href=\"https:\/\/www.rbdinstruments.com\/blog\/programming-the-9103-picoammeter\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[159],"tags":[89,90,7,123],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2DEXo-ew","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":2717,"url":"https:\/\/www.rbdinstruments.com\/blog\/9103-usb-picoammeter-winter-2020-news\/","url_meta":{"origin":900,"position":0},"title":"9103 USB Picoammeter Winter 2020 News","author":"Joe Caterinicchio","date":"February 12, 2020","format":false,"excerpt":"Last year, RBD introduced an updated 9103 USB Picoammeter, with 3 new models: High-speed: 500 reads \/ second compared to 40 for the Standard Model High-voltage: an isolated signal input with the ability to float the 9103 Picoammeter to \u00b15000 VDC. High-speed \/ High Voltage: One model combining both features.\u2026","rel":"","context":"In &quot;9103 USB Picoammeter&quot;","block_context":{"text":"9103 USB Picoammeter","link":"https:\/\/www.rbdinstruments.com\/blog\/category\/9103-usb-picoammeter\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/02\/actuel-1-6.png?fit=727%2C371&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/02\/actuel-1-6.png?fit=727%2C371&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2020\/02\/actuel-1-6.png?fit=727%2C371&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":826,"url":"https:\/\/www.rbdinstruments.com\/blog\/a-guide-to-9103-picoammeter-compatibility\/","url_meta":{"origin":900,"position":1},"title":"A Guide to 9103 Picoammeter Compatibility","author":"Joe Caterinicchio","date":"November 4, 2013","format":false,"excerpt":"RBD's 9103 USB Picoammeter and Actuel application (included in your purchase) are compatible with a number of hardware devices and operating systems. The complex nature of operating systems and hardware, as well as the differences between 9103 hardware and software compatibility, render a simple compatibility table somewhat lacking in clarity.\u2026","rel":"","context":"In &quot;9103 USB Picoammeter&quot;","block_context":{"text":"9103 USB Picoammeter","link":"https:\/\/www.rbdinstruments.com\/blog\/category\/9103-usb-picoammeter\/"},"img":{"alt_text":"9103 Picoammeter","src":"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/11\/Picoammeter.jpg?fit=358%2C212&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3844,"url":"https:\/\/www.rbdinstruments.com\/blog\/9103-usb-picoammeter-blog-list\/","url_meta":{"origin":900,"position":2},"title":"9103 USB Picoammeter Blog list","author":"Randy","date":"September 7, 2023","format":false,"excerpt":"A summary of all of the 9103 USB picoammeter blog posts at RBD Techspot","rel":"","context":"In &quot;9103 USB Picoammeter&quot;","block_context":{"text":"9103 USB Picoammeter","link":"https:\/\/www.rbdinstruments.com\/blog\/category\/9103-usb-picoammeter\/"},"img":{"alt_text":"9103 HV Picoammeter","src":"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2018\/11\/9103-hv.png?fit=530%2C261&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":578,"url":"https:\/\/www.rbdinstruments.com\/blog\/synchronizing_multiple_9103_picoammeter\/","url_meta":{"origin":900,"position":3},"title":"Synchronizing and Identifying Multiple 9103 Picoammeters","author":"Joe Caterinicchio","date":"November 13, 2013","format":false,"excerpt":"Two exciting new features are now available\u00a0for the 9103 Picoammeter: Synchronization and Device Identification. These features transform the 9103 from a single current measurement device to a multi-channel picoammeter. Up to 127 channels! \u00a0 Picoammeter Synchronization Synchronization is provided by RBD's free Actuel picoammeter control and display software. Multiple instances\u2026","rel":"","context":"In &quot;9103 USB Picoammeter&quot;","block_context":{"text":"9103 USB Picoammeter","link":"https:\/\/www.rbdinstruments.com\/blog\/category\/9103-usb-picoammeter\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2013\/06\/four_picos.jpg?fit=389%2C482&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2261,"url":"https:\/\/www.rbdinstruments.com\/blog\/new-feature-use-the-9103-picoammeter-to-automatically-read-microcma-target-current\/","url_meta":{"origin":900,"position":4},"title":"New Feature: Use the 9103 Picoammeter to Automatically Read microCMA Target Current","author":"Joe Caterinicchio","date":"March 29, 2018","format":false,"excerpt":"The latest software releases of Actuel for the 9103 Picoammeter and CMapp for the microCMA now support the ability to automatically read target current when acquiring data. To use this feature, you must (of course) have a 9103 Picoammeter running RBD's Actuel software. Run CMapp for the microCMA, select Hardware\u2026","rel":"","context":"In &quot;9103 USB Picoammeter&quot;","block_context":{"text":"9103 USB Picoammeter","link":"https:\/\/www.rbdinstruments.com\/blog\/category\/9103-usb-picoammeter\/"},"img":{"alt_text":"microcma-hardware-properties","src":"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2018\/03\/microcma-hardware-properties.png?fit=781%2C1025&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2018\/03\/microcma-hardware-properties.png?fit=781%2C1025&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2018\/03\/microcma-hardware-properties.png?fit=781%2C1025&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1239,"url":"https:\/\/www.rbdinstruments.com\/blog\/9103-picoammeter-actuel-micro-window\/","url_meta":{"origin":900,"position":5},"title":"9103 Picoammeter Actuel Update: Micro Window Display","author":"Joe Caterinicchio","date":"October 27, 2014","format":"link","excerpt":"UPDATE: A new Actuel Beta\u00a0featuring the micro window display is now available. The Problem: Using Actuel to control and measure current with the\u00a09103 Picoammeter takes up valuable screen real\u00a0estate: Actuel is RBD's Windows application for controlling the 9103 USB Picoammeter. It also provides features like measuring, recording, and graphing current.\u2026","rel":"","context":"In &quot;9103 USB Picoammeter&quot;","block_context":{"text":"9103 USB Picoammeter","link":"https:\/\/www.rbdinstruments.com\/blog\/category\/9103-usb-picoammeter\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rbdinstruments.com\/blog\/wp-content\/uploads\/2014\/10\/9103-picoammeter-actuel-micro-window-e1414422977862.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/posts\/900"}],"collection":[{"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/comments?post=900"}],"version-history":[{"count":2,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/posts\/900\/revisions"}],"predecessor-version":[{"id":2455,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/posts\/900\/revisions\/2455"}],"wp:attachment":[{"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/media?parent=900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/categories?post=900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rbdinstruments.com\/blog\/wp-json\/wp\/v2\/tags?post=900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}