tilli Posted January 21, 2009 Report Share Posted January 21, 2009 hi, i am using system exce vi to execute iperf commands to cmd, i want to send many different commands from the same labview file. i have the code 2 send 5 iperf commands but only the first command is sent can any one help me with this problem i am attatching my code 1 Quote Link to comment
Antoine Chalons Posted January 21, 2009 Report Share Posted January 21, 2009 QUOTE (tilli @ Jan 20 2009, 04:14 PM) hi,i am using system exce vi to execute iperf commands to cmd, i want to send many different commands from the same labview file. i have the code 2 send 5 iperf commands but only the first command is sent can any one help me with this problem i am attatching my code Hi, I modified your VI and "factorized" it into a for loop. basically you want to do 5 time the same operation but with different argument, that's what the VI now does. Feel free to ask anything if it's hazy. Hope this helps Quote Link to comment
tilli Posted January 22, 2009 Author Report Share Posted January 22, 2009 thanks for that, the for loop works fine, the program is sending the first 5002 iperf command and then it waits for it to complete before it sends the next one, how can it keep sending the iperf command without waiting for the previous one to finish. let me know if u want anymore clarification on the problem thanks Quote Link to comment
Phillip Brooks Posted January 22, 2009 Report Share Posted January 22, 2009 QUOTE (tilli @ Jan 21 2009, 06:44 AM) thanks for that, the for loop works fine, the program is sending the first 5002 iperf command and then it waits for it to complete before it sends the next one, how can it keep sending the iperf command without waiting for the previous one to finish. let me know if u want anymore clarification on the problem Why would you want to run http://en.wikipedia.org/wiki/Iperf' rel='nofollow' target="_blank">iperf multiple times in parallel? Wouldn't that make the performance numbers for each test invalid!? (Edit: look at using the iperf '-P' modifier) Quote Link to comment
tilli Posted January 24, 2009 Author Report Share Posted January 24, 2009 i am using iperf as dummy traffic generator on my network. so to reduce the number of tcp packects on the network i have to start iperf on different port numbers,so if there is less bandwidth then less tcp traffic will be send and then easier for me to monitor. so i need a way to start many instances of iperf using labview Quote Link to comment
Wilmut Posted January 18, 2011 Report Share Posted January 18, 2011 any chance this Vi is still around? I and planning to implement something similar but could not locate the code anywhere in the repository. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.