您尚未登录,请先 登录注册,以便参与发帖交流。

如何通过Matlab使用SPECTRAN V6

回复主题
1 个回复 · 378 次浏览
#1 2021-04-09 16:48
银光图片
有关如何从服务器转换JSON文本的其他信息,请参见:https://de.mathworks.com/help/compiler_sdk/mps_dev_test/mps.json.decoderesponse.html?searchHighlight=json&s_tid=srchtitle

最后,如何发送和接收HTTP消息显示在:https://de.mathworks.com/help/matlab/ref/matlab.net.http.requestmessage.send.html

有关数据结构和命令集的所有我们需要的文档,可在https://v6-forum.aaronia.de/forum/topic/rtsa-suite-pro-http-streaming/下找到

对于第一个实施测试,您可能需要使用提供I / Q和/或SPECTRA数据的I / Q信号发生器模块。

完整的Rx和Tx SPECTRAN V6远程接口的简单设置看起来像附件,包括I / Q和/或SPECTRA数据流。

请随时发布您的示例Matlab设置。




TOP
#2 2022-08-01 10:30

Q:Hi,
Any update on this?
Thanks
Abhijith



A:
我已经要求我们的开发人员调查此事。我怀疑这是解析器在查看安诺尼FileReader块中的预览时遇到的问题,但由于我不确定首先应该如何处理,因此我真的需要等待一个完整的报告。

A:
Hello Abhijith,

there are multiple issue at play here:

First, the "start streaming" method will make the file source *stop* streaming in its current MATLAB implementation, and the easiest workaround there is to just start the file source once you've opened the mission in RTSA and not call that endpoint.
You're also seeing duplicated packets because of the /sample endpoint which was used in the provided script.
I've attached an updated AaroniaHTTP.m class to this post which includes a new method "getStreamPacket". How this method can be used to stream data is demonstrated in the spectranstreaming.m. Especially when you're just streaming from a file source, you can turn down the playback speed a little to help alleviate any remaining incontinuities ... MATLAB isn't the perfect choice to implement a streaming client like that.

See the attached screenshot for an exemplary capture, which, as you can see, is perfectly clean and doesn't have discontinuities.

TOP
回复主题
快速回复