Test and Measurement Forum

Issues with SDK with 3406B

Post your .Net discussions here

Issues with SDK with 3406B

Postby nwhaynes » Wed Nov 01, 2017 2:12 pm

I have downloaded the appropriate SDK for my particular model (the 3406B) but I am struggling to get the connection to open. There are no code examples for the 3000 series and just the 3000a series out on github and the SDK doesn't load any src examples either. I have tried to make some calls myself using the ps3000.dll but when I call ps3000_open_unit it always returns 0 and the device doesn't open. I would definitely appreciate some help here.
nwhaynes
Newbie
 
Posts: 0
Joined: Wed Nov 01, 2017 2:10 pm

Re: Issues with SDK with 3406B

Postby Martyn » Wed Nov 01, 2017 2:21 pm

The 3406B is one our our 3000a series devices, using ps3000a.dll, so check out the 3000a GitHub examples which should help to get you started.
Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
 
Posts: 2816
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Issues with SDK with 3406B

Postby nwhaynes » Wed Nov 01, 2017 2:33 pm

Thanks I just figured that out. I downloaded one of the excel vba examples and it mentioned having to set the PATH environment variable. Once I did that (and downloaded the ps3000a version of it) I managed to get it working with excel. Then when I tried the ps3000a c# project I got it to connect!

Thanks for the help.
nwhaynes
Newbie
 
Posts: 0
Joined: Wed Nov 01, 2017 2:10 pm


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

Who is online

Users browsing this forum: No registered users and 0 guests