11-06-2019 01:00 AM
We are using a CompactRIO 9047 as part of a larger hardware deployment. The rest of the system is managed using an "Infrastructure as Code" approach and we are generally trying to use Linux wherever possible. I was keen to investigate if I could make use of the nisyscfg C API to reimage our device rather than relying on the GUI RAD tool so that we can provision it in a similar manner to our other linux systems. I installed the nisyscfg library from here http://www.ni.com/download/ni-linux-device-drivers-2019/8283/en/ into a centos 8 docker container and with a little fiddling and patching was able to get python bindings for the functions I needed (https://github.com/tkrebes/nisyscfg-python). When I try to call NISysCfgSetSystemImageFromFolder2 on a remote session I get the return code -2147220364 "Command is not supported by given protocol".
I just wanted to confirm, is nisyscfg only partially implemented on linux hosts? Or is there likely an issue with my installation? I don't need to use docker, that was just a quick way to get a Centos 8 environment. If this is something that should work I can provide more details to reproduce.
10-13-2020 11:15 PM
singulariti-ed, you might be encountering a library loading problem. To clarify some things,
Thanks.