Msiipola Posted June 15, 2023 Posted June 15, 2023 Is it possible start DCS and connect-serial-port.cmd from one script/batch-file? I assume this is a problem because (i assume) the the serial communication can not be started before DCS is fully loaded and started.
No1sonuk Posted June 15, 2023 Posted June 15, 2023 You can run the connection program at any time, including after DCS has started. You can even run it while IN a mission - I do this regularly when debugging arduino code. My sequence is: Pause game while in mission Alt-tab to connection window Close the connection window Alt-tab to the Arduino IDE window Edit code and upload to Arduino Alt-tab to connection program folder Start connection program Alt-tab to DCS Unpause game and test Repeat as required 1
Msiipola Posted June 16, 2023 Author Posted June 16, 2023 10 hours ago, No1sonuk said: You can run the connection program at any time, including after DCS has started. Thank for info! My idea is to start DCS and serial communication from one and same batch file, so I don't have to start those separately.
markom Posted June 16, 2023 Posted June 16, 2023 You can use the `multiple-com-ports.bat` for that, or do the same trick it does, run the `connect-serial.bat` with `/b` flag before you run DCS. 1
Vinc_Vega Posted June 18, 2023 Posted June 18, 2023 What's the purpose of the '/b' flag? Regards, Vinc Regards, Vinc real life: Royal Bavarian Airforce online: VJS-GermanKnights.de [sIGPIC][/sIGPIC]
No1sonuk Posted June 18, 2023 Posted June 18, 2023 1 hour ago, Vinc_Vega said: What's the purpose of the '/b' flag? Regards, Vinc Starts the application without starting a new window. The multi-com file starts the single com file for every listed port, but the /b flag means it does it in the same window. 1
Vinc_Vega Posted June 18, 2023 Posted June 18, 2023 Thank you for the reply Regards, Vinc 1 Regards, Vinc real life: Royal Bavarian Airforce online: VJS-GermanKnights.de [sIGPIC][/sIGPIC]
Recommended Posts