LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extended precision complex in mathscript node

Hello,

 

I have a big formule containing complex numbers that I want to calculate in labview. The mathscript node offers a simple way of adding formula's and can work with complex numbers. However, I need extended precision complex nubmers, which is available outside the node but not in the node.

 

My question, is it possible to let the node work with extended precision or is there a work around? I don't feel much for clicking my way with + and - blocks through the whole formula. Any other advice is also welcome! 

 

 

Best regards and tanks for your time,

Niels 

0 Kudos
Message 1 of 3
(2,719 Views)

Hey,

 

No, there is no Extended Complex Precision Number possible within the MathScript node, only Double Complex Precision.

So either you try to be happy with DBL or you implement it in LabVIEW, which is anyway faster then using the MathSript node.

 

Christian

0 Kudos
Message 2 of 3
(2,696 Views)
Hello Niels,

Christian is correct in that up to LabVIEW 8.6, LabVIEW MathScript did not have support for extended precision complex data.  However, with the new LabVIEW 2009 MathScript RT module, you can wire in an extended precision complex variable and use it within the node.

As you may know, MathScript is implemented on top of LabVIEW.  Consequently, certain functions in LabVIEW that do not work on extended precision complex data (e.g. AAL functions) will also not work in MathScript.  The basic arithmetic operators and array indexing should work without a problem.

We also made many run-time performance gains with the new MathScript RT module.  A lot of scripts will now run with comparable speed to a native LabVIEW implementation.

Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments
Message 3 of 3
(2,682 Views)