Assign Unique Labware Barcode to Mapping (Multiple Iterations from Sequence)

I currently have a protocol that outputs to a LIMS file via report mapping of source and target sequences.

I want to make adjustments so that non-unique “Source Position Barcodes”, mapped multiple times due to 2x transfer events, are output as unique names (by appending “A” or “B” to the Position Barcode).

I can adjust the Position Barcode by using HSLMapReport::SetElementBarcode or HSLLabwState::SetLabwareBarcode but I’m still not certain on how to create a unique barcode depending on the position within the sequence.

I feel like HSLLabwState::AddLabwareSourceBarcode might be the best function to acheive this but I’m not sure how to implement it (didn’t work on my attempts).

If anyone could point me in the right direction, I’d really appreciate it.

Assigning this to the Venus category

Are the destination positions always unique? You might be able to use something based on the destination sequence if so