LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial read help

Hi,

        I am using state machine concept in my program. One of the state is to read the value from serial device and i received it in decimal(let say 970). For the first time in this state, I want to read the value(it is 970) and minus it with 230(it become 740) and then i want to use this 740 as in a conditional statement in the same state. So, i have taken "less than or equal" option and using this 740 as one input terminal. For another input terminal, i want to connect same read value(970) from serial read. Can i do with dragging two wires from same readout wire or is there any way other way to do it. It will be useful for me for next read values in the same state which can not go below 740. Please help me.

0 Kudos
Message 1 of 3
(2,511 Views)

Sorry, i have forgotten that when i read FIRST TIME, the subtracted value(740) should be unchange for next read. it shoul be always at second input trminal until the whole program stop. 

0 Kudos
Message 2 of 3
(2,505 Views)

Hi,

 

Upload your VI so we can have better idea.

PBP
Labview 6.1 - 2019
0 Kudos
Message 3 of 3
(2,491 Views)