Re: Clearing a local variable after each read

2004-03-30 Thread tmh
As Mads comments, this is a perfect application for a queue (and a really bad application for a local!)

Re: Clearing a local variable after each read

2004-03-30 Thread Mads
In such a case I would skip the indicator and local and use either a que or a functional global to receive the output from the TCP function. If the TCP reads separate messages the que would be my first choice. If it just read the data as it is I would use a functional global to hold the traffic an

Re: Clearing a local variable after each read

2004-03-25 Thread ssmith490D
Dennis-- I don't see any attachments. S

Re: Clearing a local variable after each read

2004-03-25 Thread ssmith490D
The VI is generating a polling command for multiple 485 devices. The responses are received via TCP/IP. The receive WHILE loop continuously listens fro the responses. Using a LOCAL is the only to get the responses out of the loop while they're being received. Thanks for the help. Now I have to figu

Re: Clearing a local variable after each read

2004-03-25 Thread Mads
Clearing a local is the same as writing an empty string to the indicator (or another local of it in write mode). Use data flow (may need the help of a single-frame sequence e.g.) to ensure that you have read the local before you write an empty string using another local... If you have an indicator

Clearing a local variable after each read

2004-03-25 Thread ssmith490D
I want clear the value of a local variable(in this case a string) right after it's read. In this case the local is reading an indicator that's in another part of the VI.Can anyone help. Thanks in advance. S