11-22-2013 09:18 AM
I have, in conjunction with a LabView support engineer, developed a VI which records a frequency input, converts the signal into rpm and scales the output as a 0-5V signals (0-3000 rpm range).
The VI works perfectly except it does not constantly update, i.e. the voltage output is constant at the first frequency it records, how can I modify the VI so it constantly updates the output as the input varies?
I have attached the VIs I've been using.
Thanks,
Richard
11-23-2013 10:33 AM
I'm not seeing anything immediately wrong, DAQmx wise. Are you getting any errors? Try removing the Run Task for the Analog Output. Since it should just be an on-demand task, you shouldn't have to tell it to run. Just write to the task inside of the loop.
I felt the need to clean up your VI. There is no need to have 2 stop buttons. And then all of the ORs can be combined with a Compound Arithmetic Function.
11-25-2013 02:29 AM
Hi.
Thanks for the reply. I have run your version of the vi this morning and I'm still getting the same result. The output is correct when I first run the VI but it never updates. I left it running for a bit longer this time and I eventually get the attached error.
I appreciate your help.
Many thanks.
Richard