LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing data in realtime from Labview to C++

Hi everyone, I am a student trying to find a way to pass data collected
from Labview (a musical note's frequency and duration) to a C++
program. The C++ program will take the information and create a
musical score. My question is, how can I connect the 2 stages?

While labview analyzes and outputs the information, how can the C++
program recieve the labview data in real time to create the graphical
output?

The musical score needs to be updated while the actual instrument is
playing, so there isn't an option of dumping the Labview info to a
file, and reading it afterwards

Thank you so much for any help
Alex Thomas

0 Kudos
Message 1 of 2
(2,482 Views)

You need to write your C++ program as a DLL and let Labview call it.  There are several pages on NI's website that explains how Labview and DLLs interact.  Here is one of them.

Message Edited by tbob on 10-12-2006 03:05 PM

- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 2
(2,475 Views)