06-10-2010 04:22 PM
I've created a sequence which calls a LV VI that outputs a cluster of 3 doubles and a boolean.
I've managed to run the sequence and receive results from the numerics but not the boolean, how can I access the boolean result?
A Multiple Numeric Test was generated.
FredTest
06-10-2010 05:13 PM
There's no built-in step type which will test both numeric and boolean values, so you have a couple options:
* Store your boolean output to a local and then add a Pass/Fail step immediately following to test it.
* Make a custom step type. This is by far more work and only worth it if you need cleaner reporting and will use it numerous times (or if you're bored, I guess :P)
There's probably more methods I'm not thinking of.
06-10-2010 05:31 PM
I stored my boolean output to a local and then tried to add a Pass/Fail step immediately following to test it but couldn't anyrecommendations on how to accomplish this? The Seq is requiring a VI
THX
06-10-2010 05:31 PM
Since you already have a multiple numeric limits test, you could simply convert the Boolean to a 1/0.
06-10-2010 05:34 PM
FredTest wrote:I stored my boolean output to a local and then tried to add a Pass/Fail step immediately following to test it but couldn't anyrecommendations on how to accomplish this? The Seq is requiring a VI
THX
What do you mean the sequence is requiring a VI? The VI wrote to the local variable. You changed the Pass/Fail step to 'None' adapter didn't you?