Skip to content

Latest commit

 

History

History
91 lines (74 loc) · 4.91 KB

example_descriptions.md

File metadata and controls

91 lines (74 loc) · 4.91 KB

Examples

This file contains a short information on each example, so that you can get a first impression even without LabVIEW on your computer.

01a_add_two_numbers.vi

  • 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

01b_add_two_numbers.vi

  • Adding two numbers and getting result back
  • Demonstrate slightly different way to get data encoded
  • Wiring diagram
  • Front panel
  • Julia script: see 01a

02-sqrt_with_error_processing.vi

03-without_args_and_returned_val.vi

04-nested_data_structures.vi

05a-multiple_functions.vi

05b-multiple_functions.vi

05c-multifunc_external-server.vi

06a-arrays.vi

  • 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

06b-arrays.vi

  • 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

06c-arrays.vi

  • 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

07-get-and_display_image.vi

Note: Julia script needs some additional packages, it is better to install them manually before actually running the test (see the script)

08-send-and-receive-img.vi

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.