08-26-2020 09:22 AM
Hello,
I have my project that works correctly, but when I run the executable it doesn't work, it's a communication problem,
Indeed, I send commands from my PC (through LABVIEW) to my Electronic card, and at this level there is the problem( it working in the project, but in the executable it doesn't work),
I want to know if any changes need to be made in this case before or after creating the executable? can be enable or disable a parameter...?
Best Regards,
Aymane
08-26-2020 09:31 AM
Without studying (all of) your code, most helpfully as a complete LabVIEW Project with some notion of exactly what hardware you are connecting to it (you can easily attach a Project by compressing the folder that contains the Project, giving you a single .zip file that we can easily open), how do you expect anyone to make helpful suggestions? We don't know what you are trying to do, we don't know what Hardware you are using, we don't know what protocols you are using ...
Bob Schor
08-26-2020 10:36 AM
You can enable debug your exe code, look for this KB
When you enable the debug you can look your code execution in the exe, search the bug and fix it, the main reason to fail an executable i found are:
08-26-2020 10:42 AM
@aymaneLAK wrote:
I have my project that works correctly, but when I run the executable it doesn't work, it's a communication problem,
Indeed, I send commands from my PC (through LABVIEW) to my Electronic card, and at this level there is the problem( it working in the project, but in the executable it doesn't work),
This sounds like a firewall issue. Of course, I am assuming you are trying to communicate over TCP/IP.