Test and Measurement Forum

Visual Studio C++.net

Post your C and C++ discussions here

Visual Studio C++.net

Postby mt82uk » Thu Dec 03, 2009 11:09 am

Are there any good examples in visual c++.net?

I've been banging my head against a wall trying to get the pico scope to acquire data using your ps5000 SDK but to no prevail..

Can anyone help?
mt82uk
Newbie
 
Posts: 0
Joined: Thu Dec 03, 2009 11:06 am

Re: Visual Studio C++.net

Postby ziko » Mon Dec 07, 2009 9:13 am

Hi,

We have some examples in a number of programming languages, I do not think we have examples in Visual C++, however we do have in C and C#.net along with other languages.

Please go to our software download page to download the Software Development Kit for the 5000 (in the same way you would download PicoScope 6 except you choose the SDK), they may at least help you in the functionality.

Kind regards
Ziko

Technical Specialist
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Re: Visual Studio C++.net

Postby mt82uk » Mon Dec 07, 2009 3:25 pm

Thanks for the reply,

Why there are examples in c#.net, a language that uses Garbage Collection and slows down the whole process of analysing data and there are non in c++.net, a language which gives the developer the flexibility of full memory management I do not know...

I have however managed it in around 30 lines of code.

It would be good to have a number of little examples to further aid developers.
mt82uk
Newbie
 
Posts: 0
Joined: Thu Dec 03, 2009 11:06 am

Re: Visual Studio C++.net

Postby Erik » Mon Dec 07, 2009 11:08 pm

The c example will compile with c++. Considering the API is pure c, there is no real need for a c++ example. You can use the c header in c++.
Erik
PICO STAFF
PICO STAFF
 
Posts: 52
Joined: Mon Oct 23, 2006 8:16 am
Location: Cambridgeshire, UK

Re: Visual Studio C++.net

Postby tan.enzhi » Tue Dec 07, 2010 7:44 am

mt82uk, can you send the 30 lines of code that you manage to come up with to me? I need it desperately.
THANK YOU! :D
tan.enzhi
Newbie
 
Posts: 0
Joined: Tue Dec 07, 2010 7:32 am


Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests