Obtain channel data

Forum Home Forums Understanding the Software Obtain channel data

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17511
    詹森
    Participant

    Hello, I want to obtain the length and name of the channel in the script. How can I do it?
    I see that this “public class Cnl” has the data I want, but how can I obtain it
    public Cnl GetCnlData(int channelNumber)
    {
    How can I achieve the return of “channelNumber” data in this part? Especially, I want to return the Channel Name
    }

    very thankful!

    #17514
    Mikhail
    Moderator

    Hello,
    In a channel formula, use the Channel property. It provides access to the channel properties of the current channel.
    There is no function to get properties of a channel by its number from scripts. This is available in the source code of a module.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.