I am struggling selecting the appropriate VCID when generating a TC in a UDP TC Datalink, configured as described below:
dataLinks:
- name: UDP_FRAME_OUT
class: org.yamcs.tctm.ccsds.UdpTcFrameLink
host: localhost # host and port where to send the frames to
port: 10018
spacecraftId: 0x0016
maxFrameLength: 64
virtualChannels:
- vcId: 5 # VCID_MANAGEMENT
service: "PACKET"
commandPostprocessorClassName: org.yamcs.examples.erminaz.MyCommandPostprocessor
stream: "tc_realtime" # which yamcs stream to get the data from
useCop1: true # enable FOP1 (the transmitter part of COP1, see CCSDS 232.1-B-2) for this VC
clcwStream: "clcw" # the name of the stream where the CLCW is received from, mandatory if FOP1 is used
initialClcwWait: 3600 # how many seconds to wait at startup for an initial CLCW, before going to state 6(initial). If not configured or negative, start directly in state 6
cop1T1: 1
cop1TxLimit: 5
slidingWindowWidth: 50
bdAbsolutePriority: true
mapId: 0
- vcId: 2 # VCID_REQ_TM
service: "PACKET"
commandPostprocessorClassName: org.yamcs.examples.erminaz.MyCommandPostprocessor
stream: "tc_realtime" # which yamcs stream to get the data from
useCop1: true # enable FOP1 (the transmitter part of COP1, see CCSDS 232.1-B-2) for this VC
clcwStream: "clcw" # the name of the stream where the CLCW is received from, mandatory if FOP1 is used
initialClcwWait: 3600 # how many seconds to wait at startup for an initial CLCW, before going to state 6(initial). If not configured or negative, start directly in state 6
cop1T1: 1
cop1TxLimit: 5
slidingWindowWidth: 50
bdAbsolutePriority: true
mapId: 0
When generating the packets the only VCID that is "available" is the first one configured in the settings above!