SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the automated agent api key

Solved!
Go to solution

Hi I want to send tags and TDMS files to my SystemLink server. I know there is an automated agent role within Systemlink server which can be used for this purpose. I want to use api key authentication but i cannot find the api key for the automated agent. How can i get access to the api key?  

0 Kudos
Message 1 of 10
(469 Views)

The SystemLink client uses the automated agent role. Once installed on your client machine and connected to the SystemLink server, you can use the Python or LabVIEW APIs to talk with the server through the SystemLink client's Automated Agent API Key.


What language do you use?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 10
(452 Views)

Hi Santo, 

 

I am using LabVIEW v20

0 Kudos
Message 3 of 10
(450 Views)

Hi Santo, 

 

I am using cRIOs connected to the systemLink server and need to add api key to send TDMS files and tags to SystemLink. How can i get the SystemLink client's Automated Agent API Key. If i leave the API key empty i get this error. 

zombae_1-1721877604227.png

P.S. I have changed the URL 

 

 

 

zombae_0-1721877551764.png

 

0 Kudos
Message 4 of 10
(435 Views)

If the cRIO is connected to SystemLink, you can leave the `configuration` unwired.

 

santo_13_0-1721879462532.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 10
(424 Views)

I am getting the same error. 

zombae_1-1721880099665.png

 

zombae_0-1721880085329.png

 

0 Kudos
Message 6 of 10
(421 Views)
Solution
Accepted by topic author zombae

Okay, I overlooked the error, does your server have a proper SSL cert? try this one, wire only the Verify Server boolean to False, leave the rest unwired.

santo_13_0-1721880650787.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 7 of 10
(417 Views)

Hi Santo, 

 

Yes it works now.

Thank you

 

But my question still is how can i get access to the Automated agent API key so i can use it systems not connected to my SystemLink server. Is the key automatically assigned when we connect using systemLink client.

0 Kudos
Message 8 of 10
(409 Views)

@zombae wrote:

Hi Santo, 

 

Yes it works now.

Thank you

 

But my question still is how can i get access to the Automated agent API key so i can use it systems not connected to my SystemLink server. Is the key automatically assigned when we connect using systemLink client.


Yes, it is generated only for the SystemLink Client only when connected to SystemLink server.

Is there a scenario where you cannot install SystemLink client to connect to the server and not username password based login for API access?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 9 of 10
(403 Views)

Hi Santo,

 

Our cRIOs have been having dropping connection to Systemlink server, we are investigating this but in the mean time i would like to use the API key auth process. 

0 Kudos
Message 10 of 10
(393 Views)