Test and Measurement Forum

Need Pascal or Delphi code for ps5000a.dll

Post general discussions on using our drivers to write your own software here

Re: Need Pascal or Delphi code for ps5000a.dll

Postby Martyn » Thu Jul 24, 2014 8:16 am

Should
Code: Select all
sampleInterval = c_int(100)

be
Code: Select all
sampleInterval = c_int32(100)
Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
 
Posts: 2819
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Need Pascal or Delphi code for ps5000a.dll

Postby Paul Breneman » Tue Jul 29, 2014 4:10 pm

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

Postby Paul Breneman » Wed Jul 30, 2014 3:50 am

A Python streaming example has been added. It still needs improvement but may be close! :)
Paul Breneman
Newbie
 
Posts: 0
Joined: Thu Jun 19, 2014 4:15 pm

Re: Need Pascal or Delphi code for ps5000a.dll

Postby jbentham » Thu Sep 28, 2017 10:40 am

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

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

Re: Need Pascal or Delphi code for ps5000a.dll

Postby nurber » Thu Sep 28, 2017 3:38 pm

I appreciate efforts of creating webpages and github repositories for showing programming/streaming examples.
nurber
User
User
 
Posts: 5
Joined: Fri Mar 24, 2017 6:05 pm

Previous

Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests