LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

while networking with labview 8.5 it gives error"not enough memory for this operation" ??

hi

i m working with the labview networking for the first time, when i ran my code it worked well 4 sometime . but after some days, it started giving error " not enoug memory for this operation" when the data reaches at 'typecast' tool (refer my code). my OS is winXP and RAM is 496MB. how to solve this problem?please reply soon .

0 Kudos
Message 1 of 3
(2,661 Views)
sory forgot to attatch the code.here it is.
0 Kudos
Message 2 of 3
(2,660 Views)

Hi JAhmed,

 

Looking at your code, there may be a memory issue with the way you are type casting the string output from your TCP Reads. Since you are type casting a string to a number or array, you are not giving an indication of how much memory to allocate for this data, and I would suggest instead using an Unflatten From String VI. Use this VI the same way as your Type Casts, but for the input that reads "data includes array or string size?" create a false constant value because your data does not include this information.

 

Regards,

Stephen S.

National Instruments
Applications Engineering
Message 3 of 3
(2,552 Views)