Go to Post any robot that can hold and transport its team has found its purpose and can be considered complete - Nitroxextreme [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 22-03-2015, 09:17
arshacker arshacker is offline
Registered User
#0545
 
Join Date: Jan 2003
Location: long island, ny
Posts: 8
arshacker has a little shameless behaviour in the past
dashboard "basic" tab; string data entry

If I enter a string to a string control in the "basic" tab on the dashboard, using the keyboard, I can access the string from the robot which is running a c++ program using "getstring".

If a string is entered to a string control in the "basic" tab by setting up a local variable for the string control, and generating the string via a labview routine, that string cannot be accessed using the c++ "getstring". The keyboard and possibly the mouse click are somehow involved.

Any ideas???
Reply With Quote
  #2   Spotlight this post!  
Unread 22-03-2015, 15:06
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: dashboard "basic" tab; string data entry

The control binding works through the UI events. Updating a control or indicator from he block diagram doesn't trigger UI events in order to avoid causing cycles in your program.

In order to do what you are describing, you have two choices.
You can write to the Smartdashboard variable as well, or you can update the UI control by writing to the Value (Signaling) property.

Greg McKaskle
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


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

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