I am passing a string to a subvi which at times (1 time in 20 perhaps)
is being corrupted.  Specifically (the last time it happened), I had a
control set to "127.0.0.1" on the front panel of the main.vi.  When
that value is passed to a control on a subvi, it appears as "127.0.0.
" on the subvi front panel, with a corresponding number of spaces for
data that is missing.  This has happened with other things as well,
part of the hostname is blanked out and then an error is returned that
<www.12345   890.com> cannot be resolved, when it should have been
www.1234567890.com  I am wondering if anyone has seen symptoms of this
before or perhaps what this type of corruption is indicative of.

To further characterize the behavior, it doesn't happen most of the
time, but when it does happen, it is repeatable.  Meaning, that if I
don't close anything or change the configuration of anything, I can
run the program over and over to reduplicate the error.  If I close
stuff or restart LabVIEW or something like that though the problem
will go away till I see it again.

The program this is part of does involve low level calls to winsock
functions which is why I'm wondering if I'm doing something wrong...
however, all functions appear to be operating normally.

Would it be possible to corrupt data in between the main.vi and when
it gets passed to the subvi, by having previously called a low level
function in a bad way?

Reply via email to