Go to Post "You are the lead programmer now, therefore everything that goes wrong is your fault. When anything good happens its the teams fault." "But what if the robot spontaneously combusts?" "Your Fault." ~Borna - CodeTBone [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-01-2011, 16:37
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 01-01-2011, 19:22
Ryan Gordon Ryan Gordon is offline
Registered User
FRC #2854 (EVHS Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: San Jose, CA
Posts: 40
Ryan Gordon is an unknown quantity at this point
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-01-2011, 23:50
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
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.
__________________
Mike B
Reply With Quote
  #4   Spotlight this post!  
Unread 05-01-2011, 11:13
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 05-01-2011, 11:55
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: LabVIEW Numeric Controls

Which version of LabVIEW are you using? I cannot reproduce this behavior.
__________________
Mike B
Reply With Quote
  #6   Spotlight this post!  
Unread 05-01-2011, 12:15
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 05-01-2011 at 13:07.
Reply With Quote
  #7   Spotlight this post!  
Unread 05-01-2011, 13:31
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
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.
__________________
Mike B

Last edited by SuperS_5 : 05-01-2011 at 13:40.
Reply With Quote
  #8   Spotlight this post!  
Unread 09-01-2011, 10:57
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
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!
Reply With Quote
  #9   Spotlight this post!  
Unread 09-01-2011, 12:14
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #10   Spotlight this post!  
Unread 09-01-2011, 14:01
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
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!
Reply With Quote
  #11   Spotlight this post!  
Unread 08-02-2011, 11:21
Doc543's Avatar
Doc543 Doc543 is offline
Electrical, Pneumatics, Driver
AKA: Eric
FRC #1891 (BullBots)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Meridian Idaho
Posts: 63
Doc543 is an unknown quantity at this point
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
__________________

"Its just a prototype."
2011 Chairman's Award Utah Regional
2010 Gracious Perfectionism Utah Regional
2009 Gracious Perfectionism Portland Regional
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 21:16.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi