Native way to read PLC Configuration Version

Hi @mads.andersen ,

do you know the ANSL UIF?
It’s an ANSL interface that can be used in Linux (a bit like PVI DLL in Windows, but not the same interface / not code compatible).
With the function “ANSLI_CPU_GetApplicationProjectInfo” you can read out those informations needed.

But please be aware that ANSL UIF is an interface, not a program :wink: That means there’s some own coding work to do, for example developing a own little shell program…

ANSLUIF can be found in your PVI installation path in the “An\Ansl” subdirectory (for example: C:\BrAutomation\PVI\V4.12\An\Ansl), when PVI API was installed before.

I also have to mention, that at least in ANSLUIF 4.x, the above named function wasn’t documented, I found it in the ANSLUIF header file :wink:

Best regards!

5 Likes