Test and Measurement Forum

Getting started with SDK

Post your .Net discussions here

Getting started with SDK

Postby Gustav » Tue Aug 23, 2016 8:41 am

Hi

How do you recommend getting started with SDK? Do you have a 'step by step guide for dummies?'

I have installed installed microsoft visual studio and the pico SDK.

During compilation it says:
Warning CS0649 Field 'ChannelSettings.values' is never assigned to, and will always have its default value null PS2000CSconsole C:\Users\Ion\Documents\Visual Studio 2015\SDK\src\PS2000\C# console\PS2000CSConsole.cs 52 Active


If I run the program, a console window pops up and says:
C# PS2000A driver example program

Opening the device...
Unable to open device
Error code : 0

There is a PS2006B connected to my PC. The scope works with picoScope.

My last (second) question is do I have to change the code from PS2000A to PS2006B?

Best Regards,


Gustav
Gustav
Guru
Guru
 
Posts: 63
Joined: Sat Jan 23, 2010 1:33 pm

Re: Getting started with SDK

Postby Hitesh » Tue Aug 23, 2016 8:59 am

Hi Gustav,

There is a guide to installing the SDK via this post.

There is no need to change the name, as the 2206B uses the same PS2000A driver.

The current SDK version (10.6.10) does not contain drivers that support the newly released PicoScope 2000 Series models (We are looking into better ways to make the examples available).

Please e-mail support@picotech.com and we can provide you with new drivers and an updated C# example.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Getting started with SDK

Postby Gustav » Thu Aug 25, 2016 10:40 am

Hi Hitesh,

Is is all up and running now. It worked "right out of the box".

Thanks,
Gustav
Guru
Guru
 
Posts: 63
Joined: Sat Jan 23, 2010 1:33 pm


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

Who is online

Users browsing this forum: No registered users and 1 guest