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 个)

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 Exchange 中查找有关 Instrument Control Toolbox Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by