FNet Counter controller.
Python example: fnet_counter.py
#include <CFNetCtrl.h>
◆ ctrl_get_FTrig_count()
uint32_t isys::CFNetCounterCtrl::ctrl_get_FTrig_count |
( |
const uint8_t |
nFTrig | ) |
|
Returns value of a counter of a chosen trigger.
This counter is incremented each time trigger is injected or asserted by other networks.
- Parameters
-
nFTrig | trigger index in range from 0 to 15. |
- Returns
- uint32_t counter value
◆ ctrl_get_status()
SChannelStatus isys::CFNetCounterCtrl::ctrl_get_status |
( |
const uint8_t |
nChannel | ) |
|
Gets status for the channel.
- Parameters
-
nChannel | channel index from 0 to 3 inclusive |
- Returns
- SChannelStatus struct that holds status data for specified channel
◆ ctrl_reset()
void isys::CFNetCounterCtrl::ctrl_reset |
( |
const uint8_t |
nChannel | ) |
|
Resets the counter for specified channel.
- Parameters
-
nChannel | channel index from 0 to 3 inclusive |
◆ ctrl_reset_FTrig_count()
void isys::CFNetCounterCtrl::ctrl_reset_FTrig_count |
( |
const uint8_t |
nFTrig | ) |
|
Resets the counter for specified trigger.
- Parameters
-
nFTrig | trigger index in range from 0 to 15 inclusive |
◆ ctrl_resume()
void isys::CFNetCounterCtrl::ctrl_resume |
( |
const uint8_t |
nChannel | ) |
|
Resumes the specified channel.
- Parameters
-
nChannel | channel index from 0 to 3 inclusive |
◆ ctrl_suspend()
void isys::CFNetCounterCtrl::ctrl_suspend |
( |
const uint8_t |
nChannel | ) |
|
Suspends the specified channel.
- Parameters
-
nChannel | channel index from 0 to 3 inclusive |
◆ op()
SPOptionFNetCounterOp isys::CFNetCounterCtrl::op |
( |
| ) |
|
◆ op_qualifier_disable()
void isys::CFNetIPCtrl::op_qualifier_disable |
( |
uint8_t |
nFTrigDisable | ) |
|
|
inherited |
Disables the trigger.
- Parameters
-
nFTrigDisable | set 0 for none, 1-10 inclusive for the specific trigger |
◆ op_qualifier_enable()
void isys::CFNetIPCtrl::op_qualifier_enable |
( |
uint8_t |
nFTrigEnable | ) |
|
|
inherited |
Enables the trigger.
- Parameters
-
nFTrigEnable | set 0 for none, 1-10 inclusive for the specific trigger |
◆ op_qualifier_enable_on_start()
void isys::CFNetIPCtrl::op_qualifier_enable_on_start |
( |
bool |
bEnableFromStart | ) |
|
|
inherited |
Enables the trigger from start.
- Parameters
-
bEnableFromStart | enable recording when it occurs |
◆ op_set_qualifier()
void isys::CFNetIPCtrl::op_set_qualifier |
( |
bool |
bEnableFromStart, |
|
|
uint8_t |
nFTrigEnable, |
|
|
uint8_t |
nFTrigDisable |
|
) |
| |
|
inherited |
- Parameters
-
bEnableFromStart | recording is enabled at session start |
nFTrigEnable | set 0 for none, 1-10 inclusive for the specific trigger |
nFTrigDisable | set 0 for none, 1-10 inclusive for the specific trigger |