KevMi
2008-04-09 07:10:06 UTC
Hi, I am building a sequencer and have a real challenge. There are 16 digital inputs in sequencer.User can choose which inputs are checked and when. User can also determine what function is with a certain condition. Let me try to explain it little better with an example: User gives a string " (DI1 OR DI2) AND DI3 " and a function STOP. Now the states that fulfilles the condition would be 3 different situations
DI3 DI2 DI1 Function
1 0 1 STOP
1 1 0 STOP
1 1 1 STOP
There is also "NOT" operand in use.
Now I need a "key" that could open the condition.Key should also concider paraenthesis, because (DI1 OR DI2) AND DI3 and DI1 OR (DI2 AND DI3) aren't the same condition.
I am not asking anyone to make a completed solution, but it would be great if someone have dealed with something like this or has some VI that could help.
Best Regards
Mika
DI3 DI2 DI1 Function
1 0 1 STOP
1 1 0 STOP
1 1 1 STOP
There is also "NOT" operand in use.
Now I need a "key" that could open the condition.Key should also concider paraenthesis, because (DI1 OR DI2) AND DI3 and DI1 OR (DI2 AND DI3) aren't the same condition.
I am not asking anyone to make a completed solution, but it would be great if someone have dealed with something like this or has some VI that could help.
Best Regards
Mika