LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display incoming data in log window.

Solved!
Go to solution

Hello,

I am asking for help doing this:

  • I receive messages via Serial Port, each 500ms.
  • I need to display this messages line by line in a window/indicator in my front panel, creating a kind of text log.

Can I have your help on how to do this?

Thank you.

Duarte

0 Kudos
Message 1 of 4
(3,301 Views)
Solution
Accepted by topic author DuarteCota

Hi Duarte,

 

concatenate your received strings with the help of a shift register and display the concatenated string in a string indicator.

What's the problem here?

Best regards,
GerdW


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

There are many different solutions. Here is one, not necessarily the most optimal in terms of speed etc, but can give you idea... Whatever solution you use, it is important that you need to limit the size of the log, otherwise you get a memory leak.

Here is the snippet (drag and drop into an empty block diagram):

 

stringmamorey.png

 

 

0 Kudos
Message 3 of 4
(3,276 Views)

I did it.

Thanks.

0 Kudos
Message 4 of 4
(3,230 Views)