Index: trunk/ippTasks/pantasks.pro
===================================================================
--- trunk/ippTasks/pantasks.pro	(revision 18418)
+++ trunk/ippTasks/pantasks.pro	(revision 19407)
@@ -183,4 +183,22 @@
 end
 
+# Add standard arguments to the poll functions
+macro add_poll_args
+    if ($0 != 2)
+	echo "Must pass in the command of interest, and this function will supplement"
+	stop
+    end
+
+    local command
+    $command = $$1
+
+    # Only process the data with the specified label.
+    if ($?LABEL && "$LABEL" != "NONE")
+	$command = $command -label $LABEL
+    end
+
+    $$1 = $command
+end
+
 macro add_standard_args
   if ($0 != 2)
