Automate

 View Only
  • 1.  Script Extension between Transaction V 10.X to Studio

    Posted 03-06-2020 22:49
    Hi All,

    we have recently migrated to Studio V 12. I was earlier using Transaction 10.7. 

    Currently we are in the Testing phase and we need to maintain the scripts in both the versions. 

    Is there any distinct changes to spot the difference between the 2 . I see the same file extension are used for Studio and tansaction TxR .

    Any other Spot check available ??


  • 2.  RE: Script Extension between Transaction V 10.X to Studio

    Employee
    Posted 03-09-2020 10:15
    Hi Vag

    You can check it by opening in Studio, then:
    - Go to File
    - Go to Save
    - See which version is displayed in the version drop down:

    In my experience, a lot of scripts will be fine between the versions, some may need to be saved as the new version (11 or above), and a few may need to be recreated (would try the save as new version first).

    Hope that helps.

    Best Regards,
    Sigrid


    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 3.  RE: Script Extension between Transaction V 10.X to Studio

    Posted 03-10-2020 10:06

    One difference I've seen is how Transaction handles the "between" function in IF statements.

    For Transaction v10.x, if you created an IF condition for, say, plants "between 4000 and 8000", the IF condition would only be carried out for plants "4001 through 7999" (not sure why the software was written to function that way, as that does not align with how the between statement works in normal SQL statements).

    In Studio, "between 4000 and 8000" would include plants 4000 and 8000.

    When converting a script from v10.x to v11, I believe the software actually changes the code, no longer using a "between" statement, but changing it to a combination of "greater then/less than" statements.



    ------------------------------
    Jeremie Dippel
    Project Engineer @ Rockwell Automation
    Wisconsin Local Wug Leader
    I'm your huckleberry.
    ------------------------------