03-09-2010 11:14 AM
Hello,
I found this method in another thread, and it's pretty ingenious; but I have a slight problem with it. My application has three data collection cards plotting to six different waveform graphs, and each graph has multiple plots showing on it. I was originally naming the plots manually, but for some weird reason they would occasionally drop the names I'd assigned and resort to temperature 1, temperature 2, etc. As a result, I implemented this fix:
http://forums.ni.com/ni/board/message?board.id=170&message.id=378284&query.id=1132948#M378284
So here's the problem. Each time the program loops, the names flicker to the (correct) ones I have set with this method, only to flicker back to "temperature 1, temperature 2," etc. Not a huge problem as long as the sample time is fairly short (like, once a second or less), because at that rate the time "on" is longer than the time "off." However, we're running long-duration tests and want to cut back to sampling once a minute or so. At that rate, the correct name flickers onto the screen and is replaced with the wrong one, for the remaining 59.25 seconds seconds or so until the next sampl is taken.
Is there a way to make the plot names persist, when adjusting them programmatically like this? Mind you, I wouldn't have had to do this in the first place, but manual naming eventually overwrites itself, so I kind of wanted to work out a way (like this) where I could write in an array of string constants and count on them to consistently correct the problem.
Thanks for your help!
Danielle
Solved! Go to Solution.
03-09-2010 11:39 AM
03-09-2010 12:20 PM
Thanks, Dennis! I had read about the "ignore attributes" thing elsewhere, but kept looking for it in the waveform depiction in the block diagram. That solved the problem.
~DO'H!