1-Wire MSACCESS

Forum about 1-Wire devices.
Post Reply
Jeffo
Starting Member
Starting Member
Posts: 3
Joined: Thu Nov 27, 2008 12:54 pm
Location: Belgium

1-Wire MSACCESS

Post by Jeffo »

Hello,

I would like to read 1-wire devices into MSACCESS on windows XP.
I have for testing the following devices:
On USB 1 (DS9490) --> DS1920 - DS2438 - DS1990A
I have the owapi.dll and the tmex.dll installed. The Maxim OneWireViewer is reading the devices well.
But I have no idea how to call the different functions from visual basic. [:(]
Is there anyone who can help me out? [:p]
Thanks. [:D]
User avatar
DMB
Member
Member
Posts: 136
Joined: Tue Jun 27, 2006 7:11 pm
Location: Netherlands

1-Wire MSACCESS

Post by DMB »

Jeffo,

See the code in http://www.domoticaforum.eu/topic.asp?TOPIC_ID=1681 , 4th reaction, code.txt.

I use the DS9097U in combination with 3 x DS1820(DS1920) and store the data in a mysql database.
If you change the mysql entrance with an MsAccess equivalent it must be working according to me.

DMB
Jeffo
Starting Member
Starting Member
Posts: 3
Joined: Thu Nov 27, 2008 12:54 pm
Location: Belgium

1-Wire MSACCESS

Post by Jeffo »

Hello DMB,


Thanks, but I am not getting far at this moment.

I have been filtering the code, as I am not using HomeSeer2 nor Scheduler.

But line 7.

Public adapter As com.dalsemi.onewire.adapter.DSPortAdapter

returns the following error: User-defined type not defined.

I have no clue how I can define the OWAPI lib ... [:I]

Can you or someone else help me on this ? [:p]

Thnks,
Jeffo
Starting Member
Starting Member
Posts: 3
Joined: Thu Nov 27, 2008 12:54 pm
Location: Belgium

1-Wire MSACCESS

Post by Jeffo »

Did receive this info from Dallas Semiconductors:

Is it possible to access the OWAPI functions from within vbasic ?

Yes. The OWAPI has been compiled into a .NET object called OW.NET and can be found in our latest SDK (4.00Beta2) here: http://www.maxim-ic.com/products/ibutto ... /index.cfm

There are several VB examples in the kit under:| (kit install)\Examples\OW.NET\VB.NET

Thank You Dallas Semiconductors. So we can try further on...
Post Reply

Return to “1-Wire Forum”