LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

5 -binary modbus registers represented as leds

Solved!
Go to solution

mod ques.JPG

Hi 

thank you for taking time to read my query. i have a working modbus which can read  the  modbus registers in binary but, i don't know how to represent those binary representation using 16 leads for 0 to 15 binary (1's [led status - on] and 0's [led status - off]) can any one help me on how to do it

 

vi block.JPG

0 Kudos
Message 1 of 7
(2,947 Views)

led.png

0 Kudos
Message 2 of 7
(2,939 Views)

@Artem.SPb wrote:

led.png


If doing the Not Equal To Zero, no loop is required.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 7
(2,929 Views)

can you send the vi for this for loop if i am right its indexing

0 Kudos
Message 4 of 7
(2,909 Views)

@Etesam23 wrote:

can you send the vi for this for loop if i am right its indexing


Yes, it is indexing.

 

And what was posted is called a "snippet'.  Save it to your PC and then drag it to your block diagram and you will automagically have the code.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 7
(2,902 Views)

aaa.JPG

 

how do i do it for this one here

0 Kudos
Message 6 of 7
(2,875 Views)
Solution
Accepted by topic author Etesam23

I guess you didn't try to learn what was going on in the code you downloaded, or you'd know how to use it.  Study the code so you know how it works.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 7
(2,870 Views)