# How to listen the signal I/O domain

**URL:** <https://tech-community.robotics.abb.com/t/how-to-listen-the-signal-i-o-domain/3861>\
**Category:** Developer Tools\
**Created:** [October 18, 2010, 4:11am UTC](https://tech-community.robotics.abb.com/t/how-to-listen-the-signal-i-o-domain/3861 "2010-10-18T04:11:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/system/32/6_2.png) [@system](https://tech-community.robotics.abb.com/u/system)\
**Post date:** [October 18, 2010, 4:11am UTC](https://tech-community.robotics.abb.com/t/how-to-listen-the-signal-i-o-domain/3861/1 "2010-10-18T04:11:06Z")

</div>

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](http://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](http://VB.net), this is my code .

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/system/32/6_2.png) [@system](https://tech-community.robotics.abb.com/u/system)\
**Post date:** [October 18, 2010, 4:12am UTC](https://tech-community.robotics.abb.com/t/how-to-listen-the-signal-i-o-domain/3861/2 "2010-10-18T04:12:15Z")

</div>

the code is download please click the idea about error line

---

<div class="post-metadata">

**Author:** ![Lennart\_H](https://avatars.discourse-cdn.com/v4/letter/l/ac91a4/32.png) [@Lennart\_H](https://tech-community.robotics.abb.com/u/Lennart_H)\
**Post date:** [October 18, 2010, 12:23pm UTC](https://tech-community.robotics.abb.com/t/how-to-listen-the-signal-i-o-domain/3861/3 "2010-10-18T12:23:36Z")

</div>

Hi  
I’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!

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/system/32/6_2.png) [@system](https://tech-community.robotics.abb.com/u/system)\
**Post date:** [October 18, 2010, 5:16pm UTC](https://tech-community.robotics.abb.com/t/how-to-listen-the-signal-i-o-domain/3861/4 "2010-10-18T17:16:45Z")

</div>

Oh~~~,I’m sorry I’d made a mistake, After I changed the signal name, it’s ok now, thanks!
