LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable program performing Error 267 occurred at System Exec.vi

Dear everyone,

 

I'm having issues trying to execute an external program inside a vi using System Exec.vi!

 

Platform: Windows 10, Labview2025, NI-XNET lib

 

What the .vi do:

I'm interfacing through CAN-bus using XNET with a device to retrieve MAC address. With that MAC I would like to generate a QRcode with an external python generated exe. The program cmd is the following: 

cmd /c C:\Users\blablabla\SW_Collaudo_Inverter\qr_generator.exe --ssid EStorage_WiFi_629104 --encryption nopass --extra MACaddr:90b841629104

C:\Users\blablabla\SW_Collaudo_Inverter\qr_generator.exe --ssid EStorage_WiFi_629104 --encryption nopass --extra MACaddr:90b841629104

Both are working fine inside Windows CMD, wherever I launch them. 

 

What I tried to solve the problem:

  • I added cmd \c before the executable prog
  • I tried to pass all the string  "cmd /c C:\Users\blablabla\SW_Collaudo_Inverter\qr_generator.exe --ssid EStorage_WiFi_629104 --encryption nopass --extra MACaddr:90b841629104" to the command line pin of the System Exec.vi without using the concatenate string.vi
  • I tried to pass options "--ssid EStorage_WiFi_629104 --encryption nopass --extra MACaddr:90b841629104" to the standard input pin of the System Exec.vi
  • I already read other topics regarding this issue but unfortunately, following all advices the problem still remain. I tried to send to the System Exec.vi the path of the external program in 2 different ways: 1) Absolute path 

gcambie88_0-1758639838948.png                                                                                                                                                                                     2) using the build path.vi

gcambie88_1-1758639932495.png

 

 

Anyway I'm attaching the vi.

Any help or suggestion will be really appreciated!

 

Cheers

 

 

 

 

0 Kudos
Message 1 of 1
(58 Views)