Go to Post This isn't a science fair, sometimes it's okay to give away the answer, especially if they learned something on the way there. - Karthik [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: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 17-03-2014, 19:09
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Question Re: Dashboard display

I can't see anything wrong code wise, check your connection from your pressure switch on the regulator to the digital side car. Maybe in your begin vi try to specify the digital module, but I can't see if that works.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-03-2014, 20:11
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Dashboard display

Quote:
Originally Posted by Kevin Phan View Post
I can't see anything wrong code wise, check your connection from your pressure switch on the regulator to the digital side car. Maybe in your begin vi try to specify the digital module, but I can't see if that works.
The air compressor works fine in real life, pressure switch connects and compressor runs. On my test bed I am doing this simply by connecting ground to my digital I/O port and I see the compressor relay LED turn on.

The difficulty I am having is trying to get an indicator on the dashboard to turn on when the compressor is running, that's all.

I got my ultrasonic sensor working and giving me inches from the metric sensor via some simple math.

I must be missing something
Reply With Quote
  #3   Spotlight this post!  
Unread 17-03-2014, 20:20
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Red face Re: Dashboard display

I know, but I have done the same thing as you did for your compressor and I am getting normal feedback. I used a Boolean array write and get vi to get the values of when the compressor is running and if the compressor is enabled. I can not see why your code is not working at all. I know I shouldn't be asking this, but by ground you do mean the power, ground and signal wires are all connected to the digital sidecar right?
Reply With Quote
  #4   Spotlight this post!  
Unread 17-03-2014, 20:48
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Dashboard display

Quote:
Originally Posted by Kevin Phan View Post
I know, but I have done the same thing as you did for your compressor and I am getting normal feedback. I used a Boolean array write and get vi to get the values of when the compressor is running and if the compressor is enabled. I can not see why your code is not working at all. I know I shouldn't be asking this, but by ground you do mean the power, ground and signal wires are all connected to the digital sidecar right?
yes



Frustrated with this I hooked up some indicators to a limit switch and it works fine. It must be something with where I am connecting to the compressor. Could you post a picture of your compressor code?
Reply With Quote
  #5   Spotlight this post!  
Unread 17-03-2014, 21:37
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Re: Dashboard display

Sorry about your frustration . I think this is the setup I made for the compressor. I don't have access to the team's programming laptop, but I'm fairly certain this is close to what it is. The read vi is the dashboard code and yes it should be in a while loop, but I wrote this in a new project and I didn't bother to make another project. I will post a picture of the actual code I made tomorrow night. Again, I am sorry about the frustration about your compressor.
Attached Thumbnails
Click image for larger version

Name:	Compressor.png
Views:	21
Size:	9.6 KB
ID:	16590  
Reply With Quote
  #6   Spotlight this post!  
Unread 18-03-2014, 22:04
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Re: Dashboard display

Here's the code on our actual robot.
Attached Thumbnails
Click image for larger version

Name:	Compressor.PNG
Views:	13
Size:	11.2 KB
ID:	16598  
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 07:01.

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