I was looking for a toolkit to be able to R/W in a REDIS DB (http://redis.io). I found the labredis VI written by Martijn Jasperse. Based on this, I developed a toolkit offering the most common REDIS commands.
The principle of use is based on the OPEN, COMMANDS and CLOSE VIs.
The REDIS.zip file contains:
- A "Palette" folder, in which all the REDIS commands and those for the Client and Server can be found.
- A "SubVIs" folder, hosting few low level VIs.
- Redis_Example1.vi : showed in the above picture.
- Redis_Example2.vi : to access easily to all the commands (based on polymorphic VIs)
I developed some polymorphic VIs for commands related to:
- Sorted sets
and few basic functions.
This tollkit was developed on MAC, with LabVIEW 2010, for REDIS 2.8.3 and greater. It should work without any problem on Linux (partially tested) and on Windows (not tested), as it only uses simple LabVIEW functions .
To directly load a command VI (without using the Redis_Example2.vi), for example for the Keys, open the Keys-Commands.vi, from .../Palette/Redis Commands/Keys and select the sub-command to use. The input controls will automatically be adapted to the needs.
You can find all the information and knowledge about REDIS on the web site.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.