I am designed a VI for my company and unfortunately I cannot post any code due to the nature of the project. However I developed a VI that works in conjunction with a Lua script communicating in a hand-shaking-acknowledgement fashion via TCP.
Basically I have a typical State Machine that loops around where the main state waits for a TCP command, then once it recieves one, the Lua script waits for a reply acknowedging the LabVIEW finished. Then the LabVIEW patiently waits again for another command. This just goes back in forth until I exit.
When I run the VI with my script, it crashes. I see no error messages or anything; the LabVIEW program just completely terminates. However if I use Highlight Execution, it works 100% as designed and I cannot visibly see any issues. I also ran through the entire program using "Step Through" and that also worked 100%.
I have tried getting the "error out" information, but there is none. If I run it as is, it just completely shuts down LabVIEW on crash with no notifcation at all. If I run it using either of the above methods, the Error Out reports no errors.
I am not using any local variables or anything that could cause a race condition (to my knowledge). Aside from waiting for a command and sending one upon completion, the code works in a sequential fashion and even the communicaton is relatively sequential (since both programs block/busy wait until they recieve the command).
Does anyone have additional suggestions as to how I may debug this issue?