06-24-2011 09:36 AM
Hello,
I could not find in the advanced analysis library the Cross Product function.
There is an Outer Product function but it does not deliver a result consistant with the Cross Product of 2 vectors.
Is the Cross Product function missing or is it under an other name?
Thanks
Bertrand
06-27-2011 07:33 AM
Hi,
Indeed, I’ve made some research and there is apparently no function dedicated to the calculation of a cross product in LabWindows CVI, whereas one exists in LabVIEW.
You have several options though to realize this: Create a DLL (like a LabVIEW DLL) coming from another programming language which includes the cross product functionality. Make the calculus yourself inside of a subroutine. Or create an appropriate matrix and then use the “determinant” function for matrix – with a carefully selected matrix, it should give you something corresponding to the cross product.
I hope this information helps.
Best regards,
Guillaume H.
National Instruments France
06-27-2011 08:06 AM
Thank you for your answer.
In fact I made a subroutine to calculate the complex cross product I needed in my application but it would be nice to have it in a future release of CVI
Best regards
Bertrand