LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamping Issues while reading from Modbus

Solved!
Go to solution

Hi,

 

I am very new to LabVIEW, and I am trying to read data from the Modbus of a device and write it to a file (I tried excel, txt and tdms). I successfully built a connection and got the data, but my data polling resolution was too slow, about 20 readings/minute, even when I did not set wait times. I know that this is because I placed the Modbus Master Open and Close within the while loop (see attached picture 1), but if I don't do that, the problem is that every time I try to extract data, and add a timing block to get time too, I get the error. I don't understand why even displaying the timestamp via an indicator is conflicting with the Modbus read. Can anyone help me with this? Is there any other way I can get timestamps along with my data?

Download All
0 Kudos
Message 1 of 4
(202 Views)
Solution
Accepted by topic author Mady9822

Turn off Highlight Execution? 😉

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 4
(136 Views)

Can you tell me how to do that? 

0 Kudos
Message 3 of 4
(132 Views)

Yamaeda_0-1747669122634.png

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 4
(117 Views)