09-06-2013 04:00 AM
i am building a VI in which gauge ramp will behave as a gauge needle i.e i am planning to make ramp dynamically change with the changin values. i made a VI exactly to like that and is working the only problem i am facing is i need the scale of gauge between 0 to 6000 but when i run the Vi the max scales sets to 1599 automatically...i am not getting what exactly i am missing thats why this problem is coming....help needed....i am attaching my VI here for your reference.
Solved! Go to Solution.
09-06-2013 10:02 AM
Very interesting! I suspect that there is a bug here or some "feature" of the Scale.Marker Values[] property node is undocumented.
First, you also need to set the Scale.Maximum (and perhaps Scale.Minimum) property.
However - and this is where the bug shows up - when you also have the Scale.Marker Values[] property node on the diagram, the Scale Maximum gets reset. I placed both read and write Scale.Maximum property nodes on the diagram with the error clusters wired so the sequence of operations is known.
By trying various values for the Marker Values array I was almost able to get it to work, but the magic algorithm has not yet appeared.
Lynn
09-06-2013 10:40 PM
thanks johnsold for your reply.....
Well i managed to find out my mistake... ...... the bug in that is by using "Scale.Marker Values[] " we are creating markers in the scale and the no of markers that can be created is limited to 1600 as i think so...thats why it always shows up the 1599 marker nd all the markers above 1599 goes beyond the range thats why we r nt able to see the markers above 1599.... i made it working by another ways.....nyways thnks for your reply....
09-07-2013 06:50 PM
Glad you got it working.
I wonder where that number came from? I hope someone from NI jumps in to let us know whether they consider this a bug or an undocumented feature.
If that is a real limit, the property node should throw an error when the limit is exceeded. It does not.
Lynn
08-18-2017 04:16 PM
Hello,
Wondering what your solution was for this problem. I'm trying to solve the same problem utilizing your example code. Thanks in advance.