|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
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??? |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|