File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040while (concore2 .simtime < concore .maxtime ):
4141 #while concore.unchanged():
4242 # u = concore.read(concore.iport['U1'],"u",init_simtime_u)
43- command_list = []
43+ command_list = paired_transmitter . get_incoming_requests ()
4444 while len (command_list )== 0 :
4545 time .sleep (.01 )
4646 command_list = paired_transmitter .get_incoming_requests ()
5656 old2 = concore2 .simtime
5757 while concore2 .unchanged () or concore2 .simtime <= old2 :
5858 ym = concore2 .read (concore .iport ['Y2' ],"ym" ,init_simtime_ym )
59+ ym = [concore2 .simtime ]+ ym
5960 print (f"Replying to { command .action } with { ym } " )
6061 paired_transmitter .reply_to_command (
61- request_id = command .request_id , payload = [ concore2 . simtime ] + ym )
62+ request_id = command .request_id , payload = ym )
6263 else :
6364 print ("undefined action" + str (command .action ))
6465 quit ()
You can’t perform that action at this time.
0 commit comments