Interrupt counter usage interference question | LabJack
 

Interrupt counter usage interference question

2 posts / 0 new
Last post
Zyjas
Zy Jas's picture
Interrupt counter usage interference question

I am using a water flow sensor that is producing pulses as the water flows through. Note: I use multiple water flow sensors on the same T7 board. I've followed this example:

https://labjack.com/support/datasheets/t-series/digital-io/extended-feat...

It works well, seems that it counts individual pulses from different water sensors correctly. However, I tried to read the documentation and I could not understand. Would these interrupt pulse counters would interfere with other sensor measurements, imagine if I count pulses and at the same time I do some command-response action to read other sensors like the current sensor or temperature sensor? Would this simultaneous pulse counter could interfere with the rest of sensor data acquisition? 

Thank you for any clarification regarding that 

LabJack Support
labjack support's picture
The interrupt counters should

The interrupt counters should not interfere with any other measurements besides perhaps other DIO_EF that are interrupt based. The only time interrupt counters would have issues with other interrupt based DIO_EF is if you exceed the edge rate limit of ~70000 edges/second across all interrupt based measurements. For example, you can count the pulses from two pulse inputs with a frequency of 30000Hz using interrupt counters but would likely miss edges somewhere if you tried to count two pulse inputs with a frequency of 40000Hz.