PS3204 and void * pParameter

Post your .Net discussions here
Post Reply
Massimo

PS3204 and void * pParameter

Post by Massimo »

Hi,

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 .

Massimo

Chris
Site Admin
Site Admin
Posts: 169
Joined: Tue Aug 17, 2010 9:00 am
Location: St. Neots

Re: PS3204 and void * pParameter

Post by Chris »

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.

Post Reply