LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with drawing barcode on a picture in Labview 21019

Solved!
Go to solution

Hello,

I have old Labview application (LV2010 32 bit)  which draws barcode on some picture (product label preview). It uses barcode font to do it.

I simply point barcode font name to "Draw text at point" for Labview library function and have a picture with my barcode.

Now I try to migrate same application fo modern platform and I use Labview 2109.

Migration is ok, but drawing barcode does not work.

The same procedure draw string of text sybmos, which is some stream of bytes.

But any office tool (Word, Excel) draw barcode when I select barcode font.

Labview 2010 does it normally too.

Labiew 2019 does not do it. 😞

What is solution for this problem?

 

Thanks in advance for any ideas.

0 Kudos
Message 1 of 4
(1,894 Views)
Solution
Accepted by topic author AnPis00
0 Kudos
Message 2 of 4
(1,862 Views)

Hi, colleagues!

 

The solution above is really working. But only in Labview environment.

I use Barcode font to print product labels on test system based on NI TestStand.

It normally worked on old systems, written in Labview 2010.

But after migration in Labview 2019 the mentioned problem was discovered.

Sorry, the solution above offers to configurate the code page in configuration file "Labview.ini".

It really works in Labiew environment.

But after build this tool in TestStand and deployment the test system on target computer this feature was lost.

Tere are no program modules which use "Labview.ini" file on target machine.

 

Are there any possibility to model behaviour of the configuration line "FontCodePageList=Barcode,1252" in "Labview.ini" file on target machine (Win10) as it was mentioned in offered solution? The target computer contais only deployed real time components for test system (TestStand and Labview RT libraries).

0 Kudos
Message 3 of 4
(1,536 Views)

Hi AnPis00,

Did you include the updated 'LabVIEW.ini' in the project with which you are creating TestStand deployment?

Also ensure that the target PC has Barcode font installed.

 

Regards,
Srikrishna


0 Kudos
Message 4 of 4
(1,498 Views)