Closed troehling closed 3 years ago
This is very useful for usage during development to use the spidrDummyTCP (IP: 127.0.0.1) instead of connecting a real Timepix camera.
Use the following command to connect with the dummy (dummy must be running already):
pymepixviewer --ip 127.0.0.1
Currently there are two different IPs implemented that can be commented out or in depending on the needs. One is used for development with the spidrDummyTCP (not an actual camera). It can happen very easy that the development code with the dummy IP is commited if the lines are not adjusted before the commit.
The idea is to implement arguments that can be provided when launching the viewer that will determine which camera is used (IP and port?) This was the IP does not need to be hard coded anymore and can be swapped at runtime easily.