Hi, I have an executable that uses the serial port to connect to an instrument but also GPIB to connect to other intsruments and I am facing the following annoying issue:
I have installed NI-VISA, 488.2 and NI-MAX but also Runtime engine in the deployment machine. GPIB works fine in all cases. But serial port is not working (note that serial ports works via a terminal like PuTTY). When I try to check it via NI-MAX the open test panel returns an error "error opening resource ASRL1::INSTR Labview: (HEX 0xBFFF009E) Visa or code library" which typically means that some driver is missing. Then I moved to repair of NI-VISA which completes with an 1603 error
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9c0SAC&l=en-GR
When I restart the machine the serial port works OK. I can see that both in my executable application but also in NI-MAX "open test panel" which works fine and I can send commands.
If the machine is left turned on then the port is working. If I make a restart (or shutdown) then the serial port is not working (!) and it is needed to make a repair again and then after restart works again!.
I found also another way to make it work without enabling the repair process: I make a "reset configuration settings" in NI-MAX and then after a forced restart the serial port works again!
Any suggestions or ideas ?
BR, Stelios, Greece