LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with writing arabic into excel

Solved!
Go to solution

How can I write arabic characters into an excel file using LV2010 ?
I've tried different ways even using "Report Generation for Microsoft Office Toolkit" but what I'm seeing in excel is not arabic characters.

There is just some strange characters ....
Please help. It's urgent

0 Kudos
Message 1 of 10
(16,837 Views)

Hi mostafi,

 

If you open the LabVIEW example finder, from the help menu, and select "toolkits and modules > Report Generation for Microsoft Office > Sample Report Excel.vi"

 

In this example if you write Arabic characters into the text box of the example and run the example do the Arabic characters appear correctly in Excel?

Regards,

Mike Altmann
Product R&D
NI
0 Kudos
Message 2 of 10
(16,817 Views)

on Windows7 (x64) , NO. Does not appear correctly  (only on XP)

I've also changed "Font Settings" in "Excel Easy Text.vi" but nothing changed

0 Kudos
Message 3 of 10
(16,810 Views)

Hi mostafi,

 

Are you using the same version of Excel on both you XP and W7 computer?  Are the same character sets installed on both computers?  It is seeming as though excel is not recognizing the character set and returning the integer value for the character.

 

Please verify these and post what you have found.

Regards,

Mike Altmann
Product R&D
NI
0 Kudos
Message 4 of 10
(16,792 Views)
Solution
Accepted by topic author mostafanfs

I know it sounds a little late !

But I found solution on windows language options setting

By changing some settings like language, format, country and ... in Control Panel

Thank you anyway

0 Kudos
Message 5 of 10
(16,744 Views)

Hello Mostafi,

 

I am developing an application with different languages including Arabic,

I am reading different languages from .Xls file.

 

Can you please GUID me how did you configure Arabic.

 

tejaskumar Patel

0 Kudos
Message 6 of 10
(16,634 Views)

Hi Mr_Tejaskumar,

 

It's my understanding that you're trying to read in a string that represent multiple languages from an excel file.  

Could you give us some more specifics on your issue? What do you mean by configure Arabic?

 

Regards,

 

Tim-C

TimC
National Instruments
Applications Engineer
0 Kudos
Message 7 of 10
(16,594 Views)

Mr_Tejaskumar, ...

 

What is it exactly you want to know?

I didnt want to read anything. I just wanted to write something in an Excel file which some of characters were in Arabic. At first when I opened Excel file it was kind of strange. So what I did was reconfigure Windows Language Settings ("Change System Local" in "Region and Language" window) into Arabic. After a Restart, LabVIEW handled Arabic characters pretty well. Thats all. 
So whats your problem ?

0 Kudos
Message 8 of 10
(16,584 Views)

Hello Mostafi,

 

I already tried this, but its gives me ??????? Such character

 

MFG

Kumar

0 Kudos
Message 9 of 10
(16,537 Views)

Hi Kumar,

 

I'm not sure which characters exactly you are using in your Excel file, but this document may help:

https://decibel.ni.com/content/docs/DOC-10153

 

By default LabVIEW is setup to use UTF-8, which may be why you don't get a correct encoding for some of those characters when you read them.

0 Kudos
Message 10 of 10
(16,526 Views)