Could ipcBeginProcess do more than one thing but not step b

Guest
Dear All,

I want to check 5 files , and use ipcBeginProcess to knows each file
information.
I can use loop to do 5 times , but I want to know each file
information almost the same time ? (Not step by step)

Thank you,
Charley
 
chentaison@gmail.com wrote, on 03/23/09 01:07:
Dear All,

I want to check 5 files , and use ipcBeginProcess to knows each file
information.
I can use loop to do 5 times , but I want to know each file
information almost the same time ? (Not step by step)

Thank you,
Charley
Can't you just call a script with ipcBeginProcess which gets passed a set of
filenames, and returns the info for all of them?

It's rather hard to give you much advice, because your question is not very
specific.

Regards,

Andrew.
 
On 3$B7n(B24$BF|(B, $B2<8a(B10$B;~(B55$BJ,(B, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
chentai...@gmail.com wrote, on 03/23/09 01:07:

Dear All,

I want to check 5 files , and use ipcBeginProcess to knows each file
information.
I can use loop to do 5 times , but I want to know each file
information almost the same time ? (Not step by step)

Thank you,
Charley

Can't you just call a script with ipcBeginProcess which gets passed a set of
filenames, and returns the info for all of them?

It's rather hard to give you much advice, because your question is not very
specific.

Regards,

Andrew.

Hi Andrew,

I am using script file to do all ipcBeginProcess , but I want all
stdout message to each independent form , But it will only
do first ipcBeginProcess and send message to its form ,the other
script won't be continued unless the form is not displayed.
How to all stdout message to each independent form and run each
script ?
 
chentaison@gmail.com wrote, on 03/27/09 01:12:
Hi Andrew,

I am using script file to do all ipcBeginProcess , but I want all
stdout message to each independent form , But it will only
do first ipcBeginProcess and send message to its form ,the other
script won't be continued unless the form is not displayed.
How to all stdout message to each independent form and run each
script ?
I'm sorry, but I cannot fathom out what you're actually asking here. You're
probably assuming that I'm familiar with your code...

Regards,

Andrew.
 
On 3$B7n(B28$BF|(B, $B2<8a(B11$B;~(B08$BJ,(B, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
chentai...@gmail.com wrote, on 03/27/09 01:12:



Hi Andrew,

I am using script file to do all ipcBeginProcess , but I want all
stdout message to each independent form , But it will only
do first ipcBeginProcess and send message to its form ,the other
script won't be continued unless the form is not displayed.
How to all stdout message to each independent form and run each
script ?

I'm sorry, but I cannot fathom out what you're actually asking here. You're
probably assuming that I'm familiar with your code...

Regards,

Andrew.
Hi Andrew ,

procedure( QQ()

;template is a file
cmd1 = "pipo strmout template"
ipcId1 = ipcBeginProcess(cmd1 "" data1 err1 exit1 )
ipcWaitForProcess(ipcId1)
hiDisplayAppForm(form1) ;;;;; If i write this , though it will
send data1 to form1->strFeild1->value
;;But cmd2 , cmd3 & cmd4 wont be launch
until the data1 is null

cmd2 = "pipo strmout template"
ipcId2 = ipcBeginProcess(cmd1 "" data2 err2 exit2 )
ipcWaitForProcess(ipcId2)
hiDisplayAppForm(form2)

cmd3 = "pipo strmout template"
ipcId3 = ipcBeginProcess(cmd1 "" data3 err3 exit3 )
ipcWaitForProcess(ipcId2)
hiDisplayAppForm(form3)

cmd4 = "pipo strmout template"
ipcId4 = ipcBeginProcess(cmd1 "" data4 err5 exit4 )
ipcWaitForProcess(ipcId2)
hiDisplayAppForm(form4)

);pro

procedure(data1(ipc1 data1)
form1->strField1->value = data1
);pro

procedure(data1(ipc2 data2)
form2->strField2->value = data2
);pro

procedure(data3(ipc3 data3)
form3->strField3->value = data3
);pro

procedure(data4(ipc4 data4)
form4->strField4->value = data4
);pro

procedure( form1_()
hiCreateStringField(
?value ""

form1 = hiCreateAppForm(
..
..
);
);pro

procedure( form2_()
hiCreateStringField(
?value ""

form2 = hiCreateAppForm(
..
..
);
);pro

procedure( form3_()
hiCreateStringField(
?value ""

form3 = hiCreateAppForm(
..
..
);
);pro

procedure( form4_()
hiCreateStringField(
?value ""

form4 = hiCreateAppForm(
..
..
);
);pro
 
chentaison@gmail.com wrote, on 03/30/09 02:58:
On 3$B7n(B28$BF|(B, $B2<8a(B11$B;~(B08$BJ,(B, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
chentai...@gmail.com wrote, on 03/27/09 01:12:



Hi Andrew,
I am using script file to do all ipcBeginProcess , but I want all
stdout message to each independent form , But it will only
do first ipcBeginProcess and send message to its form ,the other
script won't be continued unless the form is not displayed.
How to all stdout message to each independent form and run each
script ?
I'm sorry, but I cannot fathom out what you're actually asking here. You're
probably assuming that I'm familiar with your code...

Regards,

Andrew.

Hi Andrew ,

procedure( QQ()

;template is a file
cmd1 = "pipo strmout template"
ipcId1 = ipcBeginProcess(cmd1 "" data1 err1 exit1 )
ipcWaitForProcess(ipcId1)
hiDisplayAppForm(form1) ;;;;; If i write this , though it will
send data1 to form1->strFeild1->value
;;But cmd2 , cmd3 & cmd4 wont be launch
until the data1 is null

.... lots of code snipped

procedure( form1_()
hiCreateStringField(
?value ""

form1 = hiCreateAppForm(
..
..
);
);pro
My guess (you didn't include all the code) is that you didn't pass ?dontBlock t
to the hiCreateAppForm, and so the forms are all "blocking". This means that the
hiDisplayForm (I assume that was a typo, since the function is hiDisplayForm,
not hiDisplayAppForm) will block until you OK or cancel the form - which is
presumably not what you want?

Read the documentation about blocking behaviour of the forms.

Regards,

Andrew.
 
On 3$B7n(B30$BF|(B, $B2<8a(B5$B;~(B56$BJ,(B, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
chentai...@gmail.com wrote, on 03/30/09 02:58:



On 3$B7n(B28$BF|(B, $B2<8a(B11$B;~(B08$BJ,(B, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
chentai...@gmail.com wrote, on 03/27/09 01:12:

Hi Andrew,
I am using script file to do all ipcBeginProcess , but I want all
stdout message to each independent form , But it will only
do first ipcBeginProcess and send message to its form ,the other
script won't be continued unless the form is not displayed.
How to all stdout message to each independent form and run each
script ?
I'm sorry, but I cannot fathom out what you're actually asking here. You're
probably assuming that I'm familiar with your code...

Regards,

Andrew.

Hi Andrew ,

procedure( QQ()

;template is a file
cmd1 = "pipo strmout template"
ipcId1 = ipcBeginProcess(cmd1 "" data1 err1 exit1 )
ipcWaitForProcess(ipcId1)
hiDisplayAppForm(form1) ;;;;; If i write this , though it will
send data1 to form1->strFeild1->value
;;But cmd2 , cmd3 & cmd4 wont be launch
until the data1 is null

... lots of code snipped



procedure( form1_()
hiCreateStringField(
?value ""

form1 = hiCreateAppForm(
..
..
);
);pro

My guess (you didn't include all the code) is that you didn't pass ?dontBlock t
to the hiCreateAppForm, and so the forms are all "blocking". This means that the
hiDisplayForm (I assume that was a typo, since the function is hiDisplayForm,
not hiDisplayAppForm) will block until you OK or cancel the form - which is
presumably not what you want?

Read the documentation about blocking behaviour of the forms.

Regards,

Andrew.
Hi Andrew,

I got it. It works.

Thank you,
Charley
 

Welcome to EDABoard.com

Sponsor

Back
Top