You can use this example to programmatically control LabVIEW and pass data to and from LabVIEW using C#. This is the C# version of the example that demonstrates using Visual Basic to control LabVIEW and was tested with LabVIEW 6.1.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.