Dear all,
I have what seems a fairly simple event counting requirement but I can't find a way to do it.
I have a watt-hour transducer to measure the power to a set of heaters (like the electrical meter in your house). The output from the meter switches (between 0 and 5 volts) every time a certain amount of energy is consumed. All I wish to do is to monitor this switching constantly and get a total over a several hours. However, my program is quite large (many different user functions) and I don't want to have to run this counter through the main labview program all the time. What I want is a subVI that will check (say every 5 seconds) to see what the latest count is, and return this to the main program.
Does anyone know of a VI that will do this? I couldn't find an example to do it. I tried to use the "Count Events or Time.vi" but it returned an error. This VI didn't ask for the usual Counter set-up (eg. PFI numbers etc.) so maybe I have to configure it first.
Thanks in advance,
Will.