Test and Measurement Forum

PS3204 and void * pParameter

Post your .Net discussions here

PS3204 and void * pParameter

Postby Massimo » Thu Apr 14, 2011 9:14 pm


I'm developing a custom wrapper class for the PS3204 device with vb.net language. I'm in trouble with the 'void * pParameter' argument used in some callback functions like the ps3000aBlockReady. I'd like to know how I can translate it in vb.net or c#. Can I point to a specific datatype (e.g. string of 255 bytes) ? If it is not possible which is the max size of memory managed by the pointer?
I have also another question, Which kind of information are contained by the 'arbitrary data' returned with the pointer?

Thanks in advance .


Re: PS3204 and void * pParameter

Postby Chris » Tue Apr 26, 2011 2:51 pm

Pico provides a wrapper dll as part of the sdk. ps3000aWrap.dll has functions that can be called in place of some of the ps3000a API functions that can't be called directly from some languages such as VB.

The C source code for this wrapper is also included in the SDK, as there is no documentation available yet.
Site Admin
Site Admin
Posts: 169
Joined: Tue Aug 17, 2010 9:00 am
Location: St. Neots

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

Who is online

Users browsing this forum: No registered users and 2 guests