LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically Selecting a ring

Solved!
Go to solution
0 Kudos
Message 11 of 18
(1,905 Views)

Hello, 

 

  I tried it, it does not work. However when I tried to run the code I got the following message stating that a depnedency was loaded from a different path. the file is user32.dll

 

 

Regards,


Kaspar
0 Kudos
Message 12 of 18
(1,892 Views)

What is the error?

0 Kudos
Message 13 of 18
(1,886 Views)

OK, run a search on your PC for the location of user32.dll. It normally resides (on XP at least) in the Windows\system32 folder. Generally with windows dlls like this, you don't need to explicitly provide the path.

 

As a workaround you could try giving the call library function node the full path of the dll, eg. C:\windows\system32\user32.dll. Paste the full path in to the 'library name or path' box (bring up by double clicking the two Call library function node icons) and then try again.

 

 

dll call.PNG

 

 

(This method of pointing to the DLL might fall over if you move the code between machines that are set up differently so is best treated as a temporary fix)

 

Let us know how it goes.

Ian

Message 14 of 18
(1,873 Views)

Hello,

 

   In order to try this code out I had to install Labview 2010. Currently running Labview 8.2. The top cell of the library is "drop_down_demi.vi". When I run the code I am assuming that all I have to do is to click on the front panel control "Trigger Drop Down" and the complete contents of the drop down menu from the Ring would appear. Well nithing happens when I click on the "Trigger Drop Down" button. Here is a text file of the warning that I get from the code.

 

 

Regards,


Kaspar
0 Kudos
Message 15 of 18
(1,860 Views)

Did you try the version I attached?

Here it is in v 8.2

Ian

Message 16 of 18
(1,858 Views)

Hello,

 

  Thanks! this code works! I will have to look at the block diagram and get a better understand of how the position of the window affect the operation. Thanks again!

Regards,


Kaspar
0 Kudos
Message 17 of 18
(1,850 Views)

Glad you got it working. Post questions if you have them.

Cheers

Ian

 

PS (As an aside, it may be worth considering whether you wish to change the marked solution to this thread in case other people are trying to achieve the same thing)

0 Kudos
Message 18 of 18
(1,835 Views)