DDE Connections
Hugin provides DDE (Dynamic Data Exchange). With DDE other programs
(like Excel) are able to use the probabilities calculated in Hugin.
You establish a DDE connection with the following application,
topic, and item:
- Application: This is the name of the service and will always, when
communicating with Hugin, be the string "Hugin".
- Topic: The topic under DDE connections with hugin is the
filename of the network, ex. "c:\mynets\net1.hkb".
- Item: This is the interesting part. Here we specify which
data we would like to receive from the network. This can be in 1 of 4
forms:
- "?" - Request the
names of all the nodes in the network
- "node-name:?" -
Request the state labels for a node (Note the colon).
- "node-name:*" -
Request values for all states of the node (Note the colon).
- "node-name:state-num" - Request the value for
node node-name at state state-num (Again, note the colon).
1 and 2 are only supported as cold links, while 3 and 4 are supported
as warm links (links that automatically get updated when values
change).
You can easily copy a DDE link to the clipboard using the copy function. See the Copy DDE
Link section to read more about this.
Back