LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array shape transposed?

Solved!
Go to solution
Solution
Accepted by grahamwebb

Hi Grahmwebb,

 

If you are interested in viewing how MathScript sees the shape of an array variable at edit time one method might be to open the context help and hover the mouse cursor over the variable name. The context help will display the data type of the variable including a line of text if it is a column or row vector. This might be a little tedious for a large amount of variables but it will at least give you one way to effectively check the shape at edit time.

 

Context Help2.png

 

Cheers!

 

K Scott

 

Message 11 of 12
(473 Views)

My only other suggestion comes from text programming experience and is not particular to Mathscript:  use a form of Hungarian notation.  This means adding a prefix which gives the type:

 

cvSomeColumnVector or cv_SomeColumnVector

rvSomeRowVector

mSomeMatrix

 

Now the name itself should help you recognize what type the variable is.

0 Kudos
Message 12 of 12
(455 Views)