This repository has been archived by the owner on Nov 29, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of GET and SET methods in LabVIEW 2012 (forward-compatible to 2013 and 2014).
- Loading branch information
1 parent
4ca539f
commit bfaad78
Showing
6 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# LabVIEW Example for Phant # | ||
|
||
This example was created in LabVIEW 2012. | ||
|
||
Implements the GET and POST methods for Sparkfun's Phant service, available at [https://github.com/sparkfun/phant](https://github.com/sparkfun/phant). | ||
|
||
Phant configuration control allows user to enter the base URL of the service (https://data.sparkfun.com), the public key for their stream, and the private key for their stream. | ||
|
||
The **GET** method only requires the public key for the stream. Even if a stream is not "published publically", it can still be accessed using the public key. | ||
|
||
The Response Type control allows you to choose csv or json response types. LabVIEW versions 2013 and forward include a json parser function. | ||
|
||
The Page control can be used to request 50kb pages of data from the server. This value defaults to -1, which means to omit the page argument from the url and return all historical data in the stream. | ||
|
||
The **SET** method requires the public and private key. The private key is used in the HTTP header. |