From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a system to SystemLink for Trial

We are currently running a trial of NI Systemlink, and I am importing some data from our existing database to show some of the dashboarding capabilities.

 

When uploading the data using the LabVIEW API, I set the hostName to the PC that originally submitting the data to our existing database, but it seems that Systemlink converts it to the host name of the PC that is configured as the systemlink client.

 

Kenny_K_0-1654366192151.png

 

If I try to add a system using the HTTP API, I get an error that the minion cannot be found:

 

https://milsystemlink1/nisysmgmt/v1/register-systems

 

{
  "systemsCredentials": [
    {
      "hostname""72307-2",
      "ipAddress""10.10.10.10",
      "password""admin",
      "username""password"
    }
  ],
  "activate"true,
  "workspaces": [
    "ec920196-a5fc-4fc2-892b"
  ]
}

 

 

Are we able to add data and have it retain the proper Host Name if the system does not have the SystemLink client on it yet???

Kenny

0 Kudos
Message 1 of 3
(762 Views)

@Kenny_K wrote:

Are we able to add data and have it retain the proper Host Name if the system does not have the SystemLink client on it yet???


I also have the same Question.

But, wow, there is no any answer yet?

0 Kudos
Message 2 of 3
(25 Views)

I'm not as intimately familiar with the LabVIEW API for uploading test results as I ought to be, but I would be surprised if it was overwriting the host name provided. Under the hood, the LabVIEW API is really just a wrapper around the HTTP API to SystemLink, which treats the hostname as a simple string:

TREX_0-1713453169829.png


The only thing the client should be providing is an API key with the privileges of the "Automated Agent" role in the case that you aren't providing login credentials.

 

What version of LabVIEW are you seeing this issue with?

Cheers!

TJ G
0 Kudos
Message 3 of 3
(9 Views)