07-23-2026 01:44 PM
Hello,
I have a FlexLogger project in which I am using the very handy Digital Output Handler Plugin so that I can record when the user clicks on a button that results in a digital output channel triggering.
The problem I am running into is that the resulting data in the plugin reference channels don't match up with the rest of the channels.
Here is a breakdown of the channel types I am acquiring and the hardware I am using to acquire them:
I have switches on the FL screen connected to the DO Handler Line channels and the relay card channels are connected to the DO Handler's Ref channels. The output works exactly as I expect in that clicking on the screen buttons commands the relay card to energize and deenergize. The digital input channels acquire the signals from my test setup as expected.
When looking at the 60.2 seconds of recorded data in DIAdem, I find that the channels from my digital input card have a length of 605 data points with a waveform x-step width of 0.1(as expected when sampling at 10 Hz). However, the channels from the DO Handler are 361 samples long with a waveform x-step width of 0.1.
The waveform x-start times on the channels are the same.
Short of doing some resampling or post-acquisition manipulation of the recorded data, what can I do to make the data synchronous? My goal is to have the data show the time-relationship between when the user clicks on the button on the FL screen and the acquisition of the digital signals.
Thanks for the help!
Brett
07-23-2026 02:21 PM
I just ran the same FL project again with the same channels and this time I had digital input channels with lengths of 925 and Digital Output Handler channels with lengths of 897. Same settings as my previous test with lengths of 605 and 361 each...
I am not sure what's going on...