.

Average: 0
Rating Count: 0

Development status: Released, Release: Release_1_10
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/OtherInstruments/PiLC
Contact:



Class Description


PiLC control class

Families: Instrumentation

Key words:

Platform: Unix Like

Language: Cpp

License:

Contact:

Hardware


Manufacturer: none

Bus: Not Applicable

Class interface


Attributes:

Commands:

Name Description
StateInput: DevVoid
Output: State
Device state
This command gets the device state (stored in its device_state data member) and returns it to the caller.
StatusInput: DevVoid
Output: ConstDevString
Device status
This command gets the device status (stored in its device_status data member) and returns it to the caller.
WriteFPGAInput: DevVarLongArray
FPGA address and data.
Output: DevVoid
Write data to FPGA.
WriteDisplayInput: DevVarLongArray
Command, value
Output: DevVoid
Write command to display
InitPiLCInput: DevVoid
Output: DevVoid
Command to initialize the PiLC. It is automatically called when the server is started.
ReadFPGAInput: DevLong
FPGA address.
Output: DevLong
Output
Read data from FPGA.
ReadDisplayInput: DevLong
Command
Output: DevLong
Output
Read data from Display
WriteIOBoardInput: DevVarLongArray
Command and data (red, green, blue).
Output: DevVoid
Write data to IOBoard
WriteIOCardInput: DevVarLongArray
IOCard module, command and value
Output: DevVoid
Write data to IOCard
ReadIOCardInput: DevVarLongArray
IOCard module and command
Output: DevLong
Output
Read data from IOCard
WriteMainBoardInput: DevVarLongArray
Command and value
Output: DevVoid
Write data to main board.
ReadMainBoardInput: DevLong
Command
Output: DevLong
Output
Read data from main board
EPCSProgramInput: DevString
Program file name
Output: DevVoid
Reprogram FPGA. Information read from external files: argument name epcs_output.hex PiLC is restarted at the end.
SPISendBytesInput: DevVarLongArray
Operation code, bytes, debug flag
Output: DevLong
Output data
Send bytes. If debug is set to 1, a file called epcs_output.hex needs to open to write.
SPIReadIDInput: DevVoid
Output: DevLong
ID
Read ID
SPIReadStatusInput: DevVoid
Output: DevLong
Status
Read `Read` status
SPIWriteStatusInput: DevVoid
Output: DevLong
Write Status
Read `Write` status
SPIWriteInput: DevLong
Data to write
Output: DevLong
Status output
Write data and wait until finish
SPIEraseBlukInput: DevVoid
Output: DevVoid
SPIReadByteInput: DevVarLongArray
Address, bytes to read
Output: DevLong
Output
SPIWritePageInput: DevVarLongArray
Data, address
Output: DevVoid
SPIWriteSectorInput: DevVarLongArray
Data, length
Output: DevVoid
Write data to pages. The data increment by 0x100 for each page and the address by 0x00100
SPIErasePageInput: DevLong
Address
Output: DevVoid
SPIEraseSectorInput: DevLong
Length
Output: DevVoid
Erase the number of pages given by the input argument, starting with adress 0 and increasing the address by 0x010000
USVUpdateInput: DevVarLongArray
Show flag, shutdown flag, time to shutdown
Output: DevVoid
Shutdown the system in if the second argument is 1. Third argument is the time to shutdown. If first argument is 1 info is printed out.
EventUpdateInput: DevVoid
Output: DevVarLongArray
Event Update array
Check if something has change and returns an array with the io to update.
PiLCDeinitInput: DevVoid
Output: DevVoid
Finalize PiLC
GetIOCardIDArrayInput: DevVoid
Output: DevVarLongArray
IOCardID array
Get IOCardID for modules from 0 to 15
LEDsUpdateInput: DevVoid
Output: DevVoid
EventUpdateLibInput: DevVoid
Output: DevVoid
FPGAReadBurstInput: DevVarLongArray
Start address, number of registers
Output: DevVarLongArray
Readout from registers
Read registers from a burst
ReadIOBoardInput: DevLong
Command to send.
Output: DevLong
Output
Read data from IOBoard
FPGAReadSDRAMInput: DevLong
Number of registers to read
Output: DevVarLongArray
Data
Read data from SDRAM
WriteArraysFPGAInput: DevVarLongArray
Nb of arrays, array length, and array data (adress + data, adress + data, ...)
Output: DevVoid
Write arrays to FPGA alternatively
PiLCTimeWriteInput: DevVarLongStringArray
NTP-sever name, config, utc_offset
Output: DevLong
Time written to FPGA (as feedback)
Read a time from the ntp-server and write the value to the fpga. The return value is the time written.

Pipes:

Properties:


Please log in to comment.

Generated

PDF generated from POGO



README

b'For Raspberry Pi 2'

9 Jul 2022, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



21 Nov 2020, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



7 Nov 2020, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



5 Sep 2020, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



11 Jul 2020, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



4 Jul 2020, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



23 Jun 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



23 Feb 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



19 Jan 2017, Piotr Goryl
Updated:
The device server has been updated.
You can see previous version here .



2 Jan 2017, Piotr Goryl
Created:
The device server has been added to catalogue.
Added by:pgoryl2 on:2 Jan 2017, 2:56 p.m.