04-13-2025 09:32 PM
お世話になります。
圧力計からデータを取得するviなのですが、1秒単位で取得するにはどうすればいいでしょうか?
例:11:08:01から11:08:03になってしまい、11:08:02は表示されない
ご教示お願いいたいます。
04-14-2025 09:58 AM
Your loop runs 4x per second (250ms increment) and you need to slow it down for 1/second. Assuming that all loop code can safely execute in that time, you can calculate the current time from the start time and the value of the iteration terminal.
04-14-2025 06:26 PM
アドバイスありがとうございます。
具体的にviをどう修正すればいいか教えてもらえないでしょうか?
よろしくお願いいたします。