There are no VIs for directly including CNC code that we know of. Maybe someone out there will have something for you. As for including CNC programs into VIs you will need to see what is the format of the data on the CNC program, ways to send it to the VI (serial, data, file, etc.) and how to translate for your motion controller. I guess giving NI a call would be better to understand your system setup and if there is any help we can give you.
Nestor.
Nestor