TDA4VM-Q1: Use of tivxNodeSendCommand simultaneously not working

Part Number: TDA4VM-Q1

Tool/software:

Dear Sir,

With reference to the multi-graph selected camera view query, I am facing an issue related to the use of tivxNodeSendCommand simultaneously in a switch case.

For your reference:

case 'b':

channel_prms.active_channel = 2;
vxCopyUserDataObject(switch_ch_obj, 0, sizeof(tivx_select_channel_t), &channel_prms, VX_WRITE_ONLY, VX_MEMORY_TYPE_HOST);
refs1[0] = (vx_reference)switch_ch_obj;
tivxNodeSendCommand(obj->imgMosaicObj.node, 0,TIVX_SWITCH_CHANNEL, refs1, 1u);

overlay_prms.isFront = vx_false_e;
vxCopyUserDataObject(overlay_obj, 0, sizeof(tivx_overlay_select), &overlay_prms, VX_WRITE_ONLY, VX_MEMORY_TYPE_HOST);
refs2[0] = (vx_reference)overlay_obj;
tivxNodeSendCommand(obj->srvobj.Srvnode, 0,TIVX_OVERLAY_SELECT, refs2, 1u);

break;

In the above use case, the first command is for switching the camera view and the next is for the SRV to change the parking line position from the front to the back side of the vehicle. This change of parking lines is a part of the SRV code running on A72 implemented with the same logic as Selectable view.

I expected both to change simultaneously, but only the first command works; the next does not take effect. However, if I keep the second node command in a separate switch case, it happens as expected.

I tried nested switch-case, but it failed.

Could you please let me know, if simultaneous tivxNodeSendCommand is feasible in a single switch case? If yes, where am I getting wrong?

If No, Could you please suggest, how to handle this?

Thanks and Regards,

Vyom Mishra