Jump to content
  • 0

grabbing analog data between 2 external triggers


ckg

Question

Hello all,

I have a trigger signal that is not fixed frequency so I do not know the exact amount of samples that I can read from buffer with a known sampling frequency. I need to grab all the analog data between 2 trigger events. How can I do that ? Can anyone give an example python code for that ?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

One approach is to connect the trigger signal to the trigger input and to an analog input and enable a CONTINUOUS+BACKGROUND+EXTTRIGGER scan. The first trigger pulse will start a_in_scan. Subsequent start triggers are ignored by the trigger input but will be recorded alongside the analog data. You must interrogate the data to determine when the second, third, fourth, etc., triggers occur.

 

 

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...