07-05-2007 10:11 AM
07-05-2007 10:50 AM
07-05-2007 09:25 PM
07-06-2007 09:02 AM
07-06-2007 09:38 AM
I guess my problem can be described simply by this:
I want to send commands to several COM ports simultaneously.
Also, the number of ports might vary in time, and I would like the code to adapt to the situation.
If I put the port addresses in an array and run an indexed loop, it works well but then the ports are accessed sequentially, which slows down the thing significantly. I could of course create a subVI with that part of the code and put 16 copies of it on my diagram, with some test to see if each of them is needed, based on the number of active ports, but I feel this is really not elegant.
Is there a way to code so that I can access whatever ports I need (this may change) simultaneouly?
I hope that is more clear.
Many thanks for any tip that might help me.
Cheers
07-09-2007 08:04 PM