LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable mobile hotspot of PC through LabVIEW ?

Hai guys , 

I tried to enable the mobile hotspot of PC through LabVIEW , please some one help me out & suggest to solve

thanks in advance 

 

Regards 

GOBI S 

0 Kudos
Message 1 of 6
(2,016 Views)

Hi Gobi,

 


@Gobi1230 wrote:

I tried to enable the mobile hotspot of PC through LabVIEW


What have you tried?

Where are you stuck?

Mind to attach your VI?

Best regards,
GerdW


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

 I tried manually to enable mobile hotspot using cmd prompt ( creating batch file ) , its not working & I'm struck with that 

0 Kudos
Message 3 of 6
(2,006 Views)

Hi Gobi,

 


@Gobi1230 wrote:

 I tried manually to enable mobile hotspot using cmd prompt ( creating batch file ) , its not working & I'm struck with that 


Did you actually try your commands in a batch shell? Did you read the help for that netsh command?

 

Two immediate problems:

  • You need admin rights to actually set the hosted network.
  • The "KeyUsage" parameter is wrong.

(Both is explained by the netsh help text!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,003 Views)

Hai GredW,

Please Suggest some other solution & I need to enable the mobile hotspot through LabVIEW 

thanks in advance

 

0 Kudos
Message 5 of 6
(2,000 Views)

Hi Gobi,

 


@Gobi1230 wrote:

Hai GredW,


Who is "GredW"?

 


@Gobi1230 wrote:

Please Suggest some other solution


What's wrong with my last comments?

Why don't you read the help for the netsh command to learn about its options?

(There is no way around the requirements of the admin access rights…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(1,969 Views)