I have a Command/Status VI (Ver 6.1) that uses VISA serial port communications to continually read status or write commands when new commands are entered. I have added a selectable button to pause the command/status operation, open a sub-VI screen, and allow the user to enter unique commands to change a set of unique parameters. After the pop-up VI writes the commands and is closed, the VI continues normal Command/Status operation. Both the Command/Status VI and sub-VI close the serial port after each read or write, and work stand-alone. The Main VI and sub-VI also both use the same serial com port (and VISA resource).
The problem is that the Command/Status VI gets communications errors for several seconds after the sub-VI is closed befor
e working properly. Is the cause of the problem the common VISA resource? Will using re-entrant solve the problem? Any comments or suggestions would be appreciated?
Thanks,
Dave H.