Hi,
This is a strange warning. Somehow it is considering that hp3852a_hrs is a local. the problem has to do with the index local variable. If you initialize 'index' with a value, the warning disappears. In any case, you can compile and run a program ignoring this warning.
The compiler is not parsing the cod correctly. I don't know why, but at least the you can use this workaround.
DiegoF.
National Instruments.