Convert BACNet schedules/Calendar to 11.2

9 Posts
4 Users
0 Likes
50 Views
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
Topic starter
 

Hello,

Everything is said in the title.
I have done this tool for one customer. I share it with you by priding the Release + the Source (VB.Net)

Just give in input the Schedules.dat file, select what you want to convert (schedules only, calendars only, both) and run. It will generate the XML import file that you will have to import in your project.

Nico

 
Posted : 15/12/2017 1:02 pm
LM
 LM
(@l-micaudarcinfo-com)
Posts: 383
Member Admin
 

Thank you Nico but can you explain it a bit more for someone non expert?

What was the need of this customer? Migration from 11.1 to 11.2 or something else?

 
Posted : 18/12/2017 2:38 pm
BO
 BO
(@b-olombelarcinfo-com)
Posts: 196
Reputable Member
 

Hi Ludo,

This is for a migration of a BACnet project from 11.1 to 11.2

In 11.1, the BACnet schedule objects are defined in the schedule.dat file situated in C:ARC InformatiquePcVue 11.1BinWebServerExtensionsWebServicesToolkitScheduleDatabin directory.

In 11.2, these objects are defined in the varexp.dat file.

There is no tool or functionality to convert, in case of migration, the schedule.dat file and you have to configure everything manually (again) in 11.2.

To help us and the customer, NK creates the tool the convert the schedule.dat file automatically (thanks NK) to be taken in account in a 11.2 project.

 
Posted : 18/12/2017 4:03 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
Topic starter
 

Yes exactly. Thanks Brice for these explanations.

For instance, our customer here had about 2000 schedules. Re-declaring all in Application Explorer would be really a pain in the ass!

Nico

 
Posted : 18/12/2017 4:59 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
Topic starter
 

And I just realized a typo from Brice.

He said: This is for a migration of a BACnet project from 11.1 to 11.2
but the good statement is: This is for a migration of a BACnet project from 11.0 or 11.1 to 11.2

Nico

 
Posted : 19/12/2017 7:33 am
b.lepeuple
(@b-lepeuplearcinfo-com)
Posts: 149
Estimable Member
 

Thank you Nico. Really useful.

Why not publishing it in a KB article ?

Regards

 
Posted : 19/12/2017 11:18 am
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
Topic starter
 

maybe because somebody other than me has to test it before....

Nico

 
Posted : 19/12/2017 12:22 pm
BO
 BO
(@b-olombelarcinfo-com)
Posts: 196
Reputable Member
 

Hi Niko,

Is it possible to convert also the associated label ?

 
Posted : 19/12/2017 8:44 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
Topic starter
 

Yes....and No!
Actually, convert is not really the good term.
Now, fortunately, the schedule object has the assoc label as a property (in pcvue point of view). You can see it in the dialog of the Schedule in AE.

I said yes as I assumed the Assoc Label defined in the schedules.dat file is the same than the one that will be used in 11.2

Example:
From schedules.dat file:
BACSCHED,Schedule1,Schedule1_descr_L1,Schedule1_Descr_L2,My_Assoc_Label,Bac_Network,Bac_Device,Schedule_Instance,1

ASSOCLABELS,My_Assoc_Label,On/Off Sequence,On/Off Sequence L2,,,,,
ASSOCLABEL,My_Assoc_Label,0,OFF,OFF,0,1,,
ASSOCLABEL,My_Assoc_Label,1,ON,ON,0,0,,

If 'My_Assoc_Label' is defined in the varexp in 11.2 then it is OK

OK?

Nico

 
Posted : 20/12/2017 10:23 am