LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

table

Hi drek,

 

formula node undifined variable

Then you should define this variable more properly.

A good starting point would be to use proper spelling including upper-/lowercase letters!

 

error on line 2 is marked by a '#' character :" if # val = 1;"

This is different to your image…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 41 of 50
(1,305 Views)

trying this 

if x= 1

then  out = val

 

0 Kudos
Message 42 of 50
(1,301 Views)

Why do you need a formula node for such a comparison?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 43 of 50
(1,298 Views)

was afraid to say i did not still found the solution to write a value to the table by pushing set value it should appaer in 0,0

and stay there not appaear en dissapear

please help 

0 Kudos
Message 44 of 50
(1,285 Views)

What you show doesn't have the formula node you have been showing up until now.

 

Bytes at Port method on a VISA Read is wrong about 95% of the time, and probably 99.9% of the time considering you don't have any wait between the VISA Write and Bytes at Port.

 

In your, false case of the Set Value button, you have nothing, and have the default of an empty array being wired out to the table.  Which will clear the table.  If you want nothing to change, you need to store the array values in a shift register and pass them through to the table in the false case.

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 45 of 50
(1,258 Views)

not until now, i already did at the begin of this threat few days ago but did not see any solution so i was trying

with a formula node,i you can show me how to do it  would be very greatfull, this is what i got,

the value by example is passing on the probe like a running light 118 , by set value nothing appaers in the table

Download All
0 Kudos
Message 46 of 50
(1,252 Views)

I have no idea what you mean by "passing on the probe like a running light 118".  You have nothing labelled 118 in your VI.

 

You need to wire through the  table in the False case like I said.  pretty simple.  Like this. 

 

 

0 Kudos
Message 47 of 50
(1,235 Views)

it works !!!!!! how can i put that value in the table for example on row2 colum2 thx very much

0 Kudos
Message 48 of 50
(1,225 Views)

Change the values you have wired up into the indices that are in the True case.

 

Have you taken the tutorials?  I would really recommend it.

 

 

0 Kudos
Message 49 of 50
(1,218 Views)

Not all tutorials, im working on that si it will take some time to learn it like people here,

but if i can ask something between i will learn it faster.

thx very much

0 Kudos
Message 50 of 50
(1,212 Views)