Quote:
Originally Posted by apalrd
There's actually an easier way then that. Go into (I think it's Comparison) palette and look for a Switch. I forgot it's exact name, but basically it looks like a triangle with a T and F inputs on the top and bottom and a case on the middle. It just passes the data through depending on the value of the input.
|
I don't really use lab view, but that sounds like a logic gate
in c++ you could do some thing similar with a boolean variable:
Code:
int main()
{
bool virtualdigin1;
if digin1==1
{
virtualdigin1=0;
}
else
{
virtualdigin1=1;
}
}