LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to work in diferents sequences...

Solved!
Go to solution

Sorry about the late reply.  It appears others have beat me to it.  Also, I too misunderstood what your real problem was.  It's with the timing, correct?  Can you post your code?

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 11 of 71
(896 Views)

@alan4 wrote:

 

PC2: from sec 0--> 10ms, read information from the PC1

        from  10ms--> 20ms, send information TO PC1

        from 20ms-->32ms, wait the start again doing this buckle

 

I THINK YOU WILL UNDERSTAND..IF YOU DON'T TELL ME AND I WILL TRY TO EXPLAIN IT BETTER...

 

THANK YOU!!

 

 


What does "wait the start again and doing this buckle" mean?  What is "buckle"?

0 Kudos
Message 12 of 71
(891 Views)

"Wait, then go back to start and loop around"

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 13 of 71
(888 Views)

good morning...

here yoy have my code,

 

i use the same code for two pcs only i change the ip number...

 

the problem is that both computers are sending info in the same time so,they can not read in correct time...

so what can i do to correct this?

 

i think that giving times to every action will be the solution!!

 

what do you think!!

 

 

thanks for give me your help!!

 

 

0 Kudos
Message 14 of 71
(872 Views)

First you can reduce the complexity of your code by getting rid of the sequence structure, it's not needed.  What are you using for timing?  Which PC is the host?

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 15 of 71
(866 Views)

hi

 

i am using the same programm in both pcs...

i need timing because the pc gives information every 32ms...so i need to read it and send it to the othe pc...

 

and afther that i need to read information..so i think is quite hard...to explain also...i f you don not understand tell me and i explain it again more propperly!!

 

thanks!

0 Kudos
Message 16 of 71
(863 Views)

@alan4 wrote:

 

the problem is that both computers are sending info in the same time so,they can not read in correct time...

so what can i do to correct this?

 

 


What do you mean by this, they cannot read in correct time?

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 17 of 71
(860 Views)

i am saying that  i use datasockets and if both pc are sending info same time, they can not read it properly the information is giving by the other opc..so i think thta i need to do sequencialii first one read the other send, second ...

0 Kudos
Message 18 of 71
(858 Views)

i have just done this, but i have an error colud you help me please??

 

 

 

0 Kudos
Message 19 of 71
(844 Views)

State the error.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 20 of 71
(834 Views)