Contents
Cirrus Link Resources
Cirrus Link Website
Contact Us (Sales/Support)
Forum
Cirrus Link Modules Docs for Ignition 7.9.x
Inductive Resources
Ignition User Manual
Knowledge Base Articles
Inductive University
Forum
...
The control and information tags created in the folder are:
Name | Type | Description |
---|---|---|
Last Published File | String | Name of last published file |
Last Published Sequence Number | Integer | Sequence number of last published file since last reset of metrics |
Percent Completed | Byte | Publish completion percent for file being published |
Publish File | Boolean | Manual trigger to publish file |
Publish File Count | Long | Number of files published since last reset of metrics |
Publish File in Transit | String | Name of current file being published |
Publish Files Path | String | Full path to the target file to publish over MQTT |
Publish Operation Status | String | Status description of current publish operation |
Publish Operation Status Code | Integer | Status code for current publish operation |
Reset | Boolean | Trigger to reset publish metrics |
At this point, we just need to tell MQTT Transmission which file to send. Download and unzip this sample file to some location and note that location.
This sample_file.zip which contains two text files . The two text files which are:
sample_file.txt
sample_file.txt.md5
...
Note |
---|
Certain characters have special meanings when used in filenames such as "*" for wildcards, and "\" in filename paths. If a file you are trying to publish contains any of the characters listed below, it will prevent files from being written to the file system. " * : < > ? / \ | Leading and trailing spaces in filenames and filenames ending in '.' are also not supported. |
...
Note | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
When transferring any file, MQTT Transmission requires two files to be present before it will transfer the target file. The first is the file itself. The second is a file that has the same name as the target file followed by a '.md5' extension. The contents of that file must contain the Message Digest Algorithm 5 (or MD5 sum) of the file. The MD5 sum can be calculated using command line utilities on most operating systems or through scripting in Ignition. Here are some examples: Linux
OSX
Windows
Ignition Script
|
With both files in place, we can now set the 'Publish File Path' tag.
...