05-06-2020 12:43 PM
I am trying to use a National Instruments USB Thermocouple interface (cDAQ-9171 with a 9213 module) with Labview 2018. The unit works fine and I can display any/all of the 15 channels. However, I would like to actively select the which channels that I display inside Labview using boolean buttons. My thought is to take the incoming data array which contains 15 elements and remove the unselected (or selected) channels. I thought I could use either the "Delete from Array" block or another array function, the issue is that none of these functions appear to allow for a varying number of inputs. I would have though I could use a boolean array as a TRUE/FALSE selector but again, I can find no array function that that will allow me to input an array to either select the exact elements I want or to reshape an incoming array of 15 elements to contain only data from the channels I want. Does anyone have a simple solution for this? Thanks!
Solved! Go to Solution.
05-06-2020 12:49 PM
Have you tried something like this?
05-06-2020 01:43 PM
Nope, I hadn't tried that. That every elegant, thanks.