How do the Condition flags work?
Quote from Almer on 09/01/2024, 14:41Dear Aaronia support Team,
Happy 2024!
I've considered the "Condition" term in some blocks e.g. "Binary IQ arithmetic" or any arithmetic block. these conditions usually included C0,C1,C2,C3,!C0,!C1,!C2,!C3. I tried to find out the exact meaning of these conditions by "try and test" method but it would be really appreciated if you tell me about the meaning of the conditions
Regard!
Dear Aaronia support Team,
Happy 2024!
I've considered the "Condition" term in some blocks e.g. "Binary IQ arithmetic" or any arithmetic block. these conditions usually included C0,C1,C2,C3,!C0,!C1,!C2,!C3. I tried to find out the exact meaning of these conditions by "try and test" method but it would be really appreciated if you tell me about the meaning of the conditions
Regard!
Quote from mm_dev on 10/01/2024, 09:25C0-C3 are basically just binary flags that can be set or cleared for each sample, to indicate that this sample matches some user-defined conditions (e.g. "contains values above power level X within frequency range A-B" ). They don't have a meaning by themselves. The various condition blocks can be used to define these flags, and blocks like Trigger or Alert can be used to evaluate them and for example filter a data stream to only include samples matching the defined conditions (which can potentially come from a completely different stream). You can also just monitor these flags in the Waterfall block by enabling the "View -> Conditions" option (will be visible on the right side of the waterfall itself).
You can find some usage examples in the description of the relevant blocks, e.g. https://v6-forum.aaronia.de/forum/topic/simple-trigger/
In the context of the arithmetic blocks you have the "Combine Condition" setting that determines when condition flags are set on the resulting stream (copy from a selected input stream or some boolean operator). Without setting condition flags in another block first this will usually have no effect though.
C0-C3 are basically just binary flags that can be set or cleared for each sample, to indicate that this sample matches some user-defined conditions (e.g. "contains values above power level X within frequency range A-B" ). They don't have a meaning by themselves. The various condition blocks can be used to define these flags, and blocks like Trigger or Alert can be used to evaluate them and for example filter a data stream to only include samples matching the defined conditions (which can potentially come from a completely different stream). You can also just monitor these flags in the Waterfall block by enabling the "View -> Conditions" option (will be visible on the right side of the waterfall itself).
You can find some usage examples in the description of the relevant blocks, e.g. https://v6-forum.aaronia.de/forum/topic/simple-trigger/
In the context of the arithmetic blocks you have the "Combine Condition" setting that determines when condition flags are set on the resulting stream (copy from a selected input stream or some boolean operator). Without setting condition flags in another block first this will usually have no effect though.