Go to Post I hope you realize that by starting this thread you have earned yourself a permanent place at the "WOEWITWISTFT" ("What On Earth Was I Thinking When I Started THAT FIRST Trend?") table. It's members are few, but the conversation is the most honest and amusing in the entire place. ;) - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 21-02-2012, 02:13
qwertyhunk qwertyhunk is offline
Registered User
FRC #2950
 
Join Date: Feb 2012
Location: Waco, TX
Posts: 1
qwertyhunk is an unknown quantity at this point
Question Banner Ultrasonic Sensor Q18 NPN programming issue

I have discovered a problem while trying to program the q18 sensor (http://www.bannerengineering.com/en-...sors/#overview)
It seems like I wired everything properly - brown on 12V from the PD board and blue on ground from PD. The white runs to the signal on the Digital I/O on the DSC. The LEDs on the sensor work fine and respond to the range/out of range objects.
However, now I'm stuck in LabView. The example for the ultasonic involves sensors with send/receive. The one I have is an integrated one.
How do I go about programming such a sensor?
Any help is greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2012, 03:53
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Banner Ultrasonic Sensor Q18 NPN programming issue

I'd try to integrate the MaxBotix EZ1 example into your code and see if that works.
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2012, 08:07
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Banner Ultrasonic Sensor Q18 NPN programming issue

The sensor you've specified is a simple on/off switch. It doesn't provide any information about how far away what it's sensing is. All it tells you is whether or not something is being sensed within its calibrated range of distances. Read it as a DIO input, as if it were a limit switch, giving you a true/false value.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:11.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi