RobotStudio event

Function to determine controller version

I know that there are functions to determine RobOS vs. VC, but is there a function to determine the version of controller?  S4, S4C+ or IRC5?  If not,could we maybe get one?  Please, pretty please with sugar on top?
Lee Justice

Comments

  • Hello,
    Have you test this:
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VAR string version;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; version := GetSysInfo(\SWVersion);
  • Rapid Tech Manual
    2.85 GetSysInfo - Get information about the system Usage

    GetSysInfo is used to read information about the system. The available information
    includes serial number, software version, software version name, robot type,
    controller ID, WAN IP address, controller language, and system name.
  • DenisFR said:
    Hello,
    Have you test this:
            VAR string version;
            version := GetSysInfo(\SWVersion);

    Why last line was not showed???
    Error on Code Format?
    You can Quote original message an see the two lines...
  • I don't think that that instruction was available in pre IRC5 controllers.  Maybe not even in early IRC5.  I am not concerned with the version, but the controller version inself.  But thank you anyway.
    Lee Justice
  • Or you can call procedures using late binding (%%)?
    Not really clean but should works.
    You can find new procedure in each release notes.