Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
fixed camera address in PymepixConnection called from start_api
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Samartsev committed Jan 16, 2024
1 parent 62e9c66 commit a4caedc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymepix/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
def connect_timepix(args):
if not os.path.exists(args.output):
# Connect to camera
pymepix = PymepixConnection(cam_address=(args.ip, args.port),
pymepix = PymepixConnection(spidr_address=(args.ip, args.port),
camera_generation=args.cam_gen)
# If there are no valid timepix detected then quit()
if len(pymepix) == 0:
Expand Down Expand Up @@ -213,7 +213,7 @@ def start_api(args):
else:
pipeline_class = PixelPipeline

pymepix_connection_obj = PymepixConnection(cam_address=(args.ip, args.port),\
pymepix_connection_obj = PymepixConnection(spidr_address=(args.ip, args.port),\
camera_generation=args.cam_gen,
pipeline_class=pipeline_class)

Expand Down

0 comments on commit a4caedc

Please sign in to comment.