Search found 9 matches

by PCBarnett
Thu Dec 20, 2007 2:27 pm
Forum: PicoScope 6 for Windows
Topic: PS5000SetDataBuffer
Replies: 1
Views: 4347

PS5000SetDataBuffer

I have hit a VB exception disagreeing with how I have declared ps5000SetDataBuffer. There is some confusion in your different documents. Manual states PICO_STATUS ps5000SetDataBuffer ( short handle, PS5000_CHANNEL channel, short * buffer, long bufferLth ) Delphi example has function ps5000SetDataBuf...
by PCBarnett
Thu Sep 27, 2007 1:07 pm
Forum: PicoScope 6 for Windows
Topic: interface to vb
Replies: 9
Views: 13095

Here is a screen grab of the line that is failing. The pop up box which does not capture is headed PInvokeStackImbalance was detected. It then says A call to PInvoke function 'PS5000test!WindowsApplication1.p5000library::ps5000GetTimebase' has unbalanced the stack. This is likely because the managed...
by PCBarnett
Thu Sep 27, 2007 9:52 am
Forum: PicoScope 6 for Windows
Topic: interface to vb
Replies: 9
Views: 13095

It is only 7 parameters and I have sent you the code. Here it is again for your perusal.
by PCBarnett
Fri Sep 21, 2007 10:44 am
Forum: PicoScope 6 for Windows
Topic: interface to vb
Replies: 9
Views: 13095

Any progress

Is there any progress on this problem?
by PCBarnett
Thu Jul 05, 2007 4:40 pm
Forum: PicoScope 6 for Windows
Topic: interface to vb
Replies: 9
Views: 13095

I did and successfully built vb interfaces to several API's but this one doesn't want to play ball. I was hoping one of your software guys had tested the interface and had a draft set of declarations.
by PCBarnett
Thu Jul 05, 2007 8:41 am
Forum: PicoScope 6 for Windows
Topic: interface to vb
Replies: 9
Views: 13095

interface to vb

I have downloaded the software API's for the P5000, I am converting a VB program that ran on the PC3000 series. I have hit a snag with the interface to ps5000GetTimebase widows throws a fixup failure. Depends says I have the right number of parameters. Do you have dll library definitions for P5000 f...
by PCBarnett
Sat Jun 09, 2007 6:36 am
Forum: VB and VBA (Excel, Access)
Topic: Pico 5000 DLL definitions
Replies: 5
Views: 10884

Pico 5000 DLL definitions

I was told that the support documentation with examples for programming the 5000 was due for release and would be available in a couple of weeks. The couple of weeks have gone. Is there any sign of it yet ?
by PCBarnett
Tue Mar 13, 2007 2:00 pm
Forum: VB and VBA (Excel, Access)
Topic: ps3000_get_timebase
Replies: 3
Views: 8508

Here are the values passed. and the values in memory after the call.
ps3000_get_timebase values (1,12,5000000,0,0,0,0) after the call the values are (1,12,500000,20480,3,0,1048511)
by PCBarnett
Tue Feb 27, 2007 12:28 pm
Forum: VB and VBA (Excel, Access)
Topic: ps3000_get_timebase
Replies: 3
Views: 8508

ps3000_get_timebase

The ps3000_get_timebase call to a 3206 returns time_units of 3 and a time_interval of 20480. The only reference in the documentation to the coding of time_units seems to be in the ps3000_get_times_and_values where it is stated to be micro seconds. The collected data indicates that it is nanoseconds,...