LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Append data coming from Serial Port in Serial Indicator in Front Panel?

Solved!
Go to solution

Hello! Everyone,
I am new to LabVIEW but has prior programming experience.

I have to develop a front panel for my device and that's why i need LabVIEW, the data is coming from Serial Port, so i started searching internet/ LabVIEW forums and found various tutorials by the help of which i am able to do the Serial Communication part, but got stuck in one thing.

Whenever data is coming from Serial Port, it gets dispayed on String Indicator but clears quickly, but i want whatever data is coming it should not clear the old data, and new data must append with old data.

I read String Concatenation will work in this case but i am not able to use it.

 

Please have a look at my VI attached with this mail.

Download All
0 Kudos
Message 1 of 5
(3,143 Views)
Solution
Accepted by topic author xpress_embedo

You need to use a shift register to keep your history in.

I recommend you go to some of the tutorials that are available.  They will help you a lot to get spun up on many things like this.

3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 5
(3,106 Views)

Thanks that works.
I saw that thing in forum, but don't able to get how this is actually done.

 

http://forums.ni.com/t5/Multifunction-DAQ/How-to-append-rather-than-over-write-text-to-a-string-indi...

and then i saw your post and then i saw this video

https://www.youtube.com/watch?v=wRvpb9jtRlE

 

Thanks for those tutorial links, i am referring some other tutorials and will refer these also.

Now the data i receive is coming properly on string indicator, but why it is not auto-scrolling.

Any idea how can i add this feature.

0 Kudos
Message 3 of 5
(3,077 Views)
Solution
Accepted by topic author xpress_embedo

@xpress_embedo wrote:

Now the data i receive is coming properly on string indicator, but why it is not auto-scrolling.

Any idea how can i add this feature.


Always scroll to the latest data displayed in a string indicator


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 5
(3,067 Views)

Thanks that works.
Let me summarize what i had done.

 

In Front Pane, right click on String Indicator and then Create -> Property Node -> Text -> Scroll Position

By doing this we get Text.ScrollPos in Block Diagram of VI, now right click on it and Change All To Write, and then select positive inifinity and it works.

 

0 Kudos
Message 5 of 5
(3,043 Views)