LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DDE Help?

Hi All,

I am trying to use Labview as a DDE client, so that i can simultaneously suck data from a number of DVM's (using GPIB) and a piece of software which suports DDE. I have managed this before using IgorPro as the client.

I have set up a simple DDE-Open-Conversation, DDE-request, DDE-Close-Conversation loop. However, I get stuck at the DDE-request, and recieve this:

Error 14012: DMLERR_NOTPROCESSED: transaction failed.

I am dead certain that the server, topic and item names are right, as I have use them before in IgorPro. Also, using Dynamic Data Studio, I can see that the conversation is opened, and data is sent between Labview and the other software (it even looks like the correct piece of data), it just seems to be that Labview cant recognise the incoming data.

Any thoughts/comments would be much appreciated.

Cheers,
Anna (aka FSM)
0 Kudos
Message 1 of 32
(7,677 Views)
LabVIEW has VI's to connect to a DDE server, but I think it can not act as a
server. Not 100% sure though.

Regards,

Wiebe.


0 Kudos
Message 2 of 32
(7,639 Views)

Anna,

I use the DDE server vi's all the time and they work quite well.  One thing you could do is write your own DDE server vi to help test your DDE client.

Post your code in LV 8.2 or earlier and I'll take a look.

0 Kudos
Message 3 of 32
(7,637 Views)
I have found this link useful a number of times

Ed
_____________________________
- Cheers, Ed
0 Kudos
Message 4 of 32
(7,630 Views)
I stand corrected...

Regards,

Wiebe.


0 Kudos
Message 5 of 32
(7,613 Views)
This is the code that we have put together so far. The error seems to occur in the DDE-Request module
0 Kudos
Message 6 of 32
(7,596 Views)
Have you stepped through to see where the error is occuring?

"I am dead certain that the server, topic and item names are right, as I have use them before in IgorPro. " - Are you sure the topic and item names are the same in both servers?
_____________________________
- Cheers, Ed
0 Kudos
Message 7 of 32
(7,576 Views)
I've stepped through it and the error occurs in the Request block.
The server, topic and item names worked fine in IgorPro so i assume that they are right.

Thanks
Anna

0 Kudos
Message 8 of 32
(7,568 Views)
What version of LV are you using?
0 Kudos
Message 9 of 32
(7,558 Views)
we are using 8.2
0 Kudos
Message 10 of 32
(7,548 Views)