LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

SetUpDDEHotLink()

Hi,

I am using LabWindows/CVI as a DDE client and I have other DDE server. I want to read the data from the server and show the data in the user interface.

Basic flow I did is like the following:
-----------------------------------
SetUpDDEHotLink()
ClientDDERead()
SetCtrlValue()
------------------------------------

But the problem is that it shows the current value in the user interface and it won't update when the data changes. How can I make the data updated dynamically according to the data in the server?

Thanks,
Joyce
0 Kudos
Message 1 of 2
(2,866 Views)
Hi Joyce,

Hope you had a good weekend!  Typically when you are want to refresh your user interface, you would use GetUserEvents or RunUserInterace.  If you are using a processor intensive application, you could look into using ProcessDrawEvents.  I hope this helps!
Matt S
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,849 Views)