Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   dashboard "basic" tab; string data entry (http://www.chiefdelphi.com/forums/showthread.php?t=135995)

arshacker 22-03-2015 09:17

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???

Greg McKaskle 22-03-2015 15:06

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


All times are GMT -5. The time now is 10:19.

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