Forum Home › Forums › Understanding the Software › Bulk Creation of Devices and Communication Lines
Tagged: #bulk
- This topic has 8 replies, 4 voices, and was last updated 2 years, 11 months ago by
AFP.
-
AuthorPosts
-
April 29, 2021 at 11:36 am #8828
ibrahim.nezar
ParticipantHi,
We are trying to use RapidScada for production purposes to monitor hundreds of units through Modbus TCP. As you know bulk deployment and modification is very handy when the number of devices is large.
We tried to copy the lines and devices through the configuration database but couldn’t, there is a limitation where the copy/paste works on on field only but not the entire raw in the db.
Anyone can recommend a method to do bulk creation of similar devices and lines but with difference address and call number?
Thanks!
April 29, 2021 at 12:35 pm #8829JW
ParticipantThe method I use is edit the xml files inside the yourprojectname/BaseXML folder. KP.xml is the device table; Incnl.xnl is input channel.
If you are familiar with xml, you can write a script to generate a complete xml file.
Or you can make 1 example in the configuration database first, then use a script or text editor to duplicate the lines and replace the content. then copy the lines your generated back to the xml file.
<KP> <KPNum>10</KPNum> <Name>Example</Name> <KPTypeID>214</KPTypeID> <Address>1</Address> <CallNum>127.0.0.1</CallNum> <CommLineNum>1</CommLineNum> <Descr /> </KP>April 29, 2021 at 1:10 pm #8831
MikhailModeratorIt’s possible to generate XML as specified above in Excel.
December 18, 2022 at 8:07 pm #11780AFP
ParticipantHello
When I try to edit .xml file like you said above, the new config is not added in the Administrator’s channel table after “upload configuration”.
Do you have any advice about it ?
NB: I m using version 6.December 18, 2022 at 8:08 pm #11781AFP
ParticipantAnd when I click on “Download configuration” the .xml file reset to previous version.
December 19, 2022 at 7:19 am #11784
MikhailModeratorHello,
When I try to edit .xml file like you said above, the new config is not added in the Administrator’s channel table after “upload configuration”.
Please provide more info what file do you edit and how.
December 19, 2022 at 7:35 am #11788AFP
ParticipantI edit the file Cnl.xml using Notepad++
December 20, 2022 at 11:30 am #11795
MikhailModeratorYou should reopen the project to read the changes in the tables.
December 21, 2022 at 12:45 pm #11796AFP
ParticipantThank you Mikhail,
This is working well -
AuthorPosts
- You must be logged in to reply to this topic.