Share & grow the world's knowledge!
We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge.
How to monitor printers status on a network using VBscript?
Hi, Use the script in below. It uses the WScript.Network object to enumerate all printer connections on the network and check their status using the GetPrinterStatus method. On Error Resume Next ' Create a printer object Set objPrinter = CreateObject("WScript.Network") ' Get a list of all printers oRead more
Hi,
Use the script in below. It uses the
WScript.Network
object to enumerate all printer connections on the network and check their status using theGetPrinterStatus
method.The status of each printer is printed to the console.
Hope this will help.
How do I count the occurrences of all list items using python?
You can use Counter if you want to do multiple count of the list from collections import Counter list = ['Jones','Adams','Frank','John','Lopez','Jones','Smith','Ivan','Julian','Carlos','Adams','Frank','Jones','John','Ivan'] print(Counter(list)) Result: Counter({'Jones': 3, 'Adams': 2, 'Frank': 2, 'JRead more
You can use Counter if you want to do multiple count of the list
Result:
How to fix Background logic INTP-443 error with a fanuc robot?
You can't use a wait instruction in a routine called in background logic You can't call a program in a background logic. what are you trying to acheive exactly? Please explain what's the goal of your application
You can’t use a wait instruction in a routine called in background logic
You can’t call a program in a background logic. what are you trying to acheive exactly?
Please explain what’s the goal of your application
See lessIs there a system variable to check if fanuc robot is moving?
Hi, In system variables you can find this variable: $MOR_GRP[1].$ROB_MOVE To share the state of robot is moving you can use a an output in a routine executed in a background logic. For example : DO[100] = $MOR_GRP[1].$ROB_MOVE Run this program in background logic: The output DO[100] will be updatedRead more
Hi,
In system variables you can find this variable:
To share the state of robot is moving you can use a an output in a routine executed in a background logic.
For example :
DO[100] = $MOR_GRP[1].$ROB_MOVE
Run this program in background logic:
The output DO[100] will be updated and will get the robot motion status.
I hope this help you.
How I sort worksheets by alphabet using vba Excel?
hello, try this code it will help you: Private Sub CommandButton1_Click() Application.ScreenUpdating = False 'disable screen update for performance Dim i, j As Integer Dim SheetsCount As Integer SheetsCount = Sheets.Count For i = 1 To SheetsCount - 1 For j = i + 1 To SheetsCount If Sheets(j).NameRead more
hello,
try this code it will help you:
How to remove duplicate values from list in Python?
Hi, to remove duplicates from the list you can add this line before printing the list: my_list = list(dict.fromkeys(my_list)) best regards
Hi,
to remove duplicates from the list you can add this line before printing the list:
best regards
How to disable system alarm popup on alarm event in tia portal?
Hi If you do not want an system alarm pop up. Go to Screen Management -> Global Screen In this place you can delete alarm window and alarm indicator. and uplod your project to the HMI. good day
Hi
If you do not want an system alarm pop up.
Go to Screen Management -> Global Screen
In this place you can delete alarm window and alarm indicator.
and uplod your project to the HMI.
good day
See less