07-06-2016 07:23 PM
Hello,
I have a wierd problem.
I have a program that sends commands to a DeviceNet device through their API
DeviceNet : Open
DeviceNet : Send Command
DeviceNet : Close
etc
that device is connected to a DeviceNet Network of 9 devices.
so when i am in dev mode it works fine when stop program using send DeviceNet : Close, but gives me microsoft Visual C++ Run-Time Library assertion failed error !! when i send the same command to close in executable , doesnot give me error in dev mode.
I am not sure how or what to fix.
if i go ahead with retry same pop-up comes back twice and then crashes LabVIEW, abort will just close this window. any help please ?
07-07-2016 03:34 PM
Hi freemason,
I wanted to make sure that I understood you correctly. So it works correctly in the executable but not in development mode?
Also, is this behavior exhibited if you run one of our examples as an executable?
07-08-2016 12:05 PM
no, it works in dev mode but not in exe
it works with all other LabVIEW exe's i developed. except this one . i am guess it is something to do with the DNET dll they have
07-11-2016 05:15 PM
Have you tried building a debuggable executable to see if that gives you any additional information? Have you tried rebuilding the executable?