LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems using dde and activex simultaneously

Hello,
I built a vi, which communicates with an application by dde and which is remote controlled from DIAdem by ActiveX. When I start the vi and the application the dde-communication works fine, when I start the DIAdem-Dac-Application and the vi without using dde-communication to the application everything works fine, but when I execute a DDE-command from DIAdem over LabVIEW to the application, the Dac-Application and VI stall for 10 or 20 seconds.
I use exec.vi and request.vi with open.vi and close.vi at each call (from vi.lib/platform/dde.llb). By using a breakpoint I found out, that the vi stalls at the open.vi.
Does anybody know what the reason for this behaviour could be?
Regards
Andreas
0 Kudos
Message 1 of 2
(2,545 Views)
Hello!

The DDE functionality of LabVIEW are blocked by the DDE Server of Diadem DAC.

One possibility is to use the Diadem DDE blocks to access directly to your application.
The second possibility is to run the script in Diadem Script (not in DAC), that means you collect your data in Diadem DAC and when your Scheme is done, you run via ActiveX your LabVIEW program which via DDE control your application.

Directly in Diadem DAC you cannot run DDE applications out of the DDE blocks.

Best regards

Ken


0 Kudos
Message 2 of 2
(2,514 Views)