40m
QIL
Cryo_Lab
CTN
SUS_Lab
TCS_Lab
OMC_Lab
CRIME_Lab
FEA
ENG_Labs
OptContFac
Mariner
WBEEShop
|
40m Log |
Not logged in |
 |
|
Mon Jun 3 21:03:54 2019, Milind, Update, Cameras, Steps to interact with GigE
|
Tue Jun 4 22:24:45 2019, Milind, Update, Cameras, Steps to interact with GigE
|
Tue Jun 4 23:41:13 2019, gautam, Update, Cameras, Steps to interact with GigE
|
Wed Jun 5 22:30:13 2019, Milind, Update, Cameras, Steps to interact with GigE
|
Thu Jun 6 16:01:52 2019, Milind, Update, Cameras, Steps to interact with GigE
|
Mon Jun 10 22:22:19 2019, Milind, Update, Cameras, Steps to interact with GigE
|
Thu Jun 13 21:29:52 2019, Milind, Update, Cameras, Steps to interact with GigE
|
|
Message ID: 14649
Entry time: Mon Jun 3 21:03:54 2019
Reply to this: 14654
|
Author: |
Milind |
Type: |
Update |
Category: |
Cameras |
Subject: |
Steps to interact with GigE |
|
|
The following steps summarize the steps to setting up and interacting with a GigE camera.
Launching the PylonViewerApp:
- Open a new terminal using Ctrl + Alt + T on the keyboard.
- Launch the app using the command pylon.
Using setup python scripts to interact with the GigE (a summary of the steps listed here and here)
- Connect the GigE camera to the ethernet cable and record its IP address. If the IP address is not printed on the GigE, launch the PylonViewerApp and navigate to the "Tools" dropdown menu and select "pylon IP configurator" to be presented with a list of all connected cameras and their IP addresses.
- To simply observe the camera feed, open a new terminal and run the following commands:
- cd /opt/rtcds/caltech/c1/scripts/GigE/SnapPy_pypylon
- python camera_server.py -c C1-CAM-ETMX.ini (only one config file is present currently and more will be added as more cameras are set up. The "Camera IP" in the .ini file must match that determined in step 1). This starts the camera server.
- Open a new tab (Ctrl + Shift + T on the keyboard) in the terminal. You should still be in the same directory as navigated to in step 2.1. Run the following command.
- python camera_client.py -c C1-CAM-ETMX.ini
- This should bring up a feed from the camera. Close at will.
- To record a video file, repeat steps 1 and 2. Open a new tab as described in step 3. Then run the following command:
- python camera_client_movie.py -c C1-CAM-ETMX.ini
- Enter the full path to the file where you wish to save the movie in the prompt that appears. Use ./your_file_name_here.avi to save the the video in the working directory. Press Ctrl + C to stop recording. The recording can be played by navigating to the location where the recording is stored and running vlc your_file_name_here.avi.
- To adjust the exposure setting of the camera, open a new terminal and run the command sitemap . This should bring up the medm display in Attachment #1. Click on the Video/Lights button highlighted in red and select GigE. Adjust the exposure value in the next window using the slider before starting the server in step 1. Adjusting the slider once the server is started causes the program to freeze. Also set the Snapshot channel C1:CAM-ETMX_SNAP to off as mentioned in elog 14037.
Upcoming updates:
- Automatic script to run the above steps.
- Pre-determining the time duration of the recorded video.
- Obtaining snapshots.
|
|
|