ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Printing barcodes vertically

Solved!
Go to solution

I am using the front panel of a VI to print a 4x2 label that has a barcode on it.  I am using the caption of a string indicator for the barcode.  I am using the "free 3 of 9" font for the barcode font.   The barcode runs horizontally.  This barcode contains a part number     (ei  *ALY01320U*)  I use a property node to enter the data into the caption of the string indicator.   This works great and my scanner reads the barcode correctly.  I need to have this barcode run vertically.  However when I rotate the barcode vertically and print the label the scanner will not read it.  Does anyone have a solution for this problem.

0 Kudos
Message 1 of 4
(3,666 Views)
Solution
Accepted by cmachnowski

Hi cmachnowski,

 

use a 2DPictureIndicator to draw your barcode: use the Text function with your font.

Then you can easily rotate the image by 90°…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(3,604 Views)

@GerdW wrote:

Hi cmachnowski,

 

use a 2DPictureIndicator to draw your barcode: use the Text function with your font.

Then you can easily rotate the image by 90°…


Very cool solution!

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 4
(3,578 Views)

Thanks GerdW  this works great.

0 Kudos
Message 4 of 4
(3,574 Views)