LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linking an executable inside LabView

Hi there,
I have a small DOS-based executable program that I want to use inside one of my LabView programs. To do this, I'm attempting to use a Code Interface Node or a Call Libaray Function. However, it seems as if both of these require the source code (that I do not have). Is there a way to do this then? Just link the executable? Thanks.
0 Kudos
Message 1 of 3
(2,788 Views)
It sounds like you just want to run the DOS program as if you were running it from the DOS prompt.

Try using System Exec.vi located on your Communications function palette to call DOS program. You'll need to format the DOS command to execute the program.

Hope that helps.

Shan Pin Koh
Message 2 of 3
(2,788 Views)
Perfect answer. Thanks. It worked like a charm.
0 Kudos
Message 3 of 3
(2,788 Views)