Jump to content
  • 0

With Digital Discovery SDK, how to add a delay to a sync trigger?


LeonelP

Question

Hello, I been trying to add a delay for a sync trigger and haven't found a method that does that, what am I missing?

This is the configuration I'm using:

	FDwfDigitalInAcquisitionModeSet(hdwf, acqmodeRecord);
	// .-1 sync mode
	FDwfDigitalInDividerSet(hdwf, -1);
	// 16bit per sample format
	FDwfDigitalInSampleFormatSet(hdwf, 16);
	// number of samples after trigger 0 for continuous stream
	FDwfDigitalInTriggerPositionSet(hdwf, 0);

	FDwfDigitalInTriggerSourceSet(hdwf, trigsrcDetectorDigitalIn);

	// trigger detector mask: low &  hight & ( rising | falling )
	FDwfDigitalInTriggerSet(hdwf, 0, 0, 0, (1 << 1) | (1 << 4));

 

How can I add a 5us delay to that falling trigger?

Regards.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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