09-12-2011 03:11 PM
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.
09-12-2011 03:20 PM
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.
09-12-2011 11:15 PM
Hi,
Upload your VI so we can have better idea.