Rheodyne valve RS232 communications

버전 1.0.0.0 (17.1 KB) 작성자: Geoffrey Akien
Commands for communicating with Rheodyne valves via RS232
다운로드 수: 463
업데이트 날짜: 2013/5/21

라이선스 보기

This is a set of commands for commmunicating with Rheodyne valves via RS232 using the native MATLAB interface. This is a slightly streamlined version of the commands in CO2gui, which you should use if you want a version that can use Realterm instead.

Works by storing a timer in a structure in the UserData which triggers a valve position change e.g. every 10 minutes (this is designed for continuous sampling).

serialObject = rheodyne232obj(comPort, userData) returns the serial object for Rheodyne serial-controlled valves. given a suitable COM port number (unsigned integer: 1-255). Information can be passed into the serial object through the optional userData argument.

serialObject = rheodyne232objnotimer(comPort) returns a version without a timer present, so any commands relating to this will error - this is useful for applications not requiring continuous sampling, where the footprint needs to be kept low.

rheodyne232objconnect and disconnect(serialObject) work as you'd expect them too.

rheodyne232objcomm waits for confirmation from the valve to finish the operation before continuing, but this can be quite slow and annoying, so rheodyne232objfastcomm does not wait.

인용 양식

Geoffrey Akien (2024). Rheodyne valve RS232 communications (https://www.mathworks.com/matlabcentral/fileexchange/41809-rheodyne-valve-rs232-communications), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Simscape Fluids에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0