04-21-2014 01:19 AM
Hi,
I am using a snippet for reintialising the default values while pressing the run button.
But some of my charts are not intialising to its default values.Anyone can help me?
Thanks in advance
Solved! Go to Solution.
04-21-2014 03:16 AM - edited 04-21-2014 03:16 AM
You also need to clear the chart history.
04-21-2014 04:41 AM
So I Have to do it again during each time?
04-21-2014 08:30 AM
@nk wrote:
So I Have to do it again during each time?
You have to do it each time you want the chart to be cleared. In a build EXE it will start clear every time you start it. It is only still appending because the graph never left LabVIEW's memory and it is told to append data to whatever is already in the graph.
A better way is to use the Graph not Chart and keep track of the history your self in a shift register, which will be cleared at the start of your program.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-21-2014 11:27 AM
@nk wrote:
So I Have to do it again during each time?
Don't be silly! We are learning to program so the code takes care of ""it". Program once and it will happen automatically forever. Right?
04-21-2014 11:40 AM
@altenbach wrote:
Don't be silly! We are learning to program so the code takes care of ""it". Program once and it will happen automatically forever. Right?
I'm sure you realize many people don't think of LabVIEW as a programming language, and think of it more as a tool that does the work for you, so you don't have to program.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-22-2014 02:21 AM
I don't know how people are thinking about LabVIEW,
But I have found out a more simpler solution by changing the VI properties- execution page -clear indicators when called. Anyway thanks for your time and consideration