Showing results 1 to 4 of 4

Thread: Zenon Schedule read information in VBA

  1. #1
    Join Date
    04.06.2015
    Posts
    6

    Default Schedule read information in VBA

    Hello,
    I'm trying to read the Schedule settings of a specific Schedule Group and add the information in a string? I'm not able find a way to access the information set by the user in the runtime in a Schedule, is it possible to read it somehow. The full extent of what I want to achieve is to get all the settings within a Schedule and add them to a string something as:
    Monday_Schedule {((8:00,ACTIVE),(17:00,INACTIVE)), ((8:00,ACTIVE)),
    ((8:00,ACTIVE),(17:00,INACTIVE)), ((8:00,ACTIVE),(17:00,INACTIVE),
    (19:00,ACTIVE),(23:30,INACTIVE)), ((8:00,ACTIVE),(17:00,INACTIVE)),
    ((00:00,INACTIVE)), ((10:00,ACTIVE),(17:00,INACTIVE))}
    Last edited by cosminbutanescu : 4th March 2019 at 10:13

  2. #2
    Join Date
    27.06.2011
    Posts
    95

    Default Re: Zenon Schedule read information in VBA

    Hello,

    where exactly do you struggle?
    I would assume that you can access all properties of all events in schedules through
    Scheduler > ScheduleGroups > ScheduleGroup > Schedules > ScheduleStandardDay > SwitchingPeriods/Points > SwitchingPeriod/Point > Functions/Time/Variables

    best regards,
    Alex

     

     

     


  3. #3
    Join Date
    04.06.2015
    Posts
    6

    Default Re: Zenon Schedule read information in VBA

    Hi Alex,

    Managed to do it in the end, thank you very much for the response.


    With best regards,
    Cosmin

  4. #4
    Join Date
    04.06.2015
    Posts
    6

    Default Re: Zenon Schedule read information in VBA

    I'm back with another question, how can I return in VBA the current  Schedule group that I'm viewing in the Scheduler Control Element?
    Attached Thumbnails Attached Thumbnails Scheduler Scheduler Group.png  

Similar Threads

  1. Schedule
    By m.y in forum zenon Supervisor
    Replies: 2
    Last Post: 24th November 2015, 10:38
  2. Archives (RT) - Read batch information
    By herberto in forum VBA
    Replies: 4
    Last Post: 25th July 2011, 14:09
  3. RunTime & Schedule
    By rloureiro in forum zenon Supervisor
    Replies: 2
    Last Post: 1st April 2008, 12:10
  4. We need further information about web server on zenOn...
    By nuno_duarte in forum zenon Network
    Replies: 4
    Last Post: 18th March 2008, 18:05

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •