Recovering Digital Port Data using Rapid Block Mode

Post general discussions on using our drivers to write your own software here
Post Reply
kmorfitt
Newbie
Posts: 0
Joined: Mon Jun 27, 2016 9:58 am

Recovering Digital Port Data using Rapid Block Mode

Post by kmorfitt » Thu Jun 08, 2017 9:23 am

I'm trying to modify your ps3000acon.c program to save digital port data instead of analogue channel data, but I'm having no success - the samples that I receive from the Piscoscope are always analogue channel data.

I wondered if you had an example that showed how to recover digital port data in Rapid Block Mode instead of analogue channel data, or if you could offer me any advice on how to do this please.

Hitesh
Site Admin
Site Admin
Posts: 2845
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Recovering Digital Port Data using Rapid Block Mode

Post by Hitesh » Fri Jun 09, 2017 8:27 am

Hi kmorfitt,

Would it be possible to confirm if you have done the following please:
  • Called ps3000aSetChannel() to turn off all analogue channels
  • Called ps3000aSetDigitalPort() to enable the required digital port (a bank of 8 digital channels)
  • Set up a trigger on digital channels
It might be useful to see your code and any example output.

Regards,
Hitesh

Technical Support Engineer

Post Reply