LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insufficient buffer error in LV for running CIN matrix multiplication

We have developed a CIN for LabVIEW application in which we carry out matrix multiplication. We are able to carry out multiplication of 3x3 matrices in the LV environment using the CIN. The LV application gives error for higher order of matrices indicating insufficient buffer. However the c source code (from which the CIN  has been compiled) does not give any such error while executing higher order matrix multiplication in the C environment. How do we calculate and define the required Buffer memory in LV environment for such applications. Similar problems may arise in numerous other applications in LV environment. Pl. suggest ways and means to get over this problem.
LabVIEW 6.1 professional development system  is our platform on windows-xp. 
0 Kudos
Message 1 of 2
(2,473 Views)


@PNVK wrote:
We have developed a CIN for LabVIEW application in which we carry out matrix multiplication. We are able to carry out multiplication of 3x3 matrices in the LV environment using the CIN. The LV application gives error for higher order of matrices indicating insufficient buffer. However the c source code (from which the CIN  has been compiled) does not give any such error while executing higher order matrix multiplication in the C environment. How do we calculate and define the required Buffer memory in LV environment for such applications. Similar problems may arise in numerous other applications in LV environment. Pl. suggest ways and means to get over this problem.
LabVIEW 6.1 professional development system  is our platform on windows-xp. 


It seems strange that only a 3*3 matrix would be possible. So the conclusion is you do something wrong in your CIN. This could be some difference in the CIN parameters for the CIN node in comparison to what the CIN actually does or it could be a bug in the CIN itself most probably in the adaption of your C type algorithme to the LabVIEW datatype parameters.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 2
(2,470 Views)