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 »

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: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: UsbPT104.dll vb.net

Post by Martyn »

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 502 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 »

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 462 times

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

Re: UsbPT104.dll vb.net

Post by Martyn »

In the attached status file

Code: Select all

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

Post Reply