Hi Nipun,
Ok, here's what I have discovered so far:
1) I'm not sure what you mean by a real-time machine, but all the vi's are built into an executable application and run on an ordinary desktop PC (Win2kPro). The error still occurs when the vi's are run through LabView though, so I don't suspect the error to be compiled-version-specific.
2) Remote Compression.vi does not seem to be the problem. I believe this to be the case because the vi's all run without problems. That is, until a TCP connection is established between the two running sessions of LabView. Previously, this has never presented a problem. Only now, with the recent changes, does making a TCP connection somehow cause a problem. To complicate this further, I ran the programs again today, and the crash occurred after 10 minutes of successful operation (with a TCP connection established and images being passed between the two computers). Could this indicate a memory leak issue, or some backlog of TCP data?
3) I have today seen conflicts in the way images are accessed. To explain, both PCs run the same vis. Each acquires images from its own Webcam. The vi's are designed to display their own images when no connection is established, or display the images received over TCP when a connection is established. After starting the programs I saw each PC displaying the images of its own webcam, then, after connection, they switched to displaying the received images. This is how they should work. Occasionally, however, images from the PC's own webcam would show on screen, indicating that (my faulty code notwithstanding) somehow the programming is able to access the IMAQ images reserved for upload. Could there be a handle problem?
This may be related to IMAQResample: Using a probe to inspect the ImageSrc and ImageDst during operation shows a discontinuity, ie the "image in" is the same as that received from the TCP connection, but the "image out" is actually that from its own Webcam. How the vi manages to intermittently switch the images is something I don't understand.
This does not explain the error though, and may be totally unrelated.
I have yet to try removing the remote compression vi from the code.
Riggy.