proc SaveCaptureFiles {serverFilePath} { # serverFilePath: This is just a temp subdirectory. # You have to know what subdirectory that you created in order to copy the file # out of the Linux API server. # Note: # saveCaptureFiles is for Linux API server # saveCapture is for Windows # # ::ixNet::OK-{kArray,{{kString,c:\Results\Port2_HW.cap},{kString,c:\Results\Port2_SW.cap}}} # ::ixNet::OK-{kArray,{{kString,captures/packetCapture/port2_HW.cap},{kString,captures/packetCapture/port2_SW.cap}}} puts "Saving capture file ..." # -strip will make it into a list return [ixNet -strip execute saveCaptureFiles $serverFilePath] } [expr $argIndex + 1]] append params " -customRepeat $customRepeat" incr argIndex 2 } default { puts "\nError ConfigFrameRate: No such parameter: $currentArg" } } } puts "\nConfigFramePayload: $params" if {[catch {eval ixNet setMultiAttribute $configElementObj/framePayload $params} errMsg]} { puts "Error: ConfigFramePayload: $params" return 1 } ixNet commit return 0 }