Assuming ChannelA has its own TimeA channel and ChannelB has its own TimeB channel as shown below:

then you can reuse those channels following the below steps to match the data length:
1. Go to the ANALYSIS panel in DIAdem
2. Select Channel Functions >> Linear Mapping
3. Interpolate channels {TimeB, ChannelB, TimeA} to create a new Linear Mapped ChannelAB, which will be the same length as ChannelA but will have the ChannelB values matching with the timestamp. If you wish to not affect the original channel data, use NOVALUE as the replacement value.

4. After you click the Calculate, there should be a new channel called LinearMapped_ChannelB created in the data portal.
Additional Information:
If ChannelA and ChannelB are waveform channels, then you can create the TimeA and TimeB channels by
1. Navigate to
ANALYSIS panel >>
Channel Functions >>
Numeric Channels <-> Waveform Channels 2. Select
Waveform channels -> Numeric channels in conversion mode
3. Select
Generate numeric channel (relative time reference) in X-part.
4. Select calculate and you should get the numeric channel of time data and XY-channel of the data channel you wish to convert.
Otherwise, you will need to create TimeA and TimeB separately for your data from scratch by using the
ANALYSIS >>
Channel Functions >>
Generate Numeric Channel.