DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Command: ChnConvertAssignmentToText

Display all  Hide all

Command: ChnConvertAssignmentToText

Valid names: ChnConvertAssignmentToText, AssignmentChnToChn

Generates a new text channel from the assignments of the assignment channel. The values of the assignment channel and the value ranges of the assignments determine the order of the assignment texts in the text channel.

Set ChnResult = ChnConvertAssignmentToText(Y, KeepAssignmentProperties)

Input Parameters

Y Specifies the data channel containing the y-values.
KeepAssignmentProperties Specifies that the assignment channel remains when DIAdem writes the assignments into a new text channel. The default value of the variable is TRUE, so that DIAdem does not delete the assignments in the assignment channel.

Return Parameters

ChnResult Contains the result channel. ElementList <Data> type return value.
Note  The y-channel must be an assignment channel. DIAdem adds the text channel behind the assignment channel to the Data Portal and uses the channel name of the assignment channel with the extension Text.
If you want to use waveform channels in this command, follow Rule 2.3 for Calculating with Waveform Channels.

Dialog Box Call

Call SUDDlgShow("Main", ResourceDrv & "AnaAssignment")

Numeric Channels <-> Assignment Channels

Related Topics

Command: ChnConvertAssignmentToNumeric | Command: ChnConvertCartesianToPolar | Command: ChnConvertNumericToAssignment | Command: ChnConvertNumericToTime | Command: ChnConvertNumericToWaveform | Command: ChnConvertPolarToCartesian | Command: ChnConvertTextToAssignment | Command: ChnConvertTimeToNumeric | Command: ChnConvertWaveformToNumeric

Was this information helpful?