LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send data from Labview to C++

Solved!
Go to solution

Hi. I have a goniometer and with the use of Labview i take the measures. Now, i would like to send this measurements to exe code that i have in C++. So, Labview and c++ i want run at the same time because the measurements will be used in C++ for calculations. Any suggestions? I am new Labview user.

Thanks,

telia001

0 Kudos
Message 1 of 4
(3,021 Views)

@telia001 wrote:

the measurements will be used in C++ for calculations.


Hi,

What kind of measurements? Why can't you do the measurements in LabVIEW itself?

Mathan

0 Kudos
Message 2 of 4
(2,999 Views)

Actually i use a haptic device(HD) that the only way to use it is via C++. At first, my problem is to synchronize HD with goniometer. I have used the pc time to synchronize but the accuracy is not good. What i want to do, is when data send from labview to C++ the exe will start to execute. Another idea is to send a signal from c++ to labview so that it will be know the starting time. what i said before is to send the data of goniometer (degrees) to c++ and save them in a txt file.  

0 Kudos
Message 3 of 4
(2,996 Views)
Solution
Accepted by telia001

You could either use UDP/TCP to achieve this or perhaps you can build a dll of your LabVIEW code and use it in C++.

 

Mathan

Message 4 of 4
(2,990 Views)