Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
How to listen the signal I/O domain
hjtp
✭
In the PC SDK app. manual related about 2 ways: read value of signals & listen to signal channel.
in my application code, I add also 2 ways : one button is to read the signals once
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
one button is to start listening signal
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
all things I do is just refer to the PC SDK's user manual , but there's some problems about the code, VB.net said the wrong is here:
Dim val As Integer = digitalSig.[Get]()
I have no idea about the error, who can help me to solve this problem?
and If I want to read the signal value, is there several steps to take:
1. Search for IRC5
2. connect to specific IRC5
3.get signal
4.Start subscriptions
5.listen to the signals
6.stop subscriptions
I don't know if I understand correctly, please help me , thanks
the Dev. Environment is VB.net, this is my code .
0
Comments
-
the code is download please click the idea about error line0
-
HiI'm running your code against a virtual controller. Scanning and connecting to a controller seems to work OK but I'm a bit confused about Button4. You say that your app is reading an IO once when clicking Button 4 but for me all digital input signals are listed. Can you please tell me which button you are clicking when you receive the error. Also screen dump the error message that is displayed and attach to this post.Thanks!Lennart H0
-
Oh~~~,I'm sorry I'd made a mistake, After I changed the signal name, it's ok now, thanks!0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings