When I try to connect output of AI Read to input of Get Waveform Components, I get:
You have connected terminals of two different types. The type of the source is 1-D array of Waveform. The type of the sink is Waveform.
Is there a way to convert the 1-D array of Waveform into 1-D array of single, so that can I get the THD from the DAQ board voltage input? (I'm currently trying to do this with AI input and Harmonic Analyzer function)
The array contains waveforms for different channels. You can select one channel using the index array function and then wire the output from that into the get componants function. If you want more than one channel expand the index array function to have multiple channels (just use the mouse to scale the function icon, if you scale it downwards new terminals will show up), or if you need the number of channels to be flexible do it in a loop where you change the index(es) input on each iteration.