how to implement a command - response protocol on MATLAB ?

4 views (last 30 days)
Hi, I have a magnetic Field sensor connected to a Micro-controller MSP430 from Texas Instruments. My task is to take the 3-axis data and display it in real time. On MATLAB I found out about SCPI commands.
I want to control certain state variables also through the interface. I have to communicae to MATLAB using a serial port on my device.For this i figured that a command-response protocol would be necessary.
i am quite new to MATLAB. Please suggest what are the tradeoff's of going with SCPI implementation ?
Also considering that I need to program the device for SCPI commands. It's a whole new thing for me right now.
Also if there are any other alternatives that I could go for, please suggest
Waiting for reply
Ankit Agarwal

Answers (1)

Ankit Agarwal
Ankit Agarwal on 5 Mar 2013
Hi, I have a magnetic Field sensor connected to a Micro-controller MSP430 from Texas Instruments. My task is to take the 3-axis data and display it in real time. On MATLAB I found out about SCPI commands.
I want to control certain state variables also through the interface. I have to communicae to MATLAB using a serial port on my device.For this i figured that a command-response protocol would be necessary.
i am quite new to MATLAB. Please suggest what are the tradeoff's of going with SCPI implementation ?
Also considering that I need to program the device for SCPI commands. It's a whole new thing for me right now.
Also if there are any other alternatives that I could go for, please suggest
Waiting for reply
Ankit Agarwal

Community Treasure Hunt

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

Start Hunting!