ni / nisystemlink-clients-python

Python API for interacting with a SystemLink Server, created and supported by NI.
https://ni.com/systemlink
MIT License
10 stars 17 forks source link

Make it easy to use the clients with SystemLink client application #59

Closed santhoshramaraj closed 5 months ago

santhoshramaraj commented 6 months ago

When run on a SystemLink server, the Clients are intelligent enough to automatically pick the URI and API Key, but the same doesn't apply when the code is run on a remote system with a SystemLink client application connected to a SystemLink.

The following snippet works only when running the server

from nisystemlink.clients.dataframe import DataFrameClient
client = DataFrameClient()

image

The following snippet is required to work on the client

from nisystemlink.clients.dataframe import DataFrameClient
from nisystemlink.clients.core import HttpConfigurationManager
client = DataFrameClient(HttpConfigurationManager.get_configuration())
santhoshramaraj commented 5 months ago

Addressed as part of PR https://github.com/ni/nisystemlink-clients-python/pull/61