NI cDAQ-9191 Firmware Upgrade, Web API Documentation, and Examples
Using the NI cDAQ-9191 Web API you to wirelessly communicate to a NI cDAQ-9191 using a standard HTTP request from a computer or mobile device. The Web API allows you to perform three interactions with the NI cDAQ-9191. This functionality is split between two uniform resource identifiers (URIs): a Configuration URI and a Data URI.
The NI cDAQ-9191 Web API uses JSON to communicate its configuration. JSON is a serial object representation format similar to XML. For more information, go to http://www.json.org.
Samples from the device are returned as binary data.
For complete details about the URIs and JSON format, refer to NI cDAQ-9191 Web API Documentation.pdf included in the NI cDAQ-9191 Web API Documentation and Examples Download.
These examples demonstrate how to access the NI cDAQ-9191 Web API from an iOS device.
Build Requirements:
In order to load the examples onto the iPhone/iPad, you must be a member of the Apple iOS Developer Program. However, the apps may be previewed in the Xcode simulator without a membership.
Run-Time Requirements:
Refer to NI cDAQ-9191 Data Display for iOS User Manual for instructions.
The chassis must be on the same subnet as your iOS device.
All the examples require a "Host Name", which is the name you configured for your NI cDAQ-9191. You can also use its IP address in this field. For more information on discovering your NI cDAQ-9191's IP address and name, refer to NI Network Browser.
Please use the NI cDAQ-9191 Mobile Device Feedback and Support Discussion Thread to post any questions, comments, bug reports, or other relevant information.