Any idea how to run a batch file when OPCDA detect as bad
I haven't tested but it could work.
1. Configure a Property Transfer from the trigger OPC property over to another writable property (a SoftPoint is better than a General Property to prevent excessive transactions from draining Aspect Directory performance)
2. A Property Transfer can be set with a substitution value when the input is bad.
3. Use Scheduler to trigger a script when the trigger property becomes set with the substitution value.
The IM Configuration User's Guide describe how to use step 3. to run an IM Backup (a DOS command line tool), I assume you can run an arbitrary .exe or .bat file, but I have not tested.