I am having a frustrating experience trying to disable error dialogs on the DSC Tag Engine. My simple goal: to make sure that every time the engine is started, the "Error Dialogs" checkbox (seen in the Engine Manager) is disabled. It should be possible to edit the INI files or use the options menu to disable error dialogs, but it appears that the engine simply ignores these settings. I think it works fine on 6.0.2, but is easily reproducible on my LV 6.1 machine:
1. Run LV 6.1
2. Open the Tag Configuration Editor
3. Create a new, default, empty SCF file
4. From the Tag Configuration Editor, choose TOOLS>OPTIONS and make sure that Enable Error Dialog = False ... this should set an INI setting in lvdsc.ini. If you exit LabVIEW and open it again, LV will properly read the INI file so that this will remain False. That's good.
5. But now start the Tag Engine and double-click on the sys-tray icon to show the Engine Manager. You will notice that Show Error Dialog checkbox is checked (ON).. this means it will show error dialogs. Why is that? I have already siabled error dialogs?
6. So then... un-check the "Error Dialog" box in Engine Manager.
7. Stop and Exit the engine completely (it doesn't matter if you exit LV or not.. you get the same result). Now run the Tag Engine again and open the Engine Manager... You will notice that Error Dialog option is automatically re-enabled (ON).
Note: I am certain the ini files are NOT read-only and that Win2000 has given EVERYONE the FULL CONTROL permission to my LV6.1 folder. I am logged in as Administrator and I installed LV and DSC when logged in as Administrator.
Summary: It is impossible to permanently disable error dialogs in DSC 6.1 ... AND the INI setting "Show Error Dialogs" has absolutely no purpose since the Engine automatically re-enables error dialogs every time you load and run it. In addition, it is not possible to programmatically disable error dialogs.
Question: How can I permanently disable error dialogs on the DSC Engine? If its impossible, how can I programmatically disable it (from a VI)? These INI settings have no effect:
userErrorDialogs=FALSE --- in lvdsc.ini
enableErrorDialog=FALSE --- in DSCEngine.ini
http://www.medicollector.com