DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DAC: How to handle errors with DDE-Cient

Here is an example:

project2.exe is a simple DDE-Server with 2 DDE-Items. Run this program first.
DDEClient4.dac is a simple DAC-Application with 2 DDE-Client controls connecting to DDE-Server items. It runs.
DDEClient5.dac is the same DAC-Application but the name of server-application is wrong in "DDE-In1" -control.  It don't run. Both DDE-Converstions fails. No error message occours. The field "Timeout" seams to have no effect. Both DDE-Clients yields "0" without any error message. Same effect, when Server is not running.

Martin Bohm
bohm@a3m.com
0 Kudos
Message 1 of 3
(3,159 Views)

Dear Mr Bohm,

Which DIAdem Version are you using?

I programmed a DAC which generates an Alarm when 200 read values are equal to zero. The Alarm dissappears when a value is returned.

You can test it by just moving the "Schieber".

Best regards

Stefanie Hofmann

National Instruments

 

0 Kudos
Message 2 of 3
(3,144 Views)
Thanks for your help, but your example completly miss my problem. It's not my intension to handle the occurrence of a certain value. I'd like to handle the case if a DDE-connection fails.
(I have to read the errorstatus of a other program by DDE. In case "No Error" the status is Null.)

I use Diadem 9.1 and 10.0

Martin Bohm
0 Kudos
Message 3 of 3
(3,142 Views)