|
Re: Monitering C++ Code With A LabVEIW Dashboard
its relatively simple... as long as you know how to broadcast UDP packets in c++ (shouldnt be too bad)
basically you create a data structure that holds the data you want to send over, then you typecast it into a character array ( senddata = (char *)data ) or something like that.
once its sent, you can build an identical data structure in labview (make sure you pack it correctly in c++), unflatten it from a string (see the documentation on that vi), and shazam you now have a data structure filled with data.
im sure there may also be libraries in c++ to do complete communications with labView, allowing real time updates too, but thats basically the reverse of the process described above.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
|