Discussion:
DDE Help?
(too old to reply)
Wiebe@CARYA
2008-02-21 13:16:10 UTC
Permalink
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.
Wiebe@CARYA
2008-02-21 18:05:36 UTC
Permalink
I stand corrected...

Regards,

Wiebe.
richjoh
2008-03-20 19:40:09 UTC
Permalink
I have an app that uses DDE to link to Excel or Word. Now if I use Active X, LV 8.2, I can use a container or automation open Excel to run...my process.
I really want to NOT use any MS Excel or Word and link directly to the DDE software? I don't see a Library Type for my app whenever I try to setup an Automation Open. My DDE app, the server, is an exe
David_B
2008-03-24 00:40:04 UTC
Permalink
I'm just a little confused.
Are you trying to use DDE to link to Excel and Word or are you trying to replace an old application that used DDE with a newer application that will use ActiveX?  Or something else entirely?
Can you provide some additional information on exactly what you are trying to accomplish?
Thanks,
Dennis Knutson
2008-03-24 14:40:05 UTC
Permalink
The dde functions are still available in vi.lib\platform\dde.llb.
If you want to read/write native Excel, then ActiveX is the best way to go but I don't see what that has to do with your Brooks software unless they now have an ActiveX version instead of dde.
richjoh
2008-03-25 14:10:07 UTC
Permalink
Check the Note paragraph from this NI Document, <a href="http://digital.ni.com/public.nsf/websearch/862567530005F09C8625667C0068DA20?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/websearch/862567530005F09C8625667C0068DA20?OpenDocument</a>.
""Note: Although the DDE functions are still present in the most current version of LabVIEW, National Instruments recommends that you use ActiveX instead. Please refer to the tutorial (linked below) for more information on using ActiveX with LabVIEW.""
As if ActiveX is a replacement for DDE. Unfortunately, the folks at Brooks instruments, Netherlands, are still using DDE!!! I have a new release version 2.0...Smart DDE...
richjoh
David_B
2008-03-31 15:10:07 UTC
Permalink
If I understand correctly, you'd like to use two computers with one FieldPoint?&nbsp; You want to run a host VI on one computer, but have the FieldPoint communicate with a second computer (through serial reads and writes I'm assuming) that has the SmartDDE software on it?&nbsp; I think, if this is what you are trying to do, you will be able to by deploying a VI to the FieldPoint and running the commands from there.&nbsp; This of course will depend on your HW.&nbsp; What FieldPoint are you using?
Here is a&nbsp;great document to get you started (if I understood you correctly that is): <a href="http://digital.ni.com/public.nsf/allkb/D9DC27C95A6AA9F986256B97005D360C?OpenDocument" target="_blank">Using RS232 Serial on FieldPoint Real-Time Controllers</a>
Amro
2008-04-16 11:10:04 UTC
Permalink
@ yenknip
you are right but you can also communicat to Bronkhorst MFCs useing VISA/RS232 also, but you need to know the serial cmds to send to the flowBUS/RS232.
I have done it and it works perfectly.
yenknip
2008-04-16 12:40:05 UTC
Permalink
<a href="../view_profile?user.id=52737" class="auth_text" style="font-weight: bold;" target="_blank"> </a>Amro, thanks for that ^_^ Bronkhorst haven't mentioned this to us....Do you happen to have that command set readily available? Also, do they daisy chain along, or is it one MFC per 232 port
Amro
2008-04-16 12:40:09 UTC
Permalink
you can communicat to all the MFC's on the flowbus useing the RS232. you have to construct the commands in Hex values and send them over the RS232/VISA COM-port.
you can get the commands format from Bronkhorst Instruction manual.
I have no idea if I am allawed to publish this commands hier. so please connatct Bronkhorst and ask them about the (RS232 interface with Flow-Bus protocol for Digital Mass Flow/Pressure instruments) manual.
&nbsp;
in this manual you can found how the command should be send and how you can initialize the flowbus.
&nbsp;
Note: with out initializing the flowbus, you will not able to communicat to more than one MFC's.
&nbsp;
if you get this manual and you have a problem, just post your Problem and I will try to help.
I know that, it&nbsp;is a littel bit tricky to use thier commands, but it is possible and it works.
Isaac84
2008-08-12 18:40:07 UTC
Permalink
Hello, Could someone help me to link Software Lookout and Laview trough DDE ...? Or at least tell me if it is posibble? I need to send an alarm with a program in Labview connected to a Modem via serial port and link it to Lookout alarm program who manages all the scada system
David_B
2008-08-13 16:40:07 UTC
Permalink
Looks possible:&nbsp; <a href="http://zone.ni.com/devzone/cda/epd/p/id/1949" target="_blank">DDE Communication between Lookout and LabVIEW</a> &nbsp;You may be able to get even more help from the community by creating a new posting for your question.&nbsp;Regards,
Continue reading on narkive:
Loading...