# csst_ccd_ps_code **Repository Path**: cosmo-xyh/csst_ccd_ps_code ## Basic Information - **Project Name**: csst_ccd_ps_code - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-20 - **Last Updated**: 2025-04-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # User Guide ### History of updates - v1.0 is created @2024-09-25 ## Configuration parameter folder The folder **params_200kHz** contains all the configuration files to be used. ## **Main Steps to used the Camera** - [1] powering up the PCB board of the camera Open the **power_supply** panel from the ICS, and click the **PCB** icon to power up the PCB. (NOTE: this action only enables the input power to the camera, main chips and the CCD itself are NOT powered up.) - [2] connecting to the SoC Linux of the cameravia ssh ``` ssh root@192.168.1.123 ``` Note: *root* is both the default username and the passwd, and the SoC Linux is configured to use a local static IP: 192.168.1.123. - [3] Mounting the ICS working directory (192.168.1.120:/home/USER/sps) to the SoC Linux via NFS ``` mount -t nfs -o tcp,nolock 192.168.1.122:/home/USER/sps workspace ``` This can be done by running the script *mount_nfs.sh* (the above commond is included) ``` ./mount_nfs.sh ``` - [4] cd into the workspace folder ``` cd workspace/ ``` - [5] *powering up* the camera (be aware that this if different from powering up the PCB) ``` ./power_up ``` after running this script, all chips on the PCB as well as the CCD are powered up, and FPGA modules (e.g., the CCD driver module) are configured as well. - [6] running the Socket service ``` ./schmidt_socket_server log-202x-yy-zz.txt ``` NOTE: schmidt_socket_server **MUST** be provided the log file **log-202x-yy-zz.txt** as the input argument, since this folder contains all necessay configuration files. *Now ICS should be able to connect to the Socket service running on the SoC Linux, and sending commands to the Socket service.* - [7] *powering down* the camera ``` ./power_down ``` after running *power_down*, main chips on the PCB and the CCD are powered down, and one can safely turn off PCB from the *power_supply* panel of the ICS. ## Scripts - [1] power_up: - [2] power_down: - [3] getPowerStatus: - [4] readout: - [5] exposure: - [6] shutter: - [7] schmidt_socket_server: