Welcome to iraf.net Wednesday, May 01 2024 @ 05:59 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 IRAF and SAMP
   
rjvo
 08/22/2013 07:37AM (Read 1518 times)  
+++++
Active Member

Status: offline


Registered: 04/21/2007
Posts: 134
When I make "callAndWait" to IRAF via a SAMP Hub, I get immediate return to a Client while IRAF still waits doing for example: "scan x" or "implot dev$pix". Is there any method to send the "c" results of "implot dev$pix" to a SAMP Client?

 
Profile Email
 Quote
fitz
 08/22/2013 07:37AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The short answer is no. The SAMP client in this case is the CL itself and not the tasks it executes. Because tasks define their own keystrokes it would require modifying each and every task to have it appropriately respond-to or send a message. The reason you get an immediate return is that e.g. the 'implot dev$pix' command was started successfully, not that it had completed. It is probably possible to add a "wait until finished' mtype so that your call wouldn't return until the task had finished but that isn't how it currently works. Still, I'll look into it for the next release (in prep now).

 
Profile Email
 Quote
   
Content generated in: 0.06 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login