.

Average: 0
Rating Count: 0

Development status: Released, Release: Release_1_5
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
PiLCTimeWriteInput: DevVarLongStringArray
NTP-sever name, config
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.
WriteArraysFPGAInput: DevVarLongArray
Nb of arrays, array length, and array data (adress + data, adress + data, ...)
Output: DevVoid
Write arrays to FPGA alternatively
FPGAReadSDRAMInput: DevLong
Number of registers to read
Output: DevVarLongArray
Data
Read data from SDRAM
ReadIOBoardInput: DevLong
Command to send.
Output: DevLong
Output
Read data from IOBoard
FPGAReadBurstInput: DevVarLongArray
Start address, number of registers
Output: DevVarLongArray
Readout from registers
Read registers from a burst
EventUpdateLibInput: DevVoid
Output: DevVoid
LEDsUpdateInput: DevVoid
Output: DevVoid
GetIOCardIDArrayInput: DevVoid
Output: DevVarLongArray
IOCardID array
Get IOCardID for modules from 0 to 15
PiLCDeinitInput: DevVoid
Output: DevVoid
Finalize PiLC
EventUpdateInput: DevVoid
Output: DevVarLongArray
Event Update array
Check if something has change and returns an array with the io to update.
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.
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
SPIErasePageInput: DevLong
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
SPIWritePageInput: DevVarLongArray
Data, address
Output: DevVoid
SPIReadByteInput: DevVarLongArray
Address, bytes to read
Output: DevLong
Output
SPIEraseBlukInput: DevVoid
Output: DevVoid
SPIWriteInput: DevLong
Data to write
Output: DevLong
Status output
Write data and wait until finish
SPIWriteStatusInput: DevVoid
Output: DevLong
Write Status
Read `Write` status
SPIReadStatusInput: DevVoid
Output: DevLong
Status
Read `Read` status
SPIReadIDInput: DevVoid
Output: DevLong
ID
Read ID
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.
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.
ReadMainBoardInput: DevLong
Command
Output: DevLong
Output
Read data from main board
WriteMainBoardInput: DevVarLongArray
Command and value
Output: DevVoid
Write data to main board.
ReadIOCardInput: DevVarLongArray
IOCard module and command
Output: DevLong
Output
Read data from IOCard
WriteIOCardInput: DevVarLongArray
IOCard module, command and value
Output: DevVoid
Write data to IOCard
WriteIOBoardInput: DevVarLongArray
Command and data (red, green, blue).
Output: DevVoid
Write data to IOBoard
ReadDisplayInput: DevLong
Command
Output: DevLong
Output
Read data from Display
ReadFPGAInput: DevLong
FPGA address.
Output: DevLong
Output
Read data from FPGA.
InitPiLCInput: DevVoid
Output: DevVoid
Command to initialize the PiLC. It is automatically called when the server is started.
WriteDisplayInput: DevVarLongArray
Command, value
Output: DevVoid
Write command to display
WriteFPGAInput: DevVarLongArray
FPGA address and data.
Output: DevVoid
Write data to FPGA.
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.
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.

Pipes:

Properties:


Please log in to comment.

Generated

PDF generated from POGO



README

For Raspberry Pi 2

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, 3:56 p.m.