File Exchange

image thumbnail

Jasco BPR RS232 communication

version 1.1 (23.1 KB) by

Drivers and higher level commands for controlling Jasco BPRs via RS232.

1 Download


View License

A full suite of lower and higher-level commands for controlling Jasco BPRs via RS232, based on those used in CO2gui, but only implemented using the native MATLAB serial interface.

Generate a serial object:
serialObject = bprobj(comPort) returns the serial object for Jasco back-pressure regulators given a suitable COM port number (unsigned integer: 1-255).

bprobjconnect(serialObject) initialises communication with Jasco BPRs

Send commands using bprobjcomm or using the premade files for set pressure, temperature, valve speed etc.


Files are fully commented so should be relatively straightforward to work out.

Because Jasco BPRs use hardware flow control, MATLAB will hang if you try to connect to a COM port that has nothing connected to it, or, if the power goes off to the BPR. This can be circumvented by using software such as Realterm to achieve the same thing.

Comments and Ratings (0)



Fixed typos

MATLAB Release
MATLAB 7.0.1 (R14SP1)
Tags Add Tags

Inspired by: CO2gui - lab control and automation

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video