This C module reads a CSV file and assigns its contents to a buffer in Power PMAC shared memory. It is designed to be integrated into Power PMAC projects, particularly for trajectory loading or other structured data input.
Follow the steps below to add this module to your Power PMAC project:
- Clone or add this repository as a submodule in the desired path under C Language.
- In the Power PMAC IDE, right-click on the desired folder (e.g., Background Programs or Libraries) and select "Add a new...".
- Enter the name
ppmac_read_csv— the same name as this repository. - When prompted to overwrite the file, select "No".
- Right-click on the created folder and select "Add" > "Existing item...".
- Select the source (
.c) and header (.h) files from this repository.
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
Leandro Martins dos Santos
Software Systems Engineer
Diamond Light Source Ltd.