LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 42 occurred at Open Application Reference in DynamicDownload.vi

Hi! 

I want to create an executable from a VI wich calls a dll created by Simulink and Simulation Interface Toolkit.

 After I compile the simulink module with MSVC++ 6.0 in MATLAB,and then use this dll in LabVIEW, 

the following message appears:
Error 42 occurred at Open Application Reference in DynamicDownload.vi->SIT_InitEstablishTCPConnection.vi->SIT Initialize.vi->Untitled.vi
Returning to Select Host dialog.
Possible reason(s):

LabVIEW:  Generic error.

What should I do to have an executable which works correctly?

0 Kudos
Message 1 of 2
(2,840 Views)

I have the same Problem here with the Error 42 on open application reference.

Can someone pleas explain what this error means, and what the reasons are for this error?

 

I have two exe files, and i am trying to open the application reference of the other exe when i get this error.

First i thought it has something to do with the .ini file settings, which by the way is nowhere explained...Smiley Mad

here my entries:

server.tcp.acl="290000000A000000010000001D00000003000000010000002A10000000030000000000010000000000"
server.tcp.enabled=TRUE
server.tcp.port=3360
server.tcp.serviceName=Image Monitoring
server.tcp.access=+*,"+*","127.0.0.1","Localhost"
server.vi.access=+*
server.vi.callsEnabled=TRUE
server.vi.propertiesEnabled=TRUE
server.ole.enabled=TRUE
server.tcp.paranoid=TRUE
server.tcp.servic=My Computer/VI Server
tcpServer.log=TRUE
tcpServer.logPath=c:\TestStand\Tools\Image Monitoring PC\serverlog.txt
server.app.propertiesEnabled=TRUE

 

if i build a simple exe with call on open applicationr eference it works. but not with my main application,

so this is why i need to know what causes the Generic Error???

 

Is there a possibility that there have to be certain entries in the ini file of the calling exe? and what would those entries be?????????

 

 

0 Kudos
Message 2 of 2
(2,751 Views)