Hello
I tested your program and , if channels have no name, results for plot name are garbage as you state.
If you name channels , the names are ok, since plot name is a waveform attribute.
I never found this problem because I use named and configured channels by means of NI-MAX, but I guess this shoud not happen if name of channel is empty.
My test setup: NI-MAX 3.1 / LV 7.1 / NI-DAQ 7.2 / PCI 6052E
Hope it helps.
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------