LabVIEW output to be written in a PICC card using RC522

Hi guys, i just want to ask how can i make a variable input for my arduino rc522 where i can write the output from my LabVIEW program. My LabVIEW program reads the data that the barcode scanner sends to it. It will then send the data to the arduino, i already made a LabVIEW program for sending of data to arduino but it seems not to be working. I just want to ask some help how can i make my input in arduino variable instead of fixed. Thanks!

but it seems not to be working.

You must have some code on the Arduino that is doing something you don't expect, or not doing something you expect it to do.

You haven't shared that code, and this isn't the Labview forum, so help seems unlikely.