LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to build a inverse matrix

Hi,

I have a matrix (A). How to build the inverse matrix (A)? I am using labview 8.6

Thanks,

Khanh

0 Kudos
Message 1 of 13
(3,482 Views)

Use inverse matrix, I believe this is available in 8.6 too. http://zone.ni.com/reference/en-XX/help/371361G-01/gmath/inverse_matrix/


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 13
(3,469 Views)

Hi KPRO,

 

that's the LV2009 style:

check.png

 

See the attached VI in LV8.6…

 

Edit: Here's the link into the LV8.6 help!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 13
(3,467 Views)

Simple stuff like this is usually much more quickly answered by looking at the LabVIEW help.

 

Help->type 'inverse matrix'

Message 4 of 13
(3,446 Views)

Thank you very much. It's working now.

0 Kudos
Message 5 of 13
(3,411 Views)

Hi

Is it possible to use Linear Algebra functions in cRIO? while the cRIO is Linux based platform and it wont support dlls.

 

Thanks & Regards,

Shree

0 Kudos
Message 6 of 13
(3,025 Views)

Hi Shree,

 

yes.

 

LabVIEW will tell you about unsupported function in two ways:

- you cannot find a function in the palettes when it is not supported

- the (RTEXE) build fails with an error message about unsupported functions

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 13
(3,022 Views)

Hi GerdW,

 

thanks for the info. I tried to run a matrix function (Refer attached vi) in cRIO & Win10, the answers are different. When I run the Vi in PC, the output is TRUE and in cRIO, the output is FALSE. So, I gone through the sub vi's, i found there are different DLL functions for PC, RT target. I tried removing the Conditional diagram, but still getting the same result.

Is it any other way to replicate the same functionality as PC for RT target?

Whether cRIO supports DLL call functions? Because cRIO is Linux platform.

 

Thanks & Regards,

Shree

Download All
0 Kudos
Message 8 of 13
(3,009 Views)

Replace the  "equal" with a "subtract" and add an array indicator to see how much it differs from zero. Maybe it's insignificant. Comparing DBLs is always problematic.

0 Kudos
Message 9 of 13
(3,006 Views)

Hi,

 

I tried Subtract to find the difference. The difference is really high. I have attached the screenshot of it. I think the problem is with the DLL. Whether i can replicate the functionality AX = Y in Mathscript?

 

Thanks iun advance!

 

Regards,

Shree

0 Kudos
Message 10 of 13
(2,980 Views)