UsbPT104.dll vb.net

Post your .Net discussions here
Post Reply
Maury
Newbie
Posts: 0
Joined: Wed Jan 09, 2013 9:28 am

UsbPT104.dll vb.net

Post by Maury » Wed Jan 09, 2013 9:31 am

Does anyone have some example code for using this dll over visual basic . net 2010.
Any help will be appreciated.
Maury

Martyn
Site Admin
Site Admin
Posts: 3333
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: UsbPT104.dll vb.net

Post by Martyn » Thu Jan 10, 2013 10:15 am

You could use this as a starting point although it doesn't do much
Attachments
PT104Console.zip
Simple VB.Net Application
(167.09 KiB) Downloaded 234 times
Martyn
Technical Support Manager

Siemens
Newbie
Posts: 0
Joined: Thu Jan 17, 2013 4:45 pm

Re: UsbPT104.dll vb.net

Post by Siemens » Tue Jan 29, 2013 10:19 am

Hi
I've had a go at expanding the example 'PT104Console' to read data. see attachment. Please tell me if it works OK...

Is there a list of resulting status values which exlpain their meaning i.e. 0 = good result, 37 = No reading (I think)?
I'm looking for the meaning of status 280? The result appears to be unchanged from before. Is there a way of reducing this from happening?

Regards
Tony
Attachments
SmallPT104example.zip
Another Simple VB.Net Application
(40.79 KiB) Downloaded 207 times

Martyn
Site Admin
Site Admin
Posts: 3333
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: UsbPT104.dll vb.net

Post by Martyn » Mon Feb 04, 2013 2:19 pm

In the attached status file

Code: Select all

#define PICO_WARNING_REPEAT_VALUE									0x00000118UL
Attachments
picoStatus.h
Status codes
(8.32 KiB) Downloaded 198 times
Martyn
Technical Support Manager

Post Reply