06-30-2008 03:44 PM
06-30-2008 03:54 PM
Brian,
I do not believe that there have been any other suggestions that allow the number of plots in a stacked chart to be changed (increased or decreased) at run time in an executable. Please point out any that I may have missed.
Steve
07-01-2008 04:50 PM
07-14-2008 10:31 PM
07-15-2008 08:29 AM
Another NI Application Engineer has submitted a Corrective Action Request (CAR) to R&D # 119863.
Steve
07-15-2008 06:52 PM
05-27-2009 12:06 PM
I know this is an old post but I have come across this exact problem using Labview version 8.5.1f4. It returns error code 1000 when I try setting any value to the LegNumRows property of a Waveform Chart. This issue has been reported to NI as stated in the previous posts, but it seems like it hasn't been fixed. Is anyone else still experiencing this bug...? Thanks in advance.
-CAC
05-28-2009 02:21 PM
CAC,
Hello! I apologize that you are experiencing this issue! However, as this forum indicates, it is a very known issue that has been reported to R&D for multiple scenarios. There are a few workarounds for this issue that have been posted on this thread. Please let me know if you have trouble implimenting the mentioned workarounds.
Thanks!
05-28-2009 05:30 PM
CAC10268,
In particular, look at this post earlier in this thread for a reason why you are getting error 1000. It states that prior to LabVIEW 8.5, the property node you are trying to call was not supported during run-time execution of a VI, and therefore returned error 1000. For some reason, this property stopped returning that error and appeared to work in LabVIEW 8.5.0 somtimes, but would often crash your application. Therefore, to address the situation in 8.5.1, it looks like the developer decided the best option was to revert to the 8.2.1 behavior, disable the feature and return error 1000 one again. I have not revisited this feature in 8.6 or 8.6.1 to see if the behavior has changed since then.
For a workaround, in particular, view this post. This demonstrates a hack of changing the number of plots by changing a chart in a sub-panel that is not in "execution state". Be warned, this is not a perfect workaround because it will not be as high performance as updating a chart in the native window, and there are issues that SteveP found with naming plots in the plot legend, and with deploying this front panel strategy in an executable. The first issue could probably be worked around with another handful of property nodes, but no one has suggested a workaround for the second issue. Both have been reported to R&D as shown later in this thread.
Good luck,
05-28-2009 05:39 PM
Spex,
The error 1000 still exists in 8.6.1 and if you are a beta tester, you can determine whether it still exists in that version.
Steve