10-25-2012 05:53 PM - edited 10-25-2012 06:04 PM
Hi,
I have a few flowmeters in system. Each of them is sitting at different DDE server, named FlowDDE, FlowDDE2, etc. 5 in total.
I'm connecting through:
ConnectToDDEServer (&hConv, "FlowDDE", "C(1)", DDECallback, 0);
ConnectToDDEServer (&hConv, "FlowDDE2", "C(1)", DDECallback, 0); etc.
and everything works well.
To disconnect there is command: DisconnectFromDDEServer (0);
However, it's not exactly what I want to do... this command breaks all connections with specification.
So my question: is there any command with specification for disconnection? or is there any way to specify server name into DisconnectFromDDEServer ?
Thank you,
Alexey.
UPDATE: /Solved/
I recognised, that I can add different unsigned int
static unsigned int hConv, hConv2;
ConnectToDDEServer (&hConv, "FlowDDE", "C(1)", DDECallback, 0);
DisconnectFromDDEServer (hConv);
ConnectToDDEServer (&hConv2, "FlowDDE2", "C(1)", DDECallback, 0);
DisconnectFromDDEServer (hConv2);
works well.
01-28-2015 07:42 AM
Hi ALL
Can someone put a simple example for call a specific parameter into specific node?
For instance, Measure or setpoint.
Thanks in advance
Jose
01-29-2015 11:39 AM
Hi Jose,
It looks like you have posted on a very old thread. I think you might find more luck getting replies if you try to start a new post. Also, it might help if you elaborate a little more in your question, or post a suggestion and ask for comments.
Best wishes!