10-30-2008 05:34 PM
I get an "error 1 in UDP write" when executing a vi I'm working on (see enclosure). The vi writes data to a file repeatedly (inside a timed loop) and then sends it via UDP after each write. Any suggestions would be appreciated. TIA.
-jesse
10-30-2008 07:29 PM
Hi,
I can't see your code (using Open Office). Try to post a png or the vi directly.
Error 1 means, 'input invalid', so either you don't wire an open UDP connection to the UDP write.vi or you close the UDP conection before writing (in the loop).
Felix
10-31-2008 12:27 AM
Felix is correct.
You close the udp session in the first iteration, so it will be an invalid session from the second iteration on.
Place the UDP close after the while loop. See if it makes a difference. 🙂
10-31-2008 10:14 AM
thanks, Alt...your suggestion worked.
-jesse
10-31-2008 10:15 AM
Thanks, Felix.
-jesse