comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Piping SAV
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Piping SAV [message #72584 is a reply to message #72583] Thu, 23 September 2010 20:07 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Sep 23, 7:54 pm, chris <rog...@googlemail.com> wrote:
>
> Ok, thanks. Can you give an example? Or in other words :)

This may give a taste of how to do things with the bridge:

obridge=idl_idlbridge() ;make the bridge
obridge.setvar,'x',dindgen(1e6) ;put something into a var called x in
the bridge
obridge.execute,'for i=0L,3e2 do yb=cos(x)',/nowait ;do some stuff in
the bridge, asynchronously
print,obridge.status() ;find out if the bridge is done
; 1
;(do some stuff here while the bridge is busy)
print,obridge.status() ;find out if the bridge is done
; 0
y=obridge.getvar('x') ;get a variable called y from the bridge
obridge.cleanup ;destroy the bridge when done
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: NG Colorbar scaling
Next Topic: Re: Reporting 8.0 bu... er, "features"?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 16:32:12 PDT 2025

Total time taken to generate the page: 0.00232 seconds