Need Pascal or Delphi code for ps5000a.dll

Post general discussions on using our drivers to write your own software here
Martyn
Site Admin
Site Admin
Posts: 4483
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Need Pascal or Delphi code for ps5000a.dll

Post by Martyn »

Should

Code: Select all

sampleInterval = c_int(100)
be

Code: Select all

sampleInterval = c_int32(100)
Martyn
Technical Support Manager

Paul Breneman
Newbie
Posts: 0
Joined: Thu Jun 19, 2014 4:15 pm

Re: Need Pascal or Delphi code for ps5000a.dll

Post by Paul Breneman »

Thanks Martyn. I would guess that c_int32 would be needed on 64 bit systems? Is that correct?

I just put new Pascal code that has my initial streaming example on this page: http://ctrlpascal.com/picoscope.htm

Next I hope to port the Pascal code to Python. Any help by anyone is appreciated! :)

Paul Breneman
Newbie
Posts: 0
Joined: Thu Jun 19, 2014 4:15 pm

Re: Need Pascal or Delphi code for ps5000a.dll

Post by Paul Breneman »

A Python streaming example has been added. It still needs improvement but may be close! :)

jbentham
Newbie
Posts: 0
Joined: Thu Sep 21, 2017 9:30 pm

Re: Need Pascal or Delphi code for ps5000a.dll

Post by jbentham »

For working Python code, see https://github.com/jbentham/picostream

Jeremy Bentham

nurber
Active User
Active User
Posts: 12
Joined: Fri Mar 24, 2017 6:05 pm

Re: Need Pascal or Delphi code for ps5000a.dll

Post by nurber »

I appreciate efforts of creating webpages and github repositories for showing programming/streaming examples.

Post Reply