02-15-2010 11:57 PM
02-16-2010 12:02 AM
02-16-2010 12:23 AM
Hi RavensFan,
Sorry I wasn't specific enough. No, the "pulse" I was referring to was the term I'd chosen to represent the False-True-False Latch mechanical behaviour of the Boolean button. It/they are not being sent to a DAQ device.
I would like one button press to operate as two: to generate two Latch type "pulses" with the first "pulse" to go to the selector terminal of one Case structure, and the second "pulse" to go to the selector terminal of a second Case structure.
thanks,
Kathryn
02-17-2010 01:03 AM
Hi RavensFan and other forum members,
I'm sorry if this thread is a stupid question, and I hope I was clearer in my second post. I dont' feel I can use a Waveform for the selector of a case statement, I created a waveform in the shape of a pulse, and did a "greater than" comparison with the magnitude of the waveform I created but this creates a Boolean array, which I don't think will work for the case statement selector. If I am wrong here, can you please give more detail as to how I can use a waveform to create two Boolean pulses to use for two separate case statement selectors.
I am looking at two options, either will work:
1. Using a switch in Latch When Pressed mode, two Boolean pulses are created, one after the other with a time gap, for the selector of two separate Case statements.
2. Using a switch in Switch When Pressed mode, one pulse is created on a rising edge and a second on a falling edge. In this case, the problem may be how to create a Boolean pulse from a step change in sense.
The Boolean signals have to be F-T-F pulses rather than held True.
Any help appreciated...
thanks,
Kathryn
02-17-2010 01:59 PM - edited 02-17-2010 02:01 PM
Try this. The switch is set to latching. It will blip an indicator on when first pressed. It will blip a 2nd LED on 3 seconds later. One problem is that the elapsed time VI automatically resets itself on first call. I believe if you convert that to a subVI (right click, Open Front Panel) and go in and remove the First Call? primitive, it will prevent that from happening.
