LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can Labview send data to java script in real time?

Hi,friends:

Our Labview VI can get some position data in real time from a testing apparatus. We want use these data to animate a CAD model. We already developed the CAD model and save as VRML file. We also programmed a Java routine to send the position data to VRML. The question is how can we transfer those position data from Labview to Java script in real time or small interval and get a realtime animation of VRML model?

Thanks in advance,


ljhfdy
0 Kudos
Message 1 of 2
(2,748 Views)
> Our Labview VI can get some position data in real time from a testing
> apparatus. We want use these data to animate a CAD model. We already
> developed the CAD model and save as VRML file. We also programmed a
> Java routine to send the position data to VRML. The question is how
> can we transfer those position data from Labview to Java script in
> real time or small interval and get a realtime animation of VRML
> model?
>


The easiest approach will likely be to set up TCP communications. If
this isn't realtime enough and you are on Windows, you can see about
using the Java to COM tools from MS to wrap a Java bean with a COM
interface. At that point, LV can communcate to it using the automation
nodes. Another option would be to make a shared memory
DLL you write to
from LV and read from Java.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,748 Views)