G
girish
Guest
Is it possible to pass the value of a "variable" to the child process'
stdin using ipcWriteProcess()?
I am calling a child process inside a loop and would like to pass the
iteration number down to it.
for example, below is a portion of my OCEAN script:
while( i<5
id=ipcBeginProcess("ipc_test1")
ipcWriteProcess(id "***") ;*** I'D LIKE TO WRITE THE VALUE OF i HERE
ipcWait(id)
run()
selectResult( 'tran )
ocnPrint(?output myPort i("/Ipwl/PLUS"))
plot(getData("/Ipwl/PLUS") getData("/Vr") )
i++
)
ipcWriteProcess() seems to accepts only strings. Is there some other
function that will allow me to pass the value of variables? I have
just started with SKILL, so any pointers will be greatly appreciated.
Thanks.
Girish.
UVA
stdin using ipcWriteProcess()?
I am calling a child process inside a loop and would like to pass the
iteration number down to it.
for example, below is a portion of my OCEAN script:
while( i<5
id=ipcBeginProcess("ipc_test1")
ipcWriteProcess(id "***") ;*** I'D LIKE TO WRITE THE VALUE OF i HERE
ipcWait(id)
run()
selectResult( 'tran )
ocnPrint(?output myPort i("/Ipwl/PLUS"))
plot(getData("/Ipwl/PLUS") getData("/Vr") )
i++
)
ipcWriteProcess() seems to accepts only strings. Is there some other
function that will allow me to pass the value of variables? I have
just started with SKILL, so any pointers will be greatly appreciated.
Thanks.
Girish.
UVA