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 »

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

Re: Recovering Digital Port Data using Rapid Block Mode

Post by Hitesh »

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,

Post Reply