LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Not enough memory to complete this operation" with Shared Variable

I have a sizeable cluster (just over a megabyte on disk) that I'd like to send over a shared variable.  When I try to set the datatype of the shared variable to my cluster, I get the message "Not enough memory to complete this operation" (see attached image) and the LabVIEW dialog goes into its edit-mode state.  Is this a known issue?  Is there a size limit?
 
Thanks,
Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 1 of 4
(3,149 Views)

I don't know if there is a limit but 1 MB is huge.  Can you send it as a fixed data type (int, float)?  I have had issues with clusters and not all functions are available when you use custer for the data type.

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 4
(3,135 Views)

Yes, it seems that flattening it and using TCP or the DataSocket API is my only recourse.  I sure wish NI would test some of these things better.  If there were a specified size limit that would be one thing, but the dialog doesn't even handle large clusters properly, it simply dies.  Is there a CAR filed for this, NI?

Thanks,

Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 3 of 4
(3,119 Views)
This was reported to R&D (4EAFE6AH) for further investigation.  Thanks for the feedback!
0 Kudos
Message 4 of 4
(3,096 Views)