03-12-2016 03:27 AM - edited 03-12-2016 03:29 AM
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.
Solved! Go to Solution.
03-12-2016 06:45 AM - edited 03-12-2016 06:45 AM
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
03-12-2016 07:43 AM
Thanks that works.
I saw that thing in forum, but don't able to get how this is actually done.
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.
03-12-2016 07:47 AM
@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
03-12-2016 10:36 AM
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.