|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
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.
|
|
#2
|
||||
|
||||
|
Re: Dashboard display
Quote:
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 |
|
#3
|
||||
|
||||
|
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?
|
|
#4
|
||||
|
||||
|
Re: Dashboard display
Quote:
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? |
|
#5
|
||||
|
||||
|
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. |
|
#6
|
||||
|
||||
|
Re: Dashboard display
Here's the code on our actual robot.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|