Go to Post Let's not complain when we are getting magnificent items in the kit that teams just a few years ago could only wish for. - sanddrag [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 08-02-2014, 20:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: cRIO/Solenoid/NI9472/Code Programming Problem?

I'd suggest a couple of tests with the solenoid module in the 3rd slot.
Run the default solenoid example, and use test mode in your existing code to see if the solenoids work there.

1) Run the solenoid example found from the Getting Started window (the one that comes up when you first start LabVIEW).
  • Support (on the left side of the Getting Started window)
  • Find FRC Examples...
  • Pneumatics
  • Solenoid with Compressor
Run the example on your cRIO by:
  • Right-click on "RT CompactRIO Target (10.0.0.2)" and choose Properties
  • Change the IP address to your team number (10.8.84.2)
  • OK
  • Connect to the cRIO and power it up
  • Open the Solenoid With Compressor.vi
  • Run the example in Debug by pressing the Run button in the upper left of the window
Look at the module LEDs to see if they light up in response to the example code.

2) Use Test mode to check your code.
  • In the Driver Station Operation tab, select Test
  • On the default Dashboard select the Test tab
  • See if your solenoids appear in the list on the Dashboard. If they are setup correctly in your code, then they will appear.
  • Highlight one of the solenoids and test buttons should appear at the bottom of the Dashboard window.
  • Test with the buttons to see if the module LEDs light up.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
 


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 21:04.

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