LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically convert a .tui file to a .uir file

Hi,
I would like to know how to convert automatically (or with code) .tui files to .uir files.
I know it's possible by using the CVI "Options > Load from text format" tool but I have
to do that a lot of times. So i'm looking for an automated way of doing that.

Thanks for any help you can give me!
0 Kudos
Message 1 of 3
(3,963 Views)

I never attempted to do such a thing, but CVI can be operated from external applications (even from another instance of CVI!) via ActiveX. You can find some examples in samples\activex\cvi folder.

The projects listed in this folder use the LabWindows/CVI Server (cvisrvr.fp) that publishes the function CVI_AppConvertTUIToUIR that should do exactly what you are looking for. Given this, you could develop a small application that lists all TUI files in a folder and converts them to UIR format. Anyway, it must be said that fiddling with ActiveX is not the simplest task of all...



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,957 Views)
Thanks a lot for your answer, it's work perfectly Smiley Very Happy !

0 Kudos
Message 3 of 3
(3,953 Views)