Jasco BPR RS232 communication
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).
Connect:
bprobjconnect(serialObject) initialises communication with Jasco BPRs
Send commands using bprobjcomm or using the premade files for set pressure, temperature, valve speed etc.
Disconnect:
bprobjdisconnect(serialObject)
Files are fully commented so should be relatively straightforward to work out.
IMPORTANT
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.
Zitieren als
Geoffrey Akien (2024). Jasco BPR RS232 communication (https://www.mathworks.com/matlabcentral/fileexchange/41803-jasco-bpr-rs232-communication), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert von: CO2gui - lab control and automation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | Fixed typos |
||
1.0.0.0 |