Jump to content
  • 0

MCC172 start & stop capture on trigger?


NicR

Question

Hi

 

I have 8 MCC172 hats on a Raspberry Pi and am reading in synchronized data. The program was hacked together from the C examples library. The acquisition starts with a trigger input to the master hat & I was wondering if it was possible to stop the acquisition in the same way?

 

Is it possible to poll the trigger status without reading in data?

 

Nic

Edited by NicR
typo
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello @NicR.

A user can configure the external trigger input to start an acquisition, but a stop configuration is not an option with the mcc172_trigger_config() function.

https://mccdaq.github.io/daqhats/c.html#c.mcc172_trigger_config

However, you can tee the external trigger input signal to an available GPIO pin and poll that pin to call the mcc172_a_in_scan_stop() function, when the pin is at a high level.

Reference the following forum post for the subset of the GPIO pins used for each MCC DAQ HAT. 

Regards,

Fausto

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...