LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DDE Poke decided to stop working - LabVIEW 8.5

I am using LabVIEW 8.5 to, among other things, communicate via DDE and a Brooks software package called SmartDDE with 6 Brooks 5850S mass-flow controllers. I have been able to get this communications link working, and incorporated it into my main control program. However, using the Advise function slowed down my loop too much, so I decided to set up a shared variable I/O server (using DSC). When I did this, DDE pokes started returning the following error: "Code: 14012 - DDE Poke: DMLERR_NOTPROCESSED". Even my base communications VI can no longer poke. Advise/request commands are still working, and SmartDDE appears to be functioning normally. Can anyone help?
 
Matt
0 Kudos
Message 1 of 4
(4,068 Views)
Hi Matt,
 
What I've found is that you may see error -14012 if the spreadsheet that you want to write to is not open. As always, you must launch Microsoft Excel prior to using DDE. You may use DDE to open a spreadsheet, but a spreadsheet must be open before you may use the DDE Poke.vi to write data to it.
 
I'd also recommend checking this Developer Zone on DDE with Windows. Hope this helps!
Regards,

Hillary E
National Instruments
0 Kudos
Message 2 of 4
(4,044 Views)

I have actually read that one a few times. The problem I am having is not with MS Excel, but rather with a program from Brooks called SmartDDE. I was able to establish communications which were working for a while, but then when I tried to turn my communications over to an I/O server, Poke stopped working and now I can't seem to get it working again.

Matt

0 Kudos
Message 3 of 4
(4,035 Views)

Matt,

I'm not familiar with the Brooks SmartDDE program. But there is a long thread about problems and workarounds on this discussion forum. Perhaps it will prove useful.

Regards,

Hillary E
National Instruments
0 Kudos
Message 4 of 4
(4,005 Views)