LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

mathscript using .m file

Hello all..

Iam trying to implement an .m file in math script node.

I have written an .m code of extended kalman filter in math script which has two inputs(sensor's data) and two outputs.

My question is how give my sensor's data as inputs to the script? Iam using serial communication for accessing the sensor's data.

 

 

thanks in advance..!

0 Kudos
Message 1 of 3
(5,727 Views)

 9885110417,

 

Once you have the inputs created on the left border of the node, "wire" your data in from the LabVIEW block diagram:

 

Figure3.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I hope this helps.

Message 2 of 3
(5,713 Views)

Hi you have completely mistaken me.

Iam attaching two VIs which i need to relate.

One vi is for accessing sensor's data and another one is for filtering.

Should i use the 2nd vi as sub vi for the 1st vi?

thanks in advance..!

Download All
0 Kudos
Message 3 of 3
(5,702 Views)