That is what I already have, I have a sequence where the V1 trough 4 are supposed to be valves that activate and deactivate according to the sensors...thing is, I am required to start the sequence by a button, said button needs to recieve a 0 or 1 that comes from my K400 card.
How exactly can I do this?
Also, is there any way for that button to ask for a "password" or string in order to activate it?
Thanks in advance.
can you please give some more information? What is your K400? How do you need it to work? Where should it be possible to insert the password?
In general, the "Equal?" function can be used to directly compare two strings (this comparison is case sensitive like a typical password). A basic implementation of this would be to place the code you want to be "password protected" within a case structure and wire the output of the "Equal?" function to the case structure.
I've attached a simple example below and you may want to search for "password" in the Example Code section of the Developer Zone for many more similar examples.
I hope that helps!