Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
SnCommWinUsb.h@116:8099b754fbb4, 2016-05-03 (annotated)
- Committer:
- uci1
- Date:
- Tue May 03 02:01:35 2016 +0000
- Revision:
- 116:8099b754fbb4
- Parent:
- 84:80b15993944e
One program for all stns via UID/MAC lookup table or generation. Status sends number trg/evt and livetime, not rates. Add 512 sample evt and RFFT-LUTs. Add L1Scaledown trg bit. Allow skip SST reset at start. Fix dt at end of seq. End of comm signal.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
uci1 | 37:ff95e7070f26 | 1 | #ifndef SN_SnCommWinUsb |
uci1 | 37:ff95e7070f26 | 2 | #define SN_SnCommWinUsb |
uci1 | 37:ff95e7070f26 | 3 | |
uci1 | 37:ff95e7070f26 | 4 | #include "SnCommWin.h" |
uci1 | 37:ff95e7070f26 | 5 | |
uci1 | 37:ff95e7070f26 | 6 | class SnCommWinUsb : public SnCommWin { |
uci1 | 37:ff95e7070f26 | 7 | private: |
uci1 | 37:ff95e7070f26 | 8 | |
uci1 | 37:ff95e7070f26 | 9 | |
uci1 | 37:ff95e7070f26 | 10 | public: |
uci1 | 41:d6f5e2f09e07 | 11 | SnCommWinUsb(COMM_SERIALTYPE* cpu); |
uci1 | 37:ff95e7070f26 | 12 | virtual ~SnCommWinUsb() {} |
uci1 | 37:ff95e7070f26 | 13 | |
uci1 | 37:ff95e7070f26 | 14 | virtual SnConfigFrame::EDatPackBit GetCommType() const { |
uci1 | 37:ff95e7070f26 | 15 | return SnConfigFrame::kUSB; |
uci1 | 37:ff95e7070f26 | 16 | } |
uci1 | 37:ff95e7070f26 | 17 | |
uci1 | 84:80b15993944e | 18 | virtual ECommWinResult OpenWindow(const bool sendStatus, |
uci1 | 84:80b15993944e | 19 | const SnConfigFrame& conf, |
uci1 | 84:80b15993944e | 20 | const SnPowerFrame& pow, // com win power |
uci1 | 84:80b15993944e | 21 | const SnEventFrame& stEvent, |
uci1 | 84:80b15993944e | 22 | const uint16_t seq, |
uci1 | 116:8099b754fbb4 | 23 | const uint32_t numThmTrigs, |
uci1 | 116:8099b754fbb4 | 24 | const uint32_t numSavedEvts, |
uci1 | 116:8099b754fbb4 | 25 | const float seqlive, |
uci1 | 84:80b15993944e | 26 | const uint32_t powerOnTime, |
uci1 | 84:80b15993944e | 27 | const SnTempFrame& temper, // com win temp |
uci1 | 84:80b15993944e | 28 | char* const genBuf, |
uci1 | 84:80b15993944e | 29 | const uint32_t timeout_clock); |
uci1 | 37:ff95e7070f26 | 30 | |
uci1 | 37:ff95e7070f26 | 31 | }; |
uci1 | 37:ff95e7070f26 | 32 | |
uci1 | 37:ff95e7070f26 | 33 | #endif // SnCommWinUsb |