Command: ChnEventInvalidValues
- Updated2024-09-12
- 3 minute(s) read
Command: ChnEventInvalidValues
Command: ChnEventInvalidValues
Checks whether a channel contains values (NoValues).
Input Parameters
| XW | Specifies the data channel containing the xw-values. |
| Y | Specifies the data channel containing the y-values. |
[ChnEventBeginIndex] |
Specifies the line number from where DIAdem checks the values of the data channel. The default value is 0 which means that DIAdem checks the values from the first row. |
[ChnEventEndIndex] |
Specifies the line number up to which DIAdem checks the values of the data channel. The default value is 0 which means that DIAdem checks the values up to the last row. |
[ChnEventMaxResultCount] |
Specifies the maximum number of result values. The default value is 0 and means that DIAdem uses all result values. |
Return Parameters
| ReturnValue | A return value is a two-dimensional array containing the extended search results. Refer to Result of the Event Search for a detailed description of the array. Use the variables ChnEventList1, ChnEventList2, or ChnEventResultList as the return value of this function, or define your own variable. |
Examples
The following example searches for the areas in which the values of the [1]/[2] channel are invalid. As a result the example returns an Event/EventStatus channel which always contains the value 1, if the values of the second channel of the first group are invalid. Otherwise the result channel contains the value 0.
| VBScript | Python |
ChnEventResultList= Null ChnEventResultList = ChnEventInvalidValues(, "[1]/[2]") Call ChnEventCreateStatusChn("Event/EventStatus", ChnEventResultList, "[1]/[2]", 0, 1)
Related Topics
Command: ChnEventCompareChnEQ | Command: ChnEventCompareChnGE | Command: ChnEventCompareChnGT | Command: ChnEventCompareChnLE | Command: ChnEventCompareChnLT | Command: ChnEventCompareChnNE | Command: ChnEventCopyValues | Command: ChnEventCount | Command: ChnEventCreateFilteredChn | Command: ChnEventCreateFilteredFalseChn | Command: ChnEventCreateFilteredTrueChn | Command: ChnEventCreateStatusChn | Command: ChnEventCreateXYChannels | Command: ChnEventDetectionDifference | Command: ChnEventDetectionEqualStr | Command: ChnEventDetectionInStr | Command: ChnEventDetectionSlope | Command: ChnEventDetectionWindow | Command: ChnEventDuration | Command: ChnEventFilter | Command: ChnEventFind | Command: ChnEventGate | Command: ChnEventOperationAND | Command: ChnEventOperationEventIncluded | Command: ChnEventOperationNOT | Command: ChnEventOperationOR | Command: ChnEventPatternFind | Command: ChnEventResultAddPrePost | Command: ChnEventSampleCount | Command: ChnEventSort | Command: ChnEventStatArithMean | Command: ChnEventStatMax | Command: ChnEventStatMin | Command: ChnEventStatRange | Command: ChnEventStatStandardDeviation | Command: ChnEventStatSum | Command: ChnEventStatValueCount | Command: ChnFind | Command: ChnFindReverse | Result of the Event Search

