GSIOC RS232 communication files

버전 1.0.0.0 (5.21 KB) 작성자: Geoffrey Akien
For communicating with GSIOC devices via RS232
다운로드 수: 577
업데이트 날짜: 2013/5/21

라이선스 보기

This is a more general form of the protocols for Gilson HPLC pumps in CO2gui and the Gilson pump files.

Create a serialObject:
serialObject = gsiocobj(comPortNumber)

Connect to the device:
gsiocobjconnect(serialObject)

Send some commands:
gsiocobjcomm(type, serialObject, deviceID, command) writes or reads information from GSIOC devices (initially designed for the 305, but probably works the same for other devices), connected via the Gilson 506C interface through RS232 (the pumps connect to the interface via RS422). type is 'read' or 'write', serialObject is the serial port object, deviceID the ID of the GSIOC device (they are set to 1 by default, but
% may be between 1 and 63 depending on the system - the interface is usually 63), command is the command to be read/written. If reading a value, function responds with the requested value. If writing a value, the response is [1 value] if successful. For both read and write operations, the response is -1 if the controller returns an unexpected message, -2 if there was no response, or -3 if any of the arguments were invalid.

Disconnect and cleanup when done:
gsiocobj(serialObject)

인용 양식

Geoffrey Akien (2024). GSIOC RS232 communication files (https://www.mathworks.com/matlabcentral/fileexchange/41812-gsioc-rs232-communication-files), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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