Hi, TXL,
I have modified your code and saved it on 8.0 since I don't know what version you are using. Besides, I made a couple of screenshots just it case you cannot open the code. Your code is quite redundant, it means, there's no need to place 4 DAQmx Create Channel VIs since an only one is pretty enough. When you select channels on the front panel control, you must write something like Dev3/ai0:3, that's the way of avoiding the four Create Channel VIs.
On the other hand, I have added and editing an enum control with 4 cases so as to select the signal and an Index Array to perform this operation. You can see in the second waveform graph that the signal selected appears. Do the same with the writing of the text file. I have put a small voltage supply on one of the channels and the rest of them are not connected, that's why you see those noisy signals, but the code itself works as expected.
I hope this helps! Ánimo!
Jesús