From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DDE server receiving data

Hello, everyone.

I recently started doing the DDE issue, And I have some problems.

I was able to create a server program that sends information to client.

this is a block diagram of server:

2019_04_23_12_31_35_DDE_Server.vi_Block_Diagram1.png

 "Server " sending ITEM to Clint works perfectly.

now I try to build a SERVER that gets the ITEM from client(Inverse case)

A picture of my block diagram :

123.png

 

I tried to use DDE srv chaeck ithem and dde srv get dynamic items

But I can't seem to get the ITEM values from client.

What am I doing wrong?

 

 

 

0 Kudos
Message 1 of 5
(2,673 Views)

Hi daniel_kogan,

 

In general, we recommend using ActiveX over DDE functions. The link below has more information:

 

Archived:Dynamic Data Exchange (DDE) Functions Palette in LabVIEW

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LMUSA2&l=en-US

 

Although I don't think the referred to "Using DDE in LabVIEW for Windows" document is on our website anymore, I found a copy hosted here:

 

Using DDE in LabVIEW (Windows Only)

http://docplayer.net/38495733-Using-dde-in-labview-windows-only.html

Jiwhan S.
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 5
(2,636 Views)

hi thanks for the response.

I have to use DDE because of another app that supports only this protocol.

I saw the document you sent but not great how I can read the information that comes from the client.

See the second picture how I tried to build the block diagram (It didn't work)

I'm looking for the right way to do it, please help.

 

Thanks in advance

0 Kudos
Message 3 of 5
(2,620 Views)

Hello daniel_kogan,

 

Could you kindly elaborate on what you mean by it didn't work? Are you experiencing any errors?

 

Best,

Malkolm A.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(2,606 Views)

hi,

When I write that it is not working I mean that the server did not receive the value of item form client. I'm trying to talk to TAKAYA machine APT.(Attaches a document)

According to their document, The communications are supposed to be like this.

q.jpg

There are some things that are unclear to me. what this is a "open link" box?

This is what I tried to apply:

 

ww.jpg

 

the error code is 14001 

According to their document, I need to read 3 items client

IPS_item, VAL_item, LOC_item

Where am I wrong?

0 Kudos
Message 5 of 5
(2,593 Views)