LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

取得データが5秒に一度づれてしまいます。

圧力計からデータを取得するviなのですが、取得データが5秒に一度づれてしまいます。

例:11:08:01から11:08:03になってしまい、11:08:02は表示されない

待機時間を変えてみたり、ハードの設定の調整をしてみたのですが、うまくいきません。

申し訳ありませんが、ご教示お願いいたいます。

 

スクリーンショット (14).png

  

スクリーンショット 2025-04-15 113846.png

 

0 Kudos
Message 1 of 2
(151 Views)

Hi 3can,

 


@3can wrote:

I'm using vi to get data from a pressure gauge, but the data I get is delayed once every 5 seconds.

For example, it goes from 11:08:01 to 11:08:03, and 11:08:02 doesn't show up.

I've tried changing the wait time and adjusting the hardware settings, but it doesn't work.

I'm sorry, but I'd appreciate some advice.


Remove the wait function from your while loop.

Waiting for messages (by VISARead) is enough, no need for an additional wait!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(80 Views)