| I'm working with a spectrum analyzer at work, and it connects to a computer via a RS232C port (serial port). The manual comes with instructions on how to write your own programs in QBASIC, (the manual is dated Jun 2000 and they still want QBASIC... bleah!) Anyway, the commands are sent over via a PRINT #1 command after the device is initialized with a OPEN "COM1:9600,more variables here" string. I was wondering how I would go about initializing the COM port using C++, and how I could send over the commands to the device using C++. Any help would be appreciated. |