Jump to content


Photo
- - - - -

system exce.VI


  • Please log in to reply
5 replies to this topic

#1 tilli

tilli

    Are we there yet?

  • Members
  • 5 posts

Posted 21 January 2009 - 01:35 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



#2 Antoine Châlons

Antoine Châlons

    The 500 club

  • Members
  • PipPipPipPipPip
  • 589 posts
  • Location:France
  • Version:LabVIEW 2012
  • Since:1999

Posted 21 January 2009 - 01:45 PM

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


____________________________
most boring end of the world ever!


#3 tilli

tilli

    Are we there yet?

  • Members
  • 5 posts

Posted 22 January 2009 - 10:05 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

thanks



#4 Phillip Brooks

Phillip Brooks

    The 500 club

  • Members
  • PipPipPipPipPip
  • 749 posts
  • Location:Boston, MA
  • Version:LabVIEW 8.6
  • Since:1999

Posted 22 January 2009 - 11:12 AM

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 iperf multiple times in parallel?

Wouldn't that make the performance numbers for each test invalid!?

(Edit: look at using the iperf '-P' modifier)


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T


#5 tilli

tilli

    Are we there yet?

  • Members
  • 5 posts

Posted 24 January 2009 - 01:10 PM

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



#6 Wilmut

Wilmut

    One hit wonder!

  • Members
  • 1 posts
  • Version:LabVIEW 2009
  • Since:2007

Posted 18 January 2011 - 05:12 PM

any chance this Vi is still around? I and planning to implement something similar but could not locate the code anywhere in the repository.