This file contains a short information on each example, so that you can get a first impression even without LabVIEW on your computer.
- Adding two numbers and getting result back
- Demonstrates all the basics needed: Starting and stopping Julia server and ZMQ communication, encoding, sending, receiving, and decoding data using JSON-encoding
- Wiring diagram (screenshot)
- Front panel
- Accompanying Julia script
- Adding two numbers and getting result back
- Demonstrate slightly different way to get data encoded
- Wiring diagram
- Front panel
- Julia script: see 01a
- Square root
- Demonstrate error processing
- Wiring diagram
- Front panel
- Accompanying Julia script
- Printing "Hello World" in the Julia terminal window
- Wiring diagram
- Front panel
- Accompanying Julia script
- Somewhat more complex data structures with JSON-encoding
- Wiring diagram
- Front panel
- Accompanying Julia script
- Access to multiple Julia-implemented functions
- Wiring diagram
- Front panel
- Accompanying Julia script
- The same, but getting the list of available function from the server
- Wiring diagram
- Front panel
- Julia script: see 05a
- The same, but Julia server started externally (and can be on a different computer)
- Wiring diagram
- Front panel
- Accompanying Julia script
- Let Julia solve a system of linear equations, invert a matrix, and compute determinant. For this purpose send and receive a 2D and an 1D array.
- Demonstrate flattening and unflattening of numeric arrays to/from a binary format. JSON-encoded data are sent and received here, too.
- Wiring diagram
- Front panel
- Accompanying Julia script
- Solving a system of linear equations with random generated arrays of an arbitrary size (within reasonable). Comparing LabVIEW and Julia computation time.
- Wiring diagram
- Front panel
- Julia script: see 06a
- Demonstrate concurrent access to Julia server: Solving a system of equations in one loop, and computing eigenvalues in a separate one.
- Wiring diagram
- Front panel
- Julia script: see 06a
- Get a test image from Julia
- Demonstrate sending an image from Julia in binary format and unflattening it on LabVIEW.
- Wiring diagram
- Front panel
- Accompanying Julia script
Note: Julia script needs some additional packages, it is better to install them manually before actually running the test (see the script)
- Wiring diagram
- Front panel
- Accompanying Julia script
After studying the above examples you should be able to use this package for your purposes.
For the examples 09 and 10 - you may try them after installing the package on your computer.