topic Re: How to use synchronous counting with PCI-MIO-16E-4 ? in Multifunction DAQ
https://forums.ni.com/t5/Multifunction-DAQ/How-to-use-synchronous-counting-with-PCI-MIO-16E-4/m-p/41853#M1474
If I do as you tell me, I can not know the second value is zero or the previous value. There is the probability that both values are the same. <BR /><BR />I don't know whether the stale data error could solve this problem. I'll try in my next step.<BR />Thanks you very much! <BR />Tue, 23 Apr 2002 03:05:33 GMTFlyingsmile2002-04-23T03:05:33ZHow to use synchronous counting with PCI-MIO-16E-4 ?
https://forums.ni.com/t5/Multifunction-DAQ/How-to-use-synchronous-counting-with-PCI-MIO-16E-4/m-p/41851#M1472
I 'm using PCI-MIO-16E-4 and control the gate to measure the source in buffered period measurement mode. If gate edges arm and no source edges are present between those gate edges, the previously saved value is saved again . In this state ,I wish the value is zero .How can I get this result ? Sorry for my poor English. <BR />Fri, 19 Apr 2002 15:08:45 GMThttps://forums.ni.com/t5/Multifunction-DAQ/How-to-use-synchronous-counting-with-PCI-MIO-16E-4/m-p/41851#M1472Flyingsmile2002-04-19T15:08:45ZRe: How to use synchronous counting with PCI-MIO-16E-4 ?
https://forums.ni.com/t5/Multifunction-DAQ/How-to-use-synchronous-counting-with-PCI-MIO-16E-4/m-p/41852#M1473
With the STC counter chip in the PCI-MIO-16E-4, you will not be able to configure it to return a zero if no pulses come in on the Source, it will always return the current value of the counter.<BR /><BR />What you will want to do is set up a simple loop that will check every value of the array to the previous value. If both values are the same, change the second one to zero. <BR /><BR />Let me know if you have any problems implementing this.<BR /><BR />Brian <BR />Mon, 22 Apr 2002 15:22:53 GMThttps://forums.ni.com/t5/Multifunction-DAQ/How-to-use-synchronous-counting-with-PCI-MIO-16E-4/m-p/41852#M1473bman2002-04-22T15:22:53ZRe: How to use synchronous counting with PCI-MIO-16E-4 ?
https://forums.ni.com/t5/Multifunction-DAQ/How-to-use-synchronous-counting-with-PCI-MIO-16E-4/m-p/41853#M1474
If I do as you tell me, I can not know the second value is zero or the previous value. There is the probability that both values are the same. <BR /><BR />I don't know whether the stale data error could solve this problem. I'll try in my next step.<BR />Thanks you very much! <BR />Tue, 23 Apr 2002 03:05:33 GMThttps://forums.ni.com/t5/Multifunction-DAQ/How-to-use-synchronous-counting-with-PCI-MIO-16E-4/m-p/41853#M1474Flyingsmile2002-04-23T03:05:33Z