LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IDLDrawWidget Control

I have integrated an IDLDrawWidget control in a labview VI. I am trying to send output from IDL to a labview string control. To do this I use the function SetOutputWnd from the IDLDrawWidget control. This function needs a parameter, HWndLog, witch is the hWnd of the string control that will recieve the output. The problem is that I can't find the parameter I have to pass, I don't know how to get a HWND of a labview string control.

Thaks for your help.
0 Kudos
Message 1 of 2
(2,493 Views)


@Dina wrote:
I have integrated an IDLDrawWidget control in a labview VI. I am trying to send output from IDL to a labview string control. To do this I use the function SetOutputWnd from the IDLDrawWidget control. This function needs a parameter, HWndLog, witch is the hWnd of the string control that will recieve the output. The problem is that I can't find the parameter I have to pass, I don't know how to get a HWND of a labview string control.

Thaks for your help.




LabVIEW string controls and any other native LabVIEW ontrols are not Windows controls in any way. LabVIEW implements all its controls and other internal objects entirely on its own. The only object LabVIEW uses from the underlying OS are the windows itself in which it draws its front panel and diagram. So you won't be able to do what you want with this widget unless the widget supports a method where you can actually poll for the string text itself.

Rolf Kalbermatter
Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(2,476 Views)