Read from a serial port and VISA instrument at the same time

1 回表示 (過去 30 日間)
Rubén Rodríguez Piñero
Rubén Rodríguez Piñero 2016 年 10 月 11 日
回答済み: Soma Ardhanareeswaran 2016 年 10 月 21 日
I'm designing an application to take GPS data from a serial port and power measurements from a VISA connection. I want to read both of them at the same time, and I tried the spmd command, but looks like it doesn't works. My question is if there is something that I can use to make both measurements at the same time.
Thank you.

採用された回答

Soma Ardhanareeswaran
Soma Ardhanareeswaran 2016 年 10 月 21 日
If both your data come with time series data, then you can synchronize them after collecting the data. Refer to
  1. Item one https://www.mathworks.com/help/matlab/ref/timeseries.synchronize.html
  2. Item two https://www.mathworks.com/help/matlab/ref/timeseries-class.html
There is no direct way to synchronize the data while capturing them.

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by