Error -251251 When Connecting to SystemLink Server in LabVIEW

Updated Sep 10, 2024

Reported In

Software

  • SystemLink Server
  • LabVIEW
  • LabVIEW SystemLink Toolkit

Issue Details

  • I'm using the LabVIEW SystemLink Toolkit to open a HTTP connection to my SystemLink Server, but my VI always errors with -251251. What causes this?
  • When using the NI Skyline Open Configuration (HTTP) VI to connect to my SystemLink Server, I always receive the below error. How can I fix this?
Error -251251
NI Skyline Configuration Library.lvlib:Initialize From Auto Configuration.vi:4270001<ERR>
Unable to open configuration. 'secure only' was specified but the server is configured for non-local access over 'http'.

Solution

This error occurs when your SystemLink Server is configured to use HTTP, but the Open Configuration VI is attempting to use HTTPS.
To resolve this error, change the HTTPS only? input of the Open Configuration VI to False.

Open Configuration.PNG

Additional Information

You can configure whether SystemLink Server uses HTTP or HTTPS by launching the NI Web Server Configuration app and selecting the HTTPS tab.

NI Web Server HTTP.PNG