04-24-2007 08:59 AM
04-25-2007 02:54 AM
@ambrownster wrote:
Partha,
thanks for your help. Here is the code in labview 7.1. I hope you can help me out!! Is there some sort of switch that will toggle between two values whenever it recieves a true value or something. The case structure I'm using has an assigned true and false, but I don't want each case to have an assigned true or false value because as soon as they go false, I want to switch to the other curve.
THANKS!!
Alison
Hi Alison,
I think you ve saved the screenshot of the actual VI, in the VI you ve attached with your previous post. So, I cant view the False case.
Moreover, I dont ve the DAQ H/W with me presently. ![]()
To your question, "Is there some sort of switch that will toggle between two values whenever it recieves a true value or something.", al I can say is you can connect a local variable of the switch you want to toggle in the respective cases. But I dont understand the phrase "true value or something". I m not clear about this "something". Do you mean "False", or some other ambiguous state like tristate ? A third state cannot exist for a boolean state. Can you come a bit more precise of that part of the requirement ?
Further, if you dont want each case to ve an assigned value, you can check the state of the switch & toggle it (NOT gate), and update it to tis local variable itself. By this way, you can achieve the toggling of the switch you wish to have...
Post here if you still have more doubts.
04-25-2007 07:45 AM