From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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,304 Views)

hhh.png

what is the 15000000 for?

0 Kudos
Message 2 of 5
(2,294 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,291 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,287 Views)