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.
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.
11-12-2018 12:12 PM - edited 11-12-2018 12:20 PM
Hi Joshua,
Is there a way we can access an API to get a decimated result over a period of time?
It only gives me a 1000 samples from start timestamp, anyhow it doesn't behave as I expect. It is probably not described yet for a reason ;( , unfortunately I do need this functionality.
With the API call you posted I can't retrieve the 24-hour window I would like (too much data, 1Hz).
11-13-2018 03:10 PM
Hey Andre,
You can use the same API call that I mentioned earlier but you'll want to add one additional optional argument.
"decimation": "<# of values>"
I've also attached a modified version of the VI that I provided earlier modified to get decimated values. Again, you'll need to make sure that you replace all the appropriate strings like the server URL, username, password, and request body.
11-14-2018 02:36 AM
This works like a charm, thanks.
When will this be described as part of the public APIs?
06-28-2019 11:43 AM
Hi NI folks, thanks for all your work on this. I'm starting to use tags & messages on a "real" customer project and it looks like the SystemLink Cloud server has been upgraded to v2 API? When trying to retrieve tag history I get the following error:
06-28-2019 01:50 PM
SystemLink Cloud documentation can be viewed at https://api.systemlinkcloud.com. Both v2 and v1 can be seen there by selecting the appropriate service from the dropdown. The v2 version is the one labeled "Tag Historian Service (SystemLink Cloud)"
06-28-2019 02:54 PM
Thanks Brandon. Any idea when the LabVIEW client will be updated to v2? I tried updating it myself but there is still an error.
07-01-2019 01:01 PM
I believe it's updated in the newest version of the SystemLink API which released with SystemLink 19.0. What version do you have installed? If you're looking in NI Package Manager for it, it should be the package named "NI SystemLink Tag Support for LabVIEW 201X". To find that package, look in the 'Installed' tab with the 'Products only' checkbox unchecked.
07-01-2019 06:39 PM
Thanks for your followup, Brandon.
I have SystemLink Tag Support for LabVIEW 2019 (32-bit). Version number is 19.0.0.49152-0+f0.
There is still (at least) one VI in this package that references the v1 API.
C:\Program Files (x86)\National Instruments\LabVIEW 2019\vi.lib\Skyline\Tag\HTTP\Form URL Query History.vi
See also attached screenshot. Interestingly, the NXG version is the same in this regard.
07-03-2019 09:28 AM
I don't think that VI is used anywhere by the Skyline Tag API. I opened up all of the Tag API VIs in a project and then opened that VI up and there weren't any callers of that VI.
Are you running into errors that seem to indicate that it's still using v1 of the API?
07-07-2019 08:40 PM
Hi Brandon, did you check the History sub-palette? I'm seeing this error with Read Tag History.vi. Please see my first message in this thread for the complete call chain.