Some comments about your VI:
1. I'm not sure whether placing a dot after the IP address will work. I know it isn't necessary.
2. If you want to run up to 250, change the 254 to 249.
3. If you open a connection to 250 devices, it will take a while. If you don't, the 500 ms timeout for each one will cause this to take more than 2 minutes for all the devices.
4. Since you're also doing 30 ports for each device, this will take
an hour. You can minimize this by using a while loop and stopping when you managed to open a connection or by knowing the port in advance.
5. The devices can't react to a TCP Open if they don't have the proper programming (they have to be listening).
6. You may consider using UDP instead. It can broadcast a general call instead of calling each device personally. It should bring your detection time down to a few seconds. You will have to do some reading about UDP first.
7. The status output is T when there
is an error.
If you want to learn more about LV, I suggest you read the LabVIEW user manual. Also, try searching this site and google for LabVIEW tutorials.
Here and
here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read
the LabVIEW style guide.


Message Edited by tst on 05-19-2005 07:03 PM
___________________
Try to take over the world!