Labview can do some very limited mathematics. Therefore one has to use an external software as Matlab. However Matlab is not free, so if you want to make a measurement program and use it on many computers, you need multiple licences or expensive server licence. And Labview to Matlab interface is not the best one. Or you can use GNU Octave - open source and free software with almost the same syntax as Matlab, and similar capabilities and speed. Unfortunately Octave is not directly supported by NI. In Linux, you can use comfortable pipes to interface GNU Octave. Unfortunately Windows pipes are still missing in Labview. Some old pipes implementation exist but not really working in new Labview versions. So GOLPI (Gnu Octave to Labview Pipes Interace) was created.
GOLPI works as a device. You initialize it, sends values or commands into, reads variables or outputs, repeat as you like, if you are finished you quit it.
Pipes (stdin and stdout) are used for communication to and from GNU Octave.
Polymorphic VI for reading a value of a variable (by means of stdout or temporary file for large amount of data).
Polymorphic VI for seting a value to a variable (by means of stdout or temporary file for large amount of data).
Can check if GNU Octave is still running.
Debug mode can store all communication going through pipes.
Debug console can be shown to view ongoing communication.
3 examples included.
Tested on several versions of GNU Octave in Windows.