M1M3 Support System
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LSST::M1M3::SS::ExpansionFPGA Class Reference
Inheritance diagram for LSST::M1M3::SS::ExpansionFPGA:
Inheritance graph
[legend]
Collaboration diagram for LSST::M1M3::SS::ExpansionFPGA:
Collaboration graph
[legend]

Public Member Functions

void initialize () override
 Initialize FPGA.
 
void open () override
 Load & run FPGA code, setup interrupts.
 
void close () override
 Close FPGA, stop FPGA code.
 
void finalize () override
 Should be called after closing FPGA.
 
void sample () override
 Writes sample request.
 
void readSlot1 (float *data) override
 Read 6 float from float array indicator.
 
void readSlot2 (uint32_t *data) override
 Reads 32 bitfield of DIO status.
 
- Public Member Functions inherited from LSST::M1M3::SS::IExpansionFPGA
void setResource (bool enabled, std::string resource)
 

Additional Inherited Members

- Static Public Member Functions inherited from LSST::M1M3::SS::IExpansionFPGA
static IExpansionFPGAget ()
 
- Protected Attributes inherited from LSST::M1M3::SS::IExpansionFPGA
bool _disabled
 
std::string _fpga_resource
 

Member Function Documentation

◆ close()

void ExpansionFPGA::close ( )
overridevirtual

Close FPGA, stop FPGA code.

Exceptions
NiErroron NI error

Implements LSST::M1M3::SS::IExpansionFPGA.

◆ finalize()

void ExpansionFPGA::finalize ( )
overridevirtual

Should be called after closing FPGA.

Exceptions
NiErroron NI error

Implements LSST::M1M3::SS::IExpansionFPGA.

◆ initialize()

void ExpansionFPGA::initialize ( )
overridevirtual

Initialize FPGA.

Exceptions
NiErroron NI error

Implements LSST::M1M3::SS::IExpansionFPGA.

◆ open()

void ExpansionFPGA::open ( )
overridevirtual

Load & run FPGA code, setup interrupts.

Exceptions
NiErroron NI error

Implements LSST::M1M3::SS::IExpansionFPGA.

◆ readSlot1()

void ExpansionFPGA::readSlot1 ( float * data)
overridevirtual

Read 6 float from float array indicator.

Data corresponds to Expansion FPGA slot 1 channels.

Data:

  1. current meter DC A [V]
  2. current meter DC B [V]
  3. current meter DC C [V]
  4. current meter DC D [V]
  5. current meter controllers [V]
  6. current meter lights [V]
Parameters
datafills values from indicators
Exceptions
NiErroron NI error

Implements LSST::M1M3::SS::IExpansionFPGA.

◆ readSlot2()

void ExpansionFPGA::readSlot2 ( uint32_t * data)
overridevirtual

Reads 32 bitfield of DIO status.

The reported values are:

  1. MCU - 1 Circuit breaker auxiliary contact
  2. MCU - 2 Circuit breaker auxiliary contact
  3. MCU - 3 Circuit breaker auxiliary contact
  4. Support cabinet utility outlet Circuit breaker auxiliary contact
  5. External equipment Circuit breaker auxiliary contact
  6. DC power network A redundancy module status
  7. DC power network B redundancy module status
  8. DC power network C redundancy module status
  9. DC power network D redundancy module status
  10. DC power network controllers redundancy module status DC network A power supply 1 status
  11. DC network A power supply 2 status
  12. DC network B power supply 3 status
  13. DC network B power supply 4 status
  14. DC network C power supply 5 status
  15. DC network C power supply 6 status
  16. DC network D power supply 7 status
  17. DC network D power supply 8 status
  18. DC network controllers power supply 9 status DC network LED lights power supply 11 status
  19. DC network external control power supply 12 status
  20. DC network laser tracker power supply 13 status
Exceptions
NiErroron NI error

Implements LSST::M1M3::SS::IExpansionFPGA.

◆ sample()

void ExpansionFPGA::sample ( )
overridevirtual

Writes sample request.

After sample request, measured values can be read from float array and U32 indicators.

Exceptions
NiErroron NI error

Implements LSST::M1M3::SS::IExpansionFPGA.


The documentation for this class was generated from the following files: