how to implement a command - response protocol on MATLAB ?

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

回答 (1 件)

Ankit Agarwal
Ankit Agarwal 2013 年 3 月 5 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeInstrument Control Toolbox Supported Hardware についてさらに検索

質問済み:

2013 年 3 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by