LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

system exec.vi

i have tried to run an exectable(ex:Calc.exe - which is for system calculator) using system exec.vi..

 

 But i'm getting the error as.. Can any one know how to rectify this problm..

 

18453i512BDE8F0EB4F567

0 Kudos
Message 1 of 8
(3,963 Views)

Hi suresh,

 

it runs fine for me:

18455iBFB92C6CF2BAF759

 

You may try the command line "cmd /c calc.exe" too.

 

Edit:

Did you give the command as "calc calc.exe" as your error dialog says?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(3,958 Views)

Works fine for me.

 

See image below:

 

0 Kudos
Message 3 of 8
(3,956 Views)

Now i'm getting calculator window...

 

i have one third party exe in the name of DragonPCI.exe which do simply read and write operation

in a FPGA board..

 

when i give DrongPCI.exe in the command line it shows me the same error..

18457iA37266BFEE9A6DD2

 

the same thing is happening for acrobat reader also..

 

18459i96C077A67F6BE512

0 Kudos
Message 4 of 8
(3,948 Views)

Hi suresh,

 

when those programs aren't in the search path of Windows you have to set the complete path for the command!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 8
(3,944 Views)

Thanks dude..

 

Now i'm getting the required result..

 

Can i do i/o operations using LabVIEW on any other third party pci devices using their DLL's..

0 Kudos
Message 6 of 8
(3,938 Views)

Yes, dude.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 7 of 8
(3,935 Views)

 


@suresh-Fedlabs wrote:

 

Can i do i/o operations using LabVIEW on any other third party pci devices using their DLL's..


If you have dll's (API's), then you should use the Call Library Function Node.  Same palette as the System Exec.

 

0 Kudos
Message 8 of 8
(3,901 Views)