03-10-2010 02:56 AM
For data transfer of 100M/s, I tried to create an array of 100M and will pass the pointer of the array to a C program. The C program will get the array from the pointer and write into it.
Just wonder whether big array has continously memory location. If OS or labview doesnot assign continous memory to this big array. There will be error when C program try to write into the array.
Any suggestion, thanks.
Solved! Go to Solution.
03-10-2010 03:20 AM
Arrays always have to be in contiguous memory. This is a fact for every programming language i know, so it is true for C as well as for LabVIEW.
There are ways to "emulate" contiguous memory in order to nihilate certain system contraints, but those are most often IDE-specific and therefore cannot be shared between different programming languages (or most often with immens overhead). One example for such an approach can be found here (hope the link works for everyone!).
hope this helps,
Norbert
03-10-2010 03:31 AM