Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Matlab and RS232 problems

Status
Not open for further replies.

stanislas1234

Newbie level 1
Newbie level 1
Joined
Jan 7, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,296
Hi, first of all, I am new into this forum, I am young, and I am french, so hello everyone, and sorry for my bad english.

Okay, I explain my problem now, I would like to receive data in live into matlab, from a wiresensor (potentiometer), through a PowerLab (data acquisition board : http://www.adinstruments.com/products
Apparently, I can give in live to matlab the voltage output of the sensor (by an extension of their software "LabChart") : http://www.adinstruments.com/products/software/labchart-extensions
And again, apparently I can process it in live in matlab : http://forum.adinstruments.com/viewtopic.php?f=7&t=390
Now what I really want, is to do some mathematical verification on my sensor signal, for example I want the value of it output voltage to be in a certain range, so matlab has to receive the signal, verify the range, and, it's my biggest problem, if it's out of range, I want matlab to send to a RS232 board a signal (this RS232 command a motor) wich will allow the sensor to go back in range).
And I don't know how to do so : I have read those articles

http://hades.mech.northwestern.edu/index.php/Serial_communication_with_Matlab
http://www.mathworks.fr/products/instrument/supported/serial.html

So do you think this is possible ? Have you ever heard or read something like that ?

Again sorry for my bad english, and thank you for futur any helps

Stanislas
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top