aah31 Posted August 25, 2011 Report Share Posted August 25, 2011 Does any one know how to configure the library node to use windows message box's in a labview VI? Quote Link to comment
Saverio Posted August 25, 2011 Report Share Posted August 25, 2011 I'm sorry, but your question is not clear. Are you referring to using the Call Library Function Node? And what "windows message box's [sIC]" are you referring to? Are you asking how to use the Call Library Function Node? If so, there is an extensive example that ships with LabVIEW (Help -> Find Examples). Just search for "DLL". Please provide a better explanation of what you are trying to do. Quote Link to comment
Samapico Posted August 25, 2011 Report Share Posted August 25, 2011 I think he wants to know which DLL to call, the function name and its parameters to pop a standard Windows messagebox, with the standard (?), /!\ or (X) icons and stuff. Quote Link to comment
asbo Posted August 25, 2011 Report Share Posted August 25, 2011 MSDN has an article on the MessageBox() function in user32.dll: http://msdn.microsoft.com/en-us/library/ms645505(v=vs.85).aspx Quote Link to comment
Saverio Posted August 25, 2011 Report Share Posted August 25, 2011 I think he wants to know which DLL to call, the function name and its parameters to pop a standard Windows messagebox, with the standard (?), /!\ or (X) icons and stuff. OK, that makes sense. In that case, attached is a simple example that replicates the last example on that page. MessageBox Example.vi Quote Link to comment
PaulV Posted August 26, 2011 Report Share Posted August 26, 2011 Minor improvement: If you connect the "windows hWnd" of a toplevel vi you prevent that the messagebox is "hidden" by that frontpanel when you click on it! To see the difference run the VI from the Front Panel. MessageBox_Example 2.vi Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.