From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can any one help me how this diagram works. This diagram shown the measurement of rpm motor in engine by Ne signal

can any one explain me how this diagram works. This diagram shown the measurement of rpm motor in engine by Ne signal

0 Kudos
Message 1 of 5
(2,311 Views)

hhh.png

what is the 15000000 for?

0 Kudos
Message 2 of 5
(2,301 Views)

First of all, a screenshot like your attachement only shows a limited section of code, therefore, nobody can tell you what happens in the rest of the code.

 

You might also consider to get familiar with LV in order to understand the code yourself. There are plenty of tutorials available (e.g. LV in 3 hours).

For starters, read the code following data flow. Each wire has a source and one or multiple sinks.

A function in LV can only execute if all data on inputs provide valid values and once it executed passes on valid values on the outputs. Hence, there is a defined order of execution if functions are wired in series.

The functions should be quite self-explaining like Add or Multiply.

 

I hope these tips already provide you a basic understanding for this simple code.

 

Norbert


EDIT: The blue boxes with numeric values are constants. Nobody can answer the purpose of the constant value though....

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 5
(2,298 Views)

Hi ducthang,

 

that 15M is a scaling factor. You need to look into the manual of your sensor/measuring device what's the reason behind this value is!

 

You receive 2 bytes (obviously using wrong datatype for those two inputs) which are combined into a 16bit wide value. Then a scaling is done (see manual of sensor) to display the result. Then two comparisons are done (two limits?) and the result is shown in a (picture?) ring…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(2,294 Views)