1-Wire MSACCESS

Forum about 1-Wire devices.

1-Wire MSACCESS

Postby Jeffo » Thu Nov 27, 2008 12:07 pm

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]
Jeffo
Starting Member
Starting Member
 
Posts: 3
Joined: November 2008
Location: Belgium

1-Wire MSACCESS

Postby DMB » Thu Nov 27, 2008 1:37 pm

Jeffo,

See the code in 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
User avatar
DMB
Member
Member
 
Posts: 136
Joined: June 2006
Location: Netherlands

1-Wire MSACCESS

Postby Jeffo » Sat Dec 06, 2008 9:06 pm

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: November 2008
Location: Belgium

1-Wire MSACCESS

Postby Jeffo » Tue Dec 09, 2008 12:24 am

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...
Jeffo
Starting Member
Starting Member
 
Posts: 3
Joined: November 2008
Location: Belgium


Return to 1-Wire Forum

Who is online

Users browsing this forum: No registered users and 1 guest