From 3548d3a43ce7c2e4b9533ac4d062fadf62be2603 Mon Sep 17 00:00:00 2001 From: Jack Harper Date: Thu, 30 Oct 2025 10:43:00 +0000 Subject: [PATCH] Correct path for com2tcp.py script in documentation Updated the path for the com2tcp.py script in the instructions. --- doc/iocs/testing/Emulating-Devices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/iocs/testing/Emulating-Devices.md b/doc/iocs/testing/Emulating-Devices.md index b6d99af90..fd56993c7 100644 --- a/doc/iocs/testing/Emulating-Devices.md +++ b/doc/iocs/testing/Emulating-Devices.md @@ -107,7 +107,7 @@ If we have a pre-existing VI it might be useful to connect it to an emulator to 2. Create a physical loopback on the MOXA by connecting one port into another using one male serial cable connected to one female serial cable (a plain network cable won't do) 3. Use NPort (which can be found under `\kits$\CompGroup\Utilities`) to connect to these two ports, noting which COM ports correspond to the loopback 4. Run the emulator (instructions above in "Run the emulator" section) -5. Run the com2tcp.py script found in https://github.com/ISISComputingGroup/EPICS-DeviceEmulator/ to create a connection between one COM port and Lewis e.g. `python com2tcp.py 57677 COM12` +5. Run the `com2tcp.py` script found in `IocTestFramework\master\utils` to create a connection between one COM port and Lewis e.g. `python com2tcp.py 57677 COM12` 6. Connect the VI to the COM port that you haven't run com2tcp.py on If the above is not working check that the baud rates/stop bits etc. set in the VI, NPort and com2tcp are all the same. otherwise, look in NI MAX and confirm that the COM ports are showing up under devices and interfaces on the left, if they are not you may need to update NI MAX. Also, note that the port you want to set in the driver VI is the one highlighted below (which can occasionally differ from the actual COM port)