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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
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

Previous

Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests