|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
LabVIEW Numeric Controls
I've been struggling to figure out how to work with the "increment" property of numeric controls in LabVIEW. (By "increment" I mean the amount that the value changes when pressing the up and down arrows in the front panel.)
For example, I have a simple VI set up with numeric controls A and B. I want A to increment by "0.1", and B to increment by "10". When I go into properties and change the increment for A, A works fine. But when I then try to change the increment for B to "10", it instead changes A's increment to "10", and leaves B's increment as the default value of "1". Anyone else struggle with this? Any ideas? |
|
#2
|
|||
|
|||
|
Re: LabVIEW Numeric Controls
Can you post your example VI with these issues so we can better understand what is going on?
![]() Thanks, Ryan Last edited by Ryan Gordon : 01-01-2011 at 19:48. |
|
#3
|
||||
|
||||
|
Re: LabVIEW Numeric Controls
There are 2 ways to change the increment behavior.
1) Right click on control, and click on "properties." Change the options under the "Data Entry" Tab. 2) Use a property node. This is a advanced option, and you should understand the concept and limitations of property nodes before using them. If using them by references, (not directly linked) Then the behavior of what you see is possible when not implemented correctly. If this did not help, please post example code as Ryan Gordon has already requested. |
|
#4
|
||||||
|
||||||
|
Re: LabVIEW Numeric Controls
I'm seeing the same behavior. It's as simple as putting two numeric controls on an empty front panel and then changing the increment value on the data entry tab in properties.
|
|
#5
|
||||
|
||||
|
Re: LabVIEW Numeric Controls
Which version of LabVIEW are you using? I cannot reproduce this behavior.
|
|
#6
|
|||||
|
|||||
|
Re: LabVIEW Numeric Controls
Known bug in the FRC 2010 version of LV (8.6.1) that has a patch that works fine.
A handy document to look for on the NI site is: LabVIEW 8.6.x Known Issues When the new FRC LV edition arrives in the KOP I'd take the time to lookup the associated bug/issues list on the NI site. Last edited by Mark McLeod : 05-01-2011 at 13:07. |
|
#7
|
||||
|
||||
|
Re: LabVIEW Numeric Controls
kudos. I tried it in the standard version.
Edit: Just realized that I already had this patch/version installed. Standard LabVIEW <=8.6.1 also has this problem. Last edited by SuperS_5 : 05-01-2011 at 13:40. |
|
#8
|
|||
|
|||
|
Re: LabVIEW Numeric Controls
Mark--after setting up that patch, I get an "Executable version (8.6) doesn't match resource file (8.6). Check your configuration." message every time I run LabVIEW. Any thoughts? I'm still using the Breakaway version of LABView if that makes a difference.
Thanks! |
|
#9
|
|||||
|
|||||
|
Re: LabVIEW Numeric Controls
Possibly one of the 3 (I think) files didn't replace what it was supposed to replace.
You might unzip the patch to your desktop, then copy each of the new files manually to where each is supposed to go. When I installed the patch originally, I kept backups of each of the files being replaced so I could easily back out the patch if it caused problems. When do you plan to install the new version? |
|
#10
|
|||
|
|||
|
Re: LabVIEW Numeric Controls
Will install the new version monday--I guess that's partially why I was a bit careless and neglected to do the backup.
Tried to do it manually on my laptop and got it working, though. Thanks! |
|
#11
|
||||
|
||||
|
Re: LabVIEW Numeric Controls
mine had the same error. i went in the patch folder and ran the .msi's and told them to repair now it works
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lagging Controls | RedHeadRobotics | Control System | 1 | 12-02-2010 12:04 |
| usb numeric keypad mapping | Arcre | NI LabVIEW | 3 | 09-02-2009 14:25 |
| numeric AND | kamocat | Programming | 4 | 27-10-2008 14:48 |
| controls | great_one411 | General Forum | 2 | 02-02-2003 01:03 |
| controls | nick_champ_2 | General Forum | 3 | 01-02-2003 20:21 |