Programming the 9103 Picoammeter

Programming the 9103 Picoammeter

Progamming the 9103 Picoammeter

RBD’s 9103 USB PIcoammeter is packaged with Windows application software for control, current display, data-logging, and graphing. However, it’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.

A complete guide to programming the 9103 picoammeter can be viewed and downloaded  from RBD’s website here. 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.

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.

Setting up Communications

If you are using your 9103 with Windows, the installed driver creates a virtual serial COM port. RBD’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.

For other operating systems, you’ll need to download the appropriate driver from the manufacturer of the USB communications components, FTDI. Those drivers can be found here.

If you are interfacing the 9103 with LabView, drivers and scripts can be found on the 9103 downloads page.

Communications Protocol

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:

Setting

Value

Bits per Second (Baud Rate)

57600

Data Bits

8

Parity

None

Stop Bits

1

Flow Control

None

Sending and Receiving Commands

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.

All messages are delivered as ASCII text – there is no binary message data. This includes the actual data delivered by the 9103, which is a formatted ASCII value.

Depending on your programming environment and application, you’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.

Message Formats and Sample Messages

All messages are preceded by the “&” character, followed by a single character denoting the command or data type, as well as additional characters representing command parameters or data.

Here are a few examples:

I – From PC, command message to set the data sample interval, parameter is in milliseconds, 0015 to 9999.Example: ‘&I0500‘ sets the sampling interval to 500 milliseconds
F – From PC, controls the filter settings for the sample data. Allowed values are 000, 002, 004, 008, 016, 032, and 064.Example: ‘&F016‘ sets the filter value to 16

Data and status are passed back to the PC from the 9103 using a similar format. For example:

E – From device, sent if there was an error. Includes string description of error.

A full description of the command and data messages, as well as additional information on programming the 9103 Picoammeter are found in the 9103 User Guide.

 

Using Actuel’s Console Window For Debugging

If you are communicating with the 9103 using Windows, you can view the communications taking place in real-time using the Console window – simply click the Console button on the main window. You can also type commands here and see the results in real-time.

 

 

 

 

32-100 electron multiplier supply digital mode

The model 32-100 electron multiplier supply is used on older Physical Electronics Auger electron spectroscopy and X-ray photoelectron spectroscopy surface analysis systems to control the electron multiplier voltage.

When using the 32-100 electron multiplier supply in the digital mode (the software automatically sets the electron multiplier voltage)  the auto-ems box in the Auger Scan software AES electron multiplier properties dialog box needs to be checked, and the CMA multiplier switch on the front panel of the 32-100 must be set to digital.

But what if the 32-100 still does not work in the digital mode?  In that case, there may be a problem with one of the digital ICs.  The following procedure explains how to try and repair this problem.

  1. Turn off the 32-100 and remove the cover.
  2. Most 32-100s have three ICs for the SED digital side of the control which are not used. You can move those ICs over to the CMA side of the control and see if that solves the problem.
  3. Remove ICs U2, U4 and U6. These are the CMA digital ICs. Then, move over U3, U5 and U7 from the SED side if those chips are available. If they are missing, then you will need to order some of those ICs from Digikey, Newark or RBD Instruments. U2 and U4 are 74LS174s and U6 is an AD7521.
  4. If you did have those ICs and that did not solve the problem, then it most likely means that one of the encoder circuit ICs are defective. Those are U16 (74123) and U1 (AM25LS2538). RBD Instruments provides these parts.
  5. You do not need to replace the SED digital ICs as they are not used.

It is assumed that the 32-100 is working in the analog mode. If the 32-100 is not working in the analog mode it will not work in the digital mode either.

Refer to the pictures below for the locations of the ICs on the 32-100 motherboard.

Note that the switch positions need to be set as shown below.

 

32100-switch-positions

32100-switch-positions

 

If you need further help troubleshooting your 32-100 electron multiplier supply please contact RBD Instruments dot com

This slideshow requires JavaScript.

Synchronizing and Identifying Multiple 9103 Picoammeters

four pico ammetersTwo exciting new features are now available for 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!

 

Picoammeter Synchronization

Synchronization is provided by RBD’s free Actuel picoammeter control and display software. Multiple instances of the software now communicate start and stop information for sampling and recording of data. Additional features are also being added to facilitate exporting and combining of data-sets from multiple picoammeters. While the synchronization is not time sample-accurate, this small offset will not be an issue for most applications.

The newest version of RBD’s Actuel software (1.3) is now available. This update includes additional features such as the ability to run in either Windows Admin or User mode.

actuel picoammeter sampleactuel picoammeter graphe

Device Identification

9103 firmware now includes the ability to set a unique string identifier for your 9103 Picoammeter. The ID can be easily changed at any time by the user, and is recalled when the 9103 is powered off/on. This makes it easier to identify 9103 Picoammeters in a multiple-unit environment.

All new 9103’s will include this feature; existing units can be upgraded for a nominal fee and shipping charge.

More information on the 9103 Picoammeter can be found on our website.