LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Lockups in CVI for Linux

Hello Kevin,

> My guess is that it's the Left Y-Axis that is causing this issue. It's
> theoretically possible to happen with all the other axes, but I've never
> seen it manifest itself with them. You could modify your macro to only
> hide the left Y-Axis name (I realize this is often the most important
> one), but that would give us a little more information, and hopefully give
> your operators more info as well.

I did that and it seems to work so far.
I'll leave it like that for now and see what tomorrow brings...

Will test your other suggestions later.
Thanks
--
Guillaume Dargaud
http://www.gdargaud.net/
0 Kudos
Message 11 of 16
(771 Views)

I'm not sure if it was completely clear from my post, but when trying what you just did (only hiding the Left Y-Axis), and if you try changing the XY Font/Point Size, you can disable ATTR_FIXED_PLOT_AREA so that things look a little more normal.

Kevin B.
0 Kudos
Message 12 of 16
(768 Views)

OK, thanks, haven't tried that yet, but in the process of testing your fixes I stumbled upon a weird bug which I did not have before: if I have several strip charts on a panel, the 1st one behaves strangely. Look at the attached image. The 1st one goes backwards but irregularly (not all points are there). On the example here, the same data is sent to both. I can reproduce and that's on Windows and Linux.

 

I thought that I had a runaway attribute on the first one (such as ATTR_XREVERSE), so I wrote a function to dump all attributes off a control (will post code later, issues remaining) and they are identical, except for the positions. And just looking at the shape of the grid, I think it's more likely to be a bug in CVI than in my prog. And as usual, trying to reduce the problem to a simple app just makes it go away...

 

0 Kudos
Message 13 of 16
(764 Views)

Something is definitely going wrong there. I've never seen a strip chart plot like that, so any code/samples you can provide to help us reproduce the issue would be great.

Kevin B.
0 Kudos
Message 14 of 16
(755 Views)
Hello Kevin,

> Something is definitely going wrong there. I've never seen a strip chart
> plot like that, so any code/samples you can provide to help us reproduce
> the issue would be great.

I shuffled my init sequence (all those graphs are created dynamically with
NewCtrl) and the problem went away.
I still have to test your other suggestions (fixed 20 other bugs of my own
today, bleh) and will see if I can get further info about this bug on
monday. Anyway it has to do with a fixed plot area before a resize with the
left axis title absent...
--
Guillaume Dargaud
http://www.gdargaud.net/
0 Kudos
Message 15 of 16
(742 Views)

Interesting. Off the top of my head, I can't think of an issue I'm aware of that'd be influenced by that... certainly not with such crazy visual errors. Thanks for helping us investigate this.

Kevin B.
0 Kudos
Message 16 of 16
(736 Views)