LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Continued Problems with Stripchart Control

Fast forward 2 years since I last posted issues with the Stripchart control...

 

1).  There seem to be some serious problems with PrintCtrl() and the stripchart control.  When a Stripchart is paused and scrolled to a different place in the history, when PrintCtrl() is called, the strip chart is printed as though it was not scrolled at all.  This is verified by looking at the scrolled and not-scrolled X-axis values.

 

So how do you print a paused and scrolled strip chart correctly?

 

2).  I figured I could solve that by writing a portion of the history, saved in a separate array, to a "hidden" stripchart control and then printing that control.  (I can print the entire history array this way.)  But, I can't figure out a way to READ any information from a stripchart control, other than attributes.  Apparently one cannot read the left x-axis value, which is needed in order to index into the separately saved history array.

 

And, GetCtrlAttribute(panel, control, ATTR_XAXIS_OFFSET, &Seconds), isn't it.  That reads the fixed offset that was used when the strip chart was started.

 

Am I missing something?  Is there a way to read anything from a strip chart when it is paused?  Scroll delta?  Scroll percentage?

0 Kudos
Message 1 of 5
(3,522 Views)

Hi Gary,

 

Yes, this does seem a bug. And the fact that you can't set/get the strip chart scrolling offset is also an oversight. Both of these will be fixed as soon as possible. I've created a bug report for it (#250653)

 

Sorry about this.

 

Luis

0 Kudos
Message 2 of 5
(3,493 Views)

Luis,

Thank you for checking this out.  Very glad to hear that this will be fixed, as this capability needs to be installed in a deliverable project I'm working on.  Any clue when the fix will roll out?

Thanks...

0 Kudos
Message 3 of 5
(3,485 Views)

In a couple of months.

 

Luis

0 Kudos
Message 4 of 5
(3,451 Views)

That works well with my schedule.  Thanks...

0 Kudos
Message 5 of 5
(3,441 Views)