LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

table

You just have to determine when there is no data (perhaps a timeout error on a VISA read), and ignore the error and skip over adding any data to the table.

0 Kudos
Message 11 of 14
(421 Views)

The VI could sort whether there is data or none. If there is no data, It won't lag. If there is data, it will list the data in the table. However, we are using FAKE / PROGRAMMED data before. Now, we want to make use of the data read by the microcontroller and it does not log anything Smiley Sad Is there a possibility that there is something wrong with my VI?

0 Kudos
Message 12 of 14
(409 Views)

Sorry for the late reply. Thank you for sending a correct VI. I have another problem, why does my program lag values even thought the microcontroller doesn't send data? Also, it lagged zeros Smiley Sad

 

Attached is a word file where the image of some the errors are listed.

 

The one in vertical box is the inaccuracy in time (it must lag every 30 mins because the microcontroller sends data every 30 mins. . BUT it doesn't Smiley Sad)

 

The one in the horizontal box is that it lags data with 0.00000 Smiley Indifferent

 

Thanks for your help :)) Smiley Happy

0 Kudos
Message 13 of 14
(397 Views)

You have obviously made some changes to the example from Ravens Fan and it seems pretty obvious you did not pay any attention to how to handle a timeout error. Go back and really read what was said.

 

p.s. It is 'Log' and 'Logger' and never again post a docx file. Attach a png or jpg.

0 Kudos
Message 14 of 14
(390 Views)