11-17-2023 04:02 PM
I have an analog input that is being read using MyRio, and I want to measure the pulse width duration. However, I cannot connect the Pulse meas block to the analog read. Also, when I use Timing Trans it reads zero.
I am using Gravity Infrared CO2 Sensor as an input.
Please help
11-22-2023 04:56 AM
Hi mdz,
@mdz11mm wrote:
I have an analog input that is being read using MyRio, and I want to measure the pulse width duration. However, I cannot connect the Pulse meas block to the analog read. Also, when I use Timing Trans it reads zero.
To determine a pulse width from an analog signal you need to do those steps:
Please try to solve those steps without using ExpressVIs.
Use shift register(s) and maybe the PtByPt-BooleanCrossing function…
11-22-2023 08:04 AM
It is very difficult to see and understand (much less edit and test) code submitted as "pictures". This is especially true for LabVIEW Real-Time routines that can have three different "code bases", namely the Host (PC), the Target (myRIO), and an FPGA (inside the myRIO).
If your RT Project is contained inside a single Folder, right-click the folder, choose "Send to:", "Compressed (zipped) folder", and attach the resulting folder. You should also mention how you connect the device(s) you are measuring to the myRIO (feel free to name the myRIO connector pins you use, but also provide their "signal names", such as "AI0" or "AI0+" (note these are two different inputs, and can appear on multiple myRIO connectors).
Bob Schor