Test and Measurement Forum

UsbPT104.dll vb.net

Post your .Net discussions here

UsbPT104.dll vb.net

Postby 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
Maury
Newbie
 
Posts: 0
Joined: Wed Jan 09, 2013 9:28 am

Re: UsbPT104.dll vb.net

Postby 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 143 times
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2287
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: UsbPT104.dll vb.net

Postby 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 126 times
Siemens
Newbie
 
Posts: 0
Joined: Thu Jan 17, 2013 4:45 pm

Re: UsbPT104.dll vb.net

Postby 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 130 times
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2287
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to .Net Languages (C#, VB.Net, .)

Who is online

Users browsing this forum: No registered users and 0 guests