05-15-2007 09:12 AM
05-16-2007
10:17 AM
- last edited on
04-17-2025
05:30 PM
by
Content Cleaner
Kenny,
In order to eliminate the problem, you will probably want to disable enhanced DSC support. Here is a description of what the Enhanced DSC Run-Time support actually does:
Enable Enhanced DSC Run-Time support (LabVIEW DSC Module) - Enable this feature if your application uses VI server refnum (green) methods and/or properties to programmatically modify a library file. If your application uses the VI server refnum methods and/or properties to programmatically modify a library file and you do not enable this option, then those methods and properties will return errors when run from the built executable. You do not need to enable this option if your application uses the online (purple) variable refnum properties to manage processes and shared variables. You do not need to enable this option to programmatically deploy or undeploy a library file. Enabling this option will increase the size of the built executable and reduce start-up performance of the built-executable and should be enabled only for applications that use the VI-server refum methods and properties for modifying library files.
If your program is not programmatically modifying libraries using the VI-server refnum methods, you will probably not need that support. However, if you are, you will need to install the DSC Run Time System onto the machine. There is a KB on this topic here:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MECSA2&l=en-US
I hope that this helps. Have a great day.
Regards,
Message Edited by Coal Man on 05-16-2007 10:19 AM
05-16-2007 10:41 AM
05-16-2007
11:17 AM
- last edited on
04-17-2025
05:31 PM
by
Content Cleaner
04-23-2008 06:37 PM
I am running into a similar problem, but I have the runtime license installed on the machine running the exe's. My program exe is running normally for
8 hours to 4 days with no problem, then suddenly the program becomes non responsive. This is bad!!! I have the error system turned on and no
errors are thrown during these events. Are there other reasons that I am not aware of. Please Help!
DB
04-24-2008
06:49 PM
- last edited on
04-17-2025
05:31 PM
by
Content Cleaner
Hi DB,
Does the executable hang when it runs on the development machine? You may want to try creating a debuggable executable if the program only freezes when it is an executable. Have you seen similar behavior with other exe's, or just this particular application using DSC? What is the CPU usage when the executable is running and when it hangs?
04-25-2008 07:41 AM
04-29-2008 06:42 AM
Hi Doug,
It seems from your post here that unchecking Enable Enhanced DSC Run-Time support has eliminated the problem. If so, that's great. As Brian's post above mentions, you only need DSC support if you are using VI Server to change a library programmatically. Otherwise it is unnecessary and can increase executable size and decrease performance.