LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Matrix scaler multiplication

I'm trying to multiply a matrix by a scaler and everything works out fine in the program until I try to run it and the wire breaks. The multiplication functions also changes from matrix x scaler to scaler x scaler. I can fix it by changing any of the connections or replacing the function, but as soon as I run or save it reverts to the broken situation. I've included a before and after image and circled the function of interest in the first image.

 

Thanks a lot for any help.

 

 

goodmultiplication.JPG

 

bad multiplication.JPG

0 Kudos
Message 1 of 4
(2,602 Views)
Without even thinking about what is actually going on I'd say bag the matrix.  The array is just fine, what is the point of the converting it to and from a matrix?
0 Kudos
Message 2 of 4
(2,600 Views)

oh sweet i didn't think you could do that math with arrays for some reason. Thanks a lot.

0 Kudos
Message 3 of 4
(2,595 Views)

Still, the wire should not break, so maybe we have a bug that is worth investigating.

 

Can you make a simplified VI that still shows the same problem?

 

What kind of math are you trying to do?

0 Kudos
Message 4 of 4
(2,564 Views)