From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VIs Strings:Import Method Error :1073 !!

Solved!
Go to solution

Hi,

I want to import strings of vi with  VIs Strings:Import Method as you see,

I have two texts, I want to import them in this method but I get this error,

2.png

I have this problem , 

1.jpg

System is in french but the type of error is:

3.png

 thank youuu,

 

0 Kudos
Message 1 of 3
(2,899 Views)
Solution
Accepted by topic author imadouino

The error message is pretty obvious. You can't execute this method from the VI on which you want to change the text strings. Instead you have to implement a loader which loads the VI into memory, executes the import method on that VI and only after that opens the frontpanel and starts it.

 

Or you can buy a toolkit (for instance this one) which implements the whole importing of strings by using VI scripting on every control in the front panel.

 

Or as third option you can write that yourself, but it is a very tedious work to support every possible control type in LabVIEW and translate all possible text parts in each control.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(2,863 Views)

You can make me a example in VI please ? 
thank you ,

0 Kudos
Message 3 of 3
(2,853 Views)