‎05-03-2017 12:04 AM
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
Solved! Go to Solution.
‎05-03-2017 12:26 AM
@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
‎05-03-2017 12:37 AM
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.
‎05-03-2017 12:46 AM
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