ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating new arrays

Hey folks,

 

 How can I create automatically  array using a loop and a conditional that limits the number of created arrays. I can do this using Matlab, but when I insert the code, LabView doesn't do what I want.

 

tks

0 Kudos
Message 1 of 4
(7,426 Views)

Hi,

 

Would you please attach your code?

0 Kudos
Message 2 of 4
(7,413 Views)

hlcabaleiro wrote:

LabView doesn't do what I want.


Your description is not clear enough for us to figure out what you want, either. 😄

In general, LabVIEW can do anything you want if programmed correctly. 😉

 

Do you want to conditionally built an array, e.g. append new elements, but not necessarily at each iteration?

 

In this case you would built the array in a shift register and wire actross for cases where the array should stay the same.

 

 

0 Kudos
Message 3 of 4
(7,404 Views)

Correction - no 3D and beyond N-dimensions in MathScript even with LV8.6 so not everything I guess with MathScript. For example consider stacking 2D arrays on top of each other in MathScript and performing a statistical average - no can do.

 

 

Bernardino Jerez Buenaobra
Senior Test and Systems Development Engineer
Test and Systems Development Group
Integrated Microelectronics Inc.- Philippines
Telephone:+632772-4941-43
Fax/Data: +632772-4944
URL: http://www.imiphil.com/our_location.html
email: Bernardino.Buenaobra@ph.global-imi.com
0 Kudos
Message 4 of 4
(7,379 Views)