03-09-2017 06:13 AM
Hii,
I am using Port 0 for Digital Inputs as I need Waveform Info.(finite sampiling) .
I also want to do Edge detection with These 2 signals. I cant use the PFI10- 15 as they are used for other purposes.
any Workaround for this Problem.
regards
Akshay
03-09-2017 09:09 AM
Both constant-rate sampling and edge-detection based sampling would need ownership of the timing engine for the DI subsystem of the card. There's only one such engine available however, so you won't be able to do both at the same time.
Can your app be reworked to use just one of those sampling methods? For example, you can post-process your DI data from constant-rate sampling to do software-based change detection. Alternatively, you could rely primarily on change detection for sampling and perhaps add a counter task that can keep track of timestamps for those change detection events.
-Kevin P
06-08-2017 09:04 AM
thanks Kevin,
I am using a totally different method now.
regards,
Akshay Parab
06-13-2017 12:31 PM
For the sake of future searchers, can you describe your chosen approach and hopefully post the code?
-Kevin P