Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66905

Problem using HW-access in executable

$
0
0

Hello,

i created a C#-DLL to communicate to a DIO-module using modbus (over LAN).

The DLL-functions are called in separate VIs.

Finally this vi´s are called in my GUI and everything runs fine when executing in Developer-Mode.

But after creating an executable of it the DI is not reading anything any more.

What can be the problem here?

 

After start of the program i run an initialize-vi for the DIO-module that creates a reference as return-value. This reference is saved in a global-VI-variable.

Is it possible that there are problems with global variables in executable?

 

Thanks for tips


Viewing all articles
Browse latest Browse all 66905

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>