From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write output array results from mathscript

Hi there, i want to write the output array results from my mathscript but it turned out that only one data was written.
My question is, do i need to include a while function in my mathscript in order to output more than one data.
I have continnuos signals (array) as input for the mathscript.

 

dave

0 Kudos
Message 1 of 2
(2,078 Views)

Hmm, well you can definately output an array from a Mathscript node. My guess is you haven't configured something correctly either for the output or more likely in your script. Try looking through these:

 

http://www.ni.com/white-paper/7572/en

http://zone.ni.com/reference/en-XX/help/373123C-01/lvtextmathmain/ms_passing_data_lv_mathscript/

 

And can you post a simplified version of your Mathscript node in case there's anything obvious as to why you're not getting an array out?

 

--Ryan S.

 

0 Kudos
Message 2 of 2
(2,035 Views)