Hi All,
My querry is relating to how I can improve digital input task in my application.
Problem:
I have a sensor that outputs serial stream on 1 and 0. Currently what I am doing is that I am oversampling the input and then in software I run a loop on the received data to convert it to 1 and 0's. for example reviced data is 11110000000011111111....and I change it to 10011 (Hope you get the point).
But what I am interested to do is that instead that I get this whole over sampled data I want that i jsut get the 10011 from the card instead of a whole array of data that I change later.
and I am not sure how can I do it with NI Daq cards. Maybe counters or timmers or even if there is a way to do this via the DAQ ?
Thanks