I have a wavemeter connected to the RS232 port of PC, and use VISA to do DAQ. Is there any way to trigger the DAQ process with an analog signal from another RS233 port of the same PC?
What do you mean by "analog signal"? Do you have another instrument connected to the second com port? If that's the case, the best you can probably do is to keep polling the second instrument for the reading you want and have the existing code inside a case statement.