Greetings,
I am not aware of the existence of the Test Panel as a VI, but the example "Dig Multi-line Direction (E).vi" does accomplish what you have described. You can assign each line's direction, and they are represented by an LED (input) and a switch (output). This example is installed with LabVIEW.
Good luck with your application.
Spencer S.