LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Stripchart issue with CVI8.5

Hello folks,
 
In my application, I have two stripcharts that are used to give the user a preview of a calculated gamma curve. So actually, I use them just for a simple, single plot (I could have used a graph control as well). I recently upgraded to CVI8.5. After the upgrade, I noticed that one of the stripcharts was empty, while I expected to see a preview of the gamma curve. After some checking, I discovered that the chart that wasn't working was set to continuous mode. The chart that was still working, was set to sweep mode. Since I am using the charts just for a simple plot, I don't really care about the plot mode, and setting the other chart to sweep mode as well solved the problem.
 
According to the help file, the continuous mode should work fine as well, and I am absolutely sure it did with the previous versions of CVI. Is this a bug, or am I missing something? Has anyone else strange stripchart behaviour with CVI8.5? Only thing I know is that some features were added, such as autoscaling...
0 Kudos
Message 1 of 14
(5,135 Views)

Wim,

Is there any chance that the stripchart that didn't work is partially overlapped by another control?

If that's not the case, would it be possible for you to post a program snippet that reproduces the problem?

Luis

0 Kudos
Message 2 of 14
(5,088 Views)
I just noticed the exact same problem with stripcharts on 8.5 yesterday. In my case, the stripchart is overlapped by another control, but it has worked correctly with all older versions of CVI (back to 3.0.1).
--
Martin
Certified CVI Developer
0 Kudos
Message 3 of 14
(5,071 Views)

Hi Luis,

actually, the stipchart that is working is partially overlapped by a table, that is set invisible (the user can use a binary switch to toggle between table view or chart view). The stripchart that is NOT working is located on a tab control, but it is not overlapped. I'll try to reproduce the problem in a small application.

0 Kudos
Message 4 of 14
(5,055 Views)

It's a known issue in CVI 8.5 that strip charts are not plotting correctly when the plot area of the chart is overlapped by another control (Wim: the control has to be visible. An invisible control wouldn't cause a problem). We will have a fix for this as soon as possible.

Wim, given that your malfunctioning chart is not overlapped, you must have run into a different problem. Having the chart in a tab control should not be a problem. If you can reproduce it, we'd love to try it out.

Thanks,

Luis

0 Kudos
Message 5 of 14
(5,035 Views)
OK, I found the problem. I put the stripchart label inside the chart area. This way, the chart area is partially covered. Not by another control, but by its own label. Appearantly, this has the same effect on the stipchart behavior...
0 Kudos
Message 6 of 14
(5,016 Views)
I have the exact same issue with a graph object - if I use no labels in the graph my application runs fine, if I use labels, the graph resizes itself in an upredictable manner.

0 Kudos
Message 7 of 14
(4,908 Views)

Hi

It took me a couple of days to find out why the strip chart stopped working after I installed CVI 8.5. When a visible stripchart label or a control is placed on the stripchart plotting area, the stripchar does not update. According to the threads, this happens for the graph control also. We have to hope for a patch for this in the near future.

 

Jan

 

0 Kudos
Message 8 of 14
(4,850 Views)

Hello scanas,

The problem with the overlapping of the plot area by a label, or by some other control, should be specific to the strip chart. It should not happen with the graph control. If you're seeing some unexpected behavior with the graph in 8.5, please let us know, since we would want to investigate that further.

Luis

0 Kudos
Message 9 of 14
(4,839 Views)

This is a big issue for me.  I use transparent buttons over the stripchart axes.  When the user clicks near the axis a popup appears to allow a change in scale. 

I've now carefully sized the transparent buttons to try to keep them out of the plot area but with autosizing and all the new screen resolutions its hard to be certain that a button won't encroach on the plot area by a pixel or two. 

0 Kudos
Message 10 of 14
(4,693 Views)