Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

USB 6341 Daq Edge Detection on Port 0

USB 6341 Daq Edge Detection on Port 0

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

0 Kudos
Message 1 of 4
(350 Views)

Re: USB 6341 Daq Edge Detection on Port 0

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

0 Kudos
Message 2 of 4
(326 Views)

Re: USB 6341 Daq Edge Detection on Port 0

thanks Kevin,

I am using a totally different method now.

regards,

Akshay Parab

0 Kudos
Message 3 of 4
(129 Views)

Re: USB 6341 Daq Edge Detection on Port 0

For the sake of future searchers, can you describe your chosen approach and hopefully post the code?

 

 

-Kevin P

0 Kudos
Message 4 of 4
(115 Views)