To figure out what comm port Windows has assigned the USB to serial adapter so you can set it in the VIs: Open Device Manager and look under Ports (COM & LPT). You should see an entry labeled “USB to UART bridge” that goes away when you unplug the controller’s USB cable. Once you identify the port, set it in LabView.
To rule out problems not related to LabView, make sure that you can communicate with the controller using some other program (e.g. ASI Console or Micro-Manager). This can also serve as a check on the port and baud rate settings.
Only one program can use the serial port at a time, so you if you are using another program to communicate with the controller (e.g. ASI Console or Micro-Manager), be sure to exit it before running LabView.
Make sure that the baud rate is set correctly in Initialize.vi. The default of the LabView driver is 115200 baud which is correct for TG-1000 controllers. For MS-2000 controllers the baud rate is selected by jumpers on the back panel and is most commonly either 9600 baud or 115200 baud. See the MS-2000 Operations manual for details on changing the baud rate.
If the port selection control “VISA resource name” does not show a list of comm ports, make sure that NI-VISA is correctly installed.