LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform crashing on PDA?

   Did waveform charts sort-of worked on the PDA before 8.0 or 8.0.1?
try the following example and compile it.  I've attached a jpg for reference.
I know if i wire the array to waveform chart it will work, except you only get one element in the array plotted? or am i mistaken?

0 Kudos
Message 1 of 9
(4,556 Views)
If I remember correctly, multiplot charts did not work before 8.
 
XY graphs did, but I believe they were limited to 8 plots. I think this was documented in the release notes.

___________________
Try to take over the world!
0 Kudos
Message 2 of 9
(4,552 Views)
I had a hard time looking at the screenshot of your application.  It would grealty help me if I can look at your code in order to help you better.

Best Regards,

Rudi N.
Applications Engineer
0 Kudos
Message 3 of 9
(4,528 Views)
Here is a sample vi that demonstrates what I mean. Sorry for taking so long.
0 Kudos
Message 4 of 9
(4,506 Views)
If you change the Array to Cluster to have the number of elements be only the 8 points that you provide, it no longer fails.  The problem is looking like it is with "creating" data for the other cluster point.

Hope that this helps,
Bob Young

0 Kudos
Message 5 of 9
(4,461 Views)
  Smiley Sad
That loop was just to show how it crashes. Thanks for your fix, but unfortunately a similiar implementation crashes on the PDA.
0 Kudos
Message 6 of 9
(4,402 Views)
Hello,
 
I think this has to do with the fact that you were using a Waveform Chart which was originally dropped into the VI under a NON-PDA target.  I deleted it and replaced it with a waveform chart with the VI targeted to the PDA (so that the palettes were adjusted correctly), and the error is non-existent.  Of course, you don't need the waveform conversion function - the array should be wired directly to the waveform chart, and you should see all the points.  I am guessing it only looked like a single point before because the x-axis was showing 0 to 100+ for it's range, and you were only writing 8 points.  The attached VI should work without a problem - add it to an existing PDA target under an existing project.
 
I hope this helps!
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 7 of 9
(4,388 Views)
Thanks for the insight. I found out what was causing it to crash. When you wire the function, Array to cluster, you can set how many elements you want to be treated as elements in the cluster. It appears the default is 9, I have only 8 values so it caused the PDA to crash. But quick question and maybe you have an idea on how i can go about doing this. My values are in the micro range but SI notation is not supported, so when I plot my values on the graph, what I end up getting is some lumpyness on the curve but I can't really see much of it due to the way the scale is set up.

0 Kudos
Message 8 of 9
(4,385 Views)
Hello,
 
One easy way would be to employ a commonly used method in many graphs and documentation, not specifically LabVIEW.  That is to put a note, perhaps in the title or the axis label which says "values in us" or simply "us" in parenthesis.  I don't know off hand if the symbol font is supported on PDAs, but if so, you can actually use the letter mu, which looks like our letter "u" and usually stands for "micro."  Then you just scale your values appropriately so they are to be interpreted in micro units.
 
I hope this helps!
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 9 of 9
(4,370 Views)