05-17-2017 04:27 PM
I've been stuck on this problem for a while and I think its time for help.
My code takes in data values from an external circuit and processes them to meet a certain condition. After the processing I have an array of booleans that could be random, just based upon the circuit.
Each index in the array specifies to a certain channel number, for example index 0 is ch1, index 1 is ch2 and so on. What I would like to do is process my random boolean array into a concatenated string.
So for example, if my boolean array is FTT, I'd like one string that says "Ch2,Ch3". If its false I don't want to write anything, if its true it should write to its corresponding channel.
I am pretty close but my data is getting stored into an array instead of one string. My data gets overwritten if I attempt to store it into one string.
Attached is my VI. The lower conditional statements are a part of something else.
Solved! Go to Solution.
05-17-2017 05:06 PM
You can always... concatenate it into string!
05-17-2017 05:09 PM
Yes, that was easy. I guess I was much closer then I thought!
05-17-2017 05:12 PM
You know, I didn't know you could use Concatenate Strings with a single input like that... until I saw it used like that in this forum. 🙂