Creating a program that will run as a Windows NT/2000 service is not a simple task and is not included in the standard native functions of LabWindows/CVI libraries. Basically, you have to architect your program to be setup to handle a certain set of system events to load, unload, and handle system messages from the OS. There are service functions in the Windows SDK that you would have to use and instructions in the Windows SDK help about creating service applications. In CVI, go to Help->Windows SDK. Then go to Contents->Base Services->DLLs, Processes, and Threads->Services.
Best Regards,
Chris Matthews
Measurement Studio Support Manager