04-15-2021 11:24 AM
Hi I am developing a LabVIEW code to take measurements from a Stirling Engine. The pressure and temperature sensors have been set up both physically and in LabVIEW and I get the expected measurements from both in the front panel graphs.
As the Stirling engine produces a sinusoidal like pressure vs time graph, I want to somehow measure the time period of each oscillation, which I could then use to estimate the Stirling engine speed and display this output value on the front panel.
I have only been using LabVIEW for a few months so am not familiar with the full functionality of the software, looking online it looks like I could use the inbuilt 'Pulse Measurements' or 'Waveform Measurements' VIs to achieve this. At the moment, I am directly linking the pressure output to the Pulse Measurements VI however this produces an error:
Analysis: (Hex 0xFFFFB0AC) The waveform did not cross the mid reference level enough times to perform this measurement. Check the signal length, reference levels, and ref level units.
My questions are:
1) Is this the best way to try and measure the pulse period of my pressure measurements?
2) If so, could somebody please explain how to use this VI in my context? There are many inputs such as 'reference levels' which I am unsure about.
Any help is greatly appreciated, and if you require further information please let me know 🙂
RN
04-16-2021 09:38 AM
Check the Signal Processing->Wfm Measurement palette.
04-16-2021 09:43 AM
Hi
How do I set up up the reference levels for the pulse measurement vi?