LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with graph (x-axis)

Solved!
Go to solution

I tried to use the command SetAxisScalingMode in order to allow the user to see the histogram +0.1 after the maximum, and -0.1 below minimum:

SetAxisScalingMode (graphTabPanelHandle, TABPANEL_3_CCH, VAL_BOTTOM_XAXIS, VAL_MANUAL, -range-0.1, range+0.1);

However, instead of getting 0.0, I've got weird values like -5.6E-17 instead (please see the attached picture)

 

How can prevent that and solve this problem by always show more clear values with 0.1 intervals?

 

 

 

 

0 Kudos
Message 1 of 9
(5,542 Views)

you're not alone... it has been reported earlier, see, for example, here

0 Kudos
Message 2 of 9
(5,535 Views)

Thank you for your replay! I thought I did something wrong, I hope they would solve this problem as quickly as possible 🙂

0 Kudos
Message 3 of 9
(5,529 Views)
Solution
Accepted by topic author RaVen88

Hello RaVen88,

 

Are you using LabWindows/CVI 2013?

The issue that Wolfgang pointed is fixed in 2013 Patch 1. The bug ID is 422256. You can see here details about LabWindows/CVI 2013 Patch 1.

If you upgrade to CVI 2013 Patch 1, or better CVI 2013 SP1 you shouldn't see the problem anymore.

 

Constantin

0 Kudos
Message 4 of 9
(5,527 Views)

Hi Constantin,

 

unfortunately this information is not contained in the CVI 2013 SP1 Bug Fix Information which is supposed to include this patch... maybe you can take care of having the documentation updated?

 

In addition, the patch documentation is referring to the y axis only...

 

Thanks Smiley Wink

0 Kudos
Message 5 of 9
(5,522 Views)

I updated CVI 2013 using f1,f2 and f5 patches and it fixed the problem,

 

Thank you very much!

0 Kudos
Message 6 of 9
(5,509 Views)

Wolfgang,

 

You're right, bugs that were fixed in 2013 f1 patch don't appear in 2013 SP1 Bug Fix list. I'll talk to our Application Engineer to see what's going on.

Although the problem was reported for the y-axis, it was more generic.

 

Constantin

0 Kudos
Message 7 of 9
(5,505 Views)

Hi Wolfgang,

 

I added an explicit note to the LabWindows/CVI 2013 SP1 Bug Fix Information page stating it integrates fixes from the LabWindows/CVI 2013 f1 patch. It even links to the patch document Smiley Wink.

 

In addition to this, I have added a link to the patch details page under the LabWindows/CVI 2013 section of the LabWindows/CVI Release Information document.

 

Regards,

Daniel Dorroh
National Instruments
0 Kudos
Message 8 of 9
(5,488 Views)

Hi Daniel,

 

Thanks!

 

If I may use the opportunity for a suggestion...:

 

From a user perspective it would be great to have one list that can be searched for open / resolved issues, right now one would need to search several Web sites and, probably, nobody will do... Having just one page would simplify this - and it would not be much effort for NI to implement it Smiley Wink

0 Kudos
Message 9 of 9
(5,482 Views)