How Can I Create XY-Channels in DIAdem Script?

Updated Jan 7, 2020

Reported In

Software

  • DIAdem 2019

Issue Details

With DIAdem 2019 the new XY-Channel functionality was released. A XY-Channel relation can be created by using the Numeric Channels <-> XY Channels function in DIAdem Analysis.

But how can I create XY-Channel Pairs using DIAdem Script?

Solution

For creating a XY-Channel Pair you need to set your time channel as XRelation for your Y-Channel. This can be done as followed:
dim oChnX, oChnY
set oChnX = Data.Root.ChannelGroups(1).Channels("Time")
set oChnY = Data.Root.ChannelGroups(1).Channels("Velocity")

set oChnY.XRelation = oChnX

WAS THIS ARTICLE HELPFUL?

Not Helpful