LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image selector according of the configuration of an input

How are you addressing the PLC? What do you see out of the PLC? Is each letter (ABCDEF) a word that you are reading?

 

This will make a difference how you put together your code.

Tim
GHSP
0 Kudos
Message 11 of 24
(832 Views)

No, I see only booleans, 0, 1 , acordind to this configurations it would show a diferent image. 

I have anothe doubt, What if I want to use the value of one indicadore twice or more times?, I'm creatting a local variable, But when I want to use this value again the proyect actue wrong.

0 Kudos
Message 12 of 24
(828 Views)

I see only booleans, 0, 1 

 

This confuses me - In LabVIEW booleans have values of TRUE or FALSE.

0 and 1 are integers, or possibly floating point numbers, but not booleans.

 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 13 of 24
(825 Views)

What if I want to use the value of one indicadore twice or more times?, I'm creatting a local variable,

 

You should avoid local variables, until you are experienced enough to know what they can and cannot do to/for you.

 

Have you looked at the example programs provided with LabVIEW?

 

A lot of basic concepts are covered in there.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 14 of 24
(822 Views)

Are your inputs going to a daq card so they are digital inputs or are you reading them from another device?

Tim
GHSP
0 Kudos
Message 15 of 24
(821 Views)

I take the variables from an OPC server. It will be digital outputs from the PLC

0 Kudos
Message 16 of 24
(818 Views)

No, where can I found those examples?? 

0 Kudos
Message 17 of 24
(816 Views)

Do you have sucessful communications with your PLC through the OPC?

Tim
GHSP
0 Kudos
Message 18 of 24
(814 Views)

YES. with RSLINX and SLC 5/04 PLC

0 Kudos
Message 19 of 24
(809 Views)

Are you reading out one word or is this many words from your PLC?

 

Do you read one Boolean word that has 8 bits so you get an array of Boolean values?

 

How is the data presented in LabVIEW?

Tim
GHSP
0 Kudos
Message 20 of 24
(807 Views)