At this point, you should have the following items complete.
- Keithley Datalogger firmware, script, and app installed/verified
- Registered for an Initial State IoT Streaming Account
Configure LAN settings
To send data to Initial State directly, the device must have a connection to the Internet. Make sure the Keithley instrument is connected and addressable through LAN. To check this go to Menu >> Communication >> LAN on the unit. You should see that your device has an IP Address.
Check the Time and Date Settings
Go to Menu >> System >> System Settings >> Time and Date, and set the correct time. Note, if you want to set the proper timezone for Initial State data points, there is an advanced setting to adjust the time offset. Refer to the FAQs to find information about that.
Setup a scan on the Instrument
At this point, we're just testing so any valid scan will do. Shoot for something that at least lasts a few seconds in order to experience real-time updates on your Initial State dashboard. Here is an example scan that I setup to last 30 seconds on 2 channels.
Run the Initial State App
Now you are ready to run the Initial State app. The app starts your preconfigured scan automatically and simultaneously send data to your specified Initial State account.
FIRST RUN ONLY Set Access Key
- Get your Initial State access key. Navigate to initialstate.com >> Sign in >> Account Menu >> My Settings >> Access Keys
- You need to transcribe the access key from Initial State exactly into the dialog box. The input here is case sensitive. Since I've personally done this a number of times during testing i'll give you a few hints. If you mess this up, don't worry, you can always edit your Access Key using the PRO TIP below
- MANUAL TIP - Try using the Virtual Panel. To access, type the IP Address of the instrument into the your URL bar of a browser on a computer connected to the same network. I found it a little easier to have the Access Key on the same screen as the the Keithley keyboard. You do have to use the mouse to click the keyboard buttons on the virtual panel.
- MANUAL TIP - The dialog that allows input of the Access Key dismisses itself after exactly 2 minutes (120 seconds). If you get timed out a couple of time use the PRO TIP below to set your Initial State Access Key
- PRO TIP (Editing Access Keys) - You can send access keys through a TSP commands. On a computer, go to the LXI page by typing the instrument IP address into a browser URL. On the left side of the page click "Send Command". Send the following command to the instrument:
You do need the "quotes" around the Access Key string.
You can verify that your key is set correctly by reading the Access Key back from the instrument using the following command:
Define your Bucket Name
Give your new stream a name. This is the human-readable name given to your bucket in Initial State. You can change this later in Initial State. If you choose "Default Name" the Bucket Name will be set to the scan buffer name.
Define your Bucket Key
The Bucket Key is the unique ID that routes data to a specific bucket. If you choose "Default Key," the Buckey Key will be set to a formatted date/time string. Remember you can create a bucket in Initial State and input as a "User Key" to send data to an existing bucket.
Check your Progress in Initial State from Anywhere
Once you click through Bucket Name and Key, the preconfigured scan will automatically start. Now is the time to log in to your Initial State account and see your new data coming in. You can log in from anywhere including your phone. Initial State graphs will update in real-time. You can rename the bucket if you like, start creating a dashboard, or create derived signals from math expression on the data. All of these configurations will be respected as new data comes in. Perhaps you are doing measurements that take hours or days. Check in on things to see from the comfort of your couch at home while watching Netflix :).