NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Enable/disable Comport from PC using Testsand/Labview

I would like to do, Re-scan method in Teststand
Tasks:
1. want to see all connected comports
2. Then I will selelct which component I need to disable/eject.
3. Then again, I will install that disabled comport.
4. Again, I want to see all connected Comport

Please guide me through it, if you have a solution

0 Kudos
Message 1 of 5
(390 Views)

This is no particular TesStand issue….

 

from what you describe, you might want to check MS Pnputils from TestStand 

0 Kudos
Message 2 of 5
(387 Views)

Thank you for the reply,

Could you please let me know how I can do that? Any link/ reference or short description? 

I have never worked with Ms Pnputils

0 Kudos
Message 3 of 5
(381 Views)

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA0VU00000006zt0AA&l=de-DE

gives a brief introduction. Though this article refers to USB devices, most of it is applicable for COM interfaces as well.

 

I recommend exploring this to learn from it.

0 Kudos
Message 4 of 5
(354 Views)

As stated previously, this is not exactly TestStand's purpose.

 

If I understand correctly, you have an issue with your drivers getting corrupted throughout the sequence you're running? If so, it would be more beneficial to look for the root-cause of your drivers getting corrupted.

0 Kudos
Message 5 of 5
(323 Views)