I am using a Labjack U12 unit and Labview 2011.
a) I need to continously measure the time between 2 falling edges (roughly 60 ms for the low state and 15 to 30 secs for the high state).
b) added to a) I need to measure 2 AI quite often over a minute to make a accurate average
In order to do this I have used the program attached here. It works ok. It runs roughly at 40ms with some higher peaks (see chart). (I am measuring 1 sample on 4 channels with loop running as fast as it can). I haven't chosen a #samples+scan rate solution because I would like to avoid missing some edges when the vi launchs a new measure.
1) Is there another VI that would enable me to get the samples quicker? (one sample at a time continously like mine) or is this solution the quickest? of course, it gets quicker when reducing the number of channels in my program but I can't do this.
2) I have been using U6 modules, and I know there are Time Edge measuring VIs. Would there be one that could do this with a U12 unit? I haven't found any .