Bulk Creation of Devices and Communication Lines

Forum Home Forums Understanding the Software Bulk Creation of Devices and Communication Lines

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #8828
    ibrahim.nezar
    Participant

    Hi,

    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!

    #8829
    JW
    Participant

    The 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>
    #8831
    Mikhail
    Moderator

    It’s possible to generate XML as specified above in Excel.

    #11780
    AFP
    Participant

    Hello
    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.

    #11781
    AFP
    Participant

    And when I click on “Download configuration” the .xml file reset to previous version.

    #11784
    Mikhail
    Moderator

    Hello,

    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.

    #11788
    AFP
    Participant

    I edit the file Cnl.xml using Notepad++

    #11795
    Mikhail
    Moderator

    You should reopen the project to read the changes in the tables.

    #11796
    AFP
    Participant

    Thank you Mikhail,
    This is working well

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