no connection from parport.0.pin-10 to the halpin

More
27 Dec 2010 12:32 #6261 by sebastian1933
I cann´t display a 5V signal from the parport.0.pin-10-in on the HAL-Scope in Axis.

The .hal -file contains:
net din-00 <=parport.0.pin-10-in.

On HalScope the ch.1 ist the configuret as parport.0.pin-10-in, ch.2 as din-00 and for testing HalScope I switched the ch3 to xdir.

I can see the changes from xdir on ch.3 but on ch1 and 2 I see nothing.
The pin 10 on the Parport has a LED for checking the signal after the button.

What can I check?

Please help

great Thanks Sebastian.

PS.: Antworten auch gerne auf deutsch...

Please Log in or Create an account to join the conversation.

More
27 Dec 2010 13:44 #6263 by BigJohnT
The easiest way to check a HAL pin is with the Show HAL Configuration from the Machine menu in Axis. Select the Watch tab and add the pins you want to monitor.

www.linuxcnc.org/docview/html/hal_basic_hal.html

If your wanting to see some real time pulse then HalScope is the one to use but a bit more difficult to understand and set up.

www.linuxcnc.org/docview/html/hal_tutori...orial%20-%20Halscope

John

Please Log in or Create an account to join the conversation.

More
27 Dec 2010 14:12 #6266 by andypugh
sebastian1933 wrote:

I cann´t display a 5V signal from the parport.0.pin-10-in on the HAL-Scope in Axis.


Do you have the parallel port read function attached to a running realtime thread? ie:

addf parport.0.read base-thread

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum