Great SW! Now i want to connect to realworld.... :shock:
I have a DDE server from Pointsix (http://www.pointsix.com) called onesix to poll a weatherstation and alot of 1-wire censors. This server works great for temperatures, pulses etc. now i need to connect it to HB. Have anyone done a DDE connection, pls advice. (Pointsix have a OPC version so this can be an alternative..)
Automate wrote:Do you know what enhancements will be made to the new VB SDK and any idea on when it may be available?
No I don't. I think most of the Meedio guys are hard at work on Meedio TV right now, so HouseBot is still a bit behind.
As far as enhancements to the SDK, I'd like to see at least a few additional calls that are in the C SDK. A hardware Interface SDK would also be nice. But I really have no idea. Anything you would like to see in it?
For the DDE support, it would be far eaiser to just write a DDE plugin with the existing C SDK's than it would to implement the VB SDK in order to support the old VB plugin.
ScottBot wrote:For the DDE support, it would be far eaiser to just write a DDE plugin with the existing C SDK's than it would to implement the VB SDK in order to support the old VB plugin.
Maybe for you. I haven't done much C programming. Are you implying that any plugin written for the old HouseBot VB SDK will have to be re-written for the new Meedio VB SDK?
ScottBot wrote:Anything you would like to see in it?
I think you hit the big ones, compatability with Meedio HouseBot and hardware interface support.
Tnx for your replies. even if it makes me totally stuck .
I have been writing DDE servers and clients in VB with success, but not a thred in C... DDE is quite common interface for equipment in plant & process industry. Its very general With "application/topic/item" structure. could someone with C knowledge help us out with this? The "old" VB based DDE interface could bee a good spec, (even if setting up the devices in HB would be nicer then XML :P ) . For us C rookies this could be a great way to build DDE servers in VB and interact with HB thru DDE until the VB sdk is released.....
I started to look into this, but never really got into it. What I was thinking was to have a Device that has the following three default Properties:
Service - Passed on DDEConnect call.
Topic - Passed on DDEConnect call.
Connect Retry Interval - Reconnect interval when server is not running.
Instead of using the XML approach, I was going to have the user manually add the Properties to the Device. I was thinking that the Property Description could be the DDE Item Name.
When I started looking into all of the DDE API's I was scared away (Never wrote any DDE code before).
If you have any guidance on the DDE logic that is needed, let me know..
In VB its no rocket science... probably everything is happening behind the scene.. to make a DDE server you just set up a label on a form and make it public. (the form does not need to be visible...) you get the applic/topic/item structure from "name of the .exe/form/label". to do a client you need to poke and peek the item.. i recall it was some "fishy" things around the type of DDElink i think we found the "hot" link as most usefull. its very convinient to test with excel as it can act both as server and client... the guys at Pointsix.com had some examples of DDE/VB in the doc of ONESIX server ( great thing to get data from 1-Wire devices by the way..). Tnx for your help.