How to remove the extra line in XY chart 
Author Message
 How to remove the extra line in XY chart

The difference you see (in running first time versus subsequent times)
is due to the uninitialized shift register.  Uninitialized shift
registers can act like global variables.  When you run the program the
first time, the shift register is initialized to a default (0 for
numerics).  If you don't close the VI, the next time you run it, the
shift register already contains the last value from the previous
execution.
For the purposes of your program, you should figure out what value to
initialize the shift register to (by wiring something, a constant or a
time function, to it from outside the loop).
You may also want to change the mechanical action on your boolean
button to Latch When Pressed or Latch When Released.  That way, it
will return to the default value after it's operated so it will be
ready for the next run.  Right-click on the control and select
Mechanical Action.


Tue, 12 Jul 2005 22:35:05 GMT  
 How to remove the extra line in XY chart
Hi Al S!
Thanks! You are right!


Thu, 14 Jul 2005 22:27:51 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. xy graph to xy chart

2. Generating real time for an xy graph behaving as a chart

3. How can I plot an XY-chart ?

4. how to print the XY-Chart

5. y-t charts versus xy graphs

6. Removing Extra Spaces From A String

7. C4-Removing extra spaces from memo field???

8. NumPy arrays: how to remove extra axes

9. remove blank lines before lines beginning with string

10. blank lines/lines with spaces (how to remove)

11. FORTRAN xy -- Command Line Arguments?

12. what cause the extra line to print?

 

 
Powered by phpBB® Forum Software