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...
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...
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.
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...
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 ?
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)
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,...