How to read values from a pressure controller using matlab

2 views (last 30 days)
0
down vote
favorite
As i am new to this concept, i would like to know some information.
"I have a pressure guage which is connected to pressure controller where i can see the values of pressure on the display. I have connected rs 232 serial interface between the controller and computer.so i would like to know how to read the display values and store it in text file using matlab."
I have started the code like this in the command window s=serial('COM1','Baudrate',9600,'Terminator','CR') fopen(s)
Serial Port Object : Serial-COM1
Communication Settings Port: COM1 BaudRate: 9600 Terminator: 'CR'
Communication State Status: closed RecordStatus: off
Read/Write State TransferStatus: idle BytesAvailable: 0 ValuesReceived: 0 ValuesSent: 0

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!