LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

command line unable to write

I want to execute the command 'netsh interface set interface "Wi-Fi" enable/disable' using the System Exec VI in LabVIEW. The command prompt opens, but the command is not written. Kindly help me to solve this issue.

0 Kudos
Message 1 of 2
(290 Views)

@nithya200 wrote:

I want to execute the command 'netsh interface set interface "Wi-Fi" enable/disable' using the System Exec VI in LabVIEW. The command prompt opens, but the command is not written. Kindly help me to solve this issue.


I think this command requires Administrator privileges.  You can run LabVIEW as Administrator, or use Task Scheduler and create tasks for enable/disable, then call these tasks programmatically, or use runas command (then you will be prompted by UAC), or may be set GPO to allow to call this from non.admin environment (here not sure).

0 Kudos
Message 2 of 2
(282 Views)