LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Constructor error

Hi all,
I build an EXE file, it run fine on  my computer with LV 8.5 developer but when i  run on another PC without LV 8.5 but have  the  run time engine 8.5  installed,  the exe file show the error of constructor node.  Any one help to point out what I need to do?
Run Win XP Pro.
.Net framework 2.0
Custom  LvLink2.dll from Data Translation.

Thanks for your help.


0 Kudos
Message 1 of 6
(4,700 Views)
OLGetboardnames.vi is missing and that seems like where most of the work is going on.  The VI you attached is trivial.  I don't understand why an array comes out of that sub-VI, is converted to a cluster and the first value is unbundled from that cluster.  Why not use use the index array function on the array?
 
Without the subVI, it would be difficult to help you with your problem.  If I had to guess, I would say that the .dll is missing or not registered on the other computer.
0 Kudos
Message 2 of 6
(4,691 Views)
here is the sub vi.

Thanks.

0 Kudos
Message 3 of 6
(4,688 Views)
XN,

Do you receive any specific error code from your application?  It is quite possible that your application is not finding the DLL, as Ravens Fan suggested.  Have a look at the following KnowledgeBase article regarding this issue: My Stand-Alone Executable Cannot Find My DLL, Even Though I Have Specified the Path for the DLL.
0 Kudos
Message 4 of 6
(4,654 Views)

This LV-Link (DataTranslation) guys seems like if they are developers from the middle age.

http://www.datx.com/phpkb/question.php?ID=631

 

I do not enjoy looking for this kind of solutions, i would rather improve my application.. Let me know if you were able to make it work.

 

 

0 Kudos
Message 5 of 6
(3,802 Views)

ok, so here is how i was able to make it work. If you look for lvlink2.dll on your computer you wont be able to find it.

 

Go to:

Start->Run->Assembly. There you will find the your lvlink2.dll library. You will need to extract that dll from you computer and then place it on the other clean computer. To do this you need to be able to see the "real" view of the assembly folder.

 

You can do this by:

opening the regedit window then go to:

HKEY_Local_Machine\Software\Microsoft\Fusion\

 

and then: New ->DWord  with the name "DisableCacheViewer" with a value of  = 1

 

Now when you open the assembly window again you can drag-&-drop the lvlink dll (along with the OpenLayer.dll also if you want).

 

Hope this helps, I apologize for the bad writing but I just solved this and im on a deadline, most of you will understand, if you find other workarounds please let me know.

 

 

0 Kudos
Message 6 of 6
(3,794 Views)