Answers.Body: <p>The answer is: you can't. </p>
  
  <p>The EV3 brick detects which type of sensor is plugged in to the ports by examining the electrical characteristics of the sensor<sup><a href="http://python-ev3.org/DcmDriver.html" rel="nofollow">1</a></sup>. Electrically, all NXT Analog sensors look pretty much the same, so they will all be detected at the LEGO NXT Sound sensor (or possibly the LEGO NXT Light sensor - or a very, very small chance as the LEGO NXT Touch sensor).</p>
  
  <p>So, take @momrobo's advice and write a small program that simulates the built-in port view.</p>
  
  <p>Or, if you are really ambitious you can create an adapter so that the sensor will look like an EV3 type analog sensor instead of an NXT type analog sensor. How do to this would be better suited to a blog post.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-03-03T20:19:24.877Z
Answers.LastActivityDate: 2014-03-03T20:19:24.877Z
Answers.UserDisplayName: David Lechner
Answers.Body: <p><strong><em>You Can't</em></strong></p>
  
  <p>EV3 Port view is a simple program 'downloaded as application.
  It can only use certain original sensors.</p>
  
  <p>You would have to make your own program. If you want it in the same section, you can use an option called 'download as application'.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-14T08:26:34.263Z
Answers.LastActivityDate: 2015-04-14T08:26:34.263Z
Answers.UserDisplayName: darkspine
Answers.Body: <p>instead of the live data on the port view you can make a small program which contain you sensor block and a display block and make you sensor block send its data to the text display block so you've made your own port view.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-02-27T10:31:43.693Z
Answers.LastActivityDate: 2014-02-27T10:31:43.693Z
Answers.UserDisplayName: momrobo
Body: <p>I'm trying to create a native block for a hardware sensor. I've got it working pretty well, but can't get it to show up in the "port view" as anything but a sound sensor. I really need the live view of the data the sensor is seeing. Is there an example of how this is done that I could follow?</p>
  
Tags: <ev3>
Title: Creating a native EV3B block
UserDisplayName: user3474
ThreadText: # Creating a native EV3B block
  
  (Asked by: username_0 on 2014-02-25)
  
  I'm trying to create a native block for a hardware sensor. I've got it working pretty well, but can't get it to show up in the "port view" as anything but a sound sensor. I really need the live view of the data the sensor is seeing. Is there an example of how this is done that I could follow?
  
  **Tags:** ev3
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2014-03-03. Score: 4
  
  The answer is: you can't.
  
  The EV3 brick detects which type of sensor is plugged in to the ports by examining the electrical characteristics of the sensor[1](http://python-ev3.org/DcmDriver.html). Electrically, all NXT Analog sensors look pretty much the same, so they will all be detected at the LEGO NXT Sound sensor (or possibly the LEGO NXT Light sensor - or a very, very small chance as the LEGO NXT Touch sensor).
  
  So, take @momrobo's advice and write a small program that simulates the built-in port view.
  
  Or, if you are really ambitious you can create an adapter so that the sensor will look like an EV3 type analog sensor instead of an NXT type analog sensor. How do to this would be better suited to a blog post.
  
  
  ---
  
  ### Answer by username_2 on 2015-04-14. Score: 1
  
  ***You Can't***
  
  EV3 Port view is a simple program 'downloaded as application.
  It can only use certain original sensors.
  
  You would have to make your own program. If you want it in the same section, you can use an option called 'download as application'.
  
  
  ---
  
  ### Answer by username_3 on 2014-02-27. Score: 1
  
  instead of the live data on the port view you can make a small program which contain you sensor block and a display block and make you sensor block send its data to the text display block so you've made your own port view.
  
  
  ---
  
  