02-24-2008 07:38 PM
03-19-2008 02:07 PM
03-19-2008 02:15 PM
richjoh,
See here for more info on DDE library and how to use it. http://digital.ni.com/public.nsf/allkb/F6ADCCC074A5150586256930007362B5
I don't recomend DDE for new applications.
03-20-2008 02:18 PM
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
03-23-2008 07:13 PM
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,
03-24-2008 08:50 AM
I'm using Brooks Smart DDE software to control there mass flow control, see the attached doc. The doc references using Labview for integration, but now that the DDE VI are depreciated am I to use Active X to read Excel data?
03-24-2008 09:12 AM
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.
03-24-2008 09:48 AM
richjoh,
Since the Brooks software has the DDE server built in, then using the LV DDE is the obvious choice. As Dennis mentioned, if Brooks had an ActiveX version of software, that would be a better solution.
Another solution would be to write your own software that communicates with the MFC's and uses ActiveX to transfer data to Word/Excel.
03-24-2008 10:42 AM
03-24-2008 10:50 AM