Go to Post If you smack the bear with a stick, you'd better be ready for a mauling. - sciguy125 [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-01-2013, 20:32
Ganondalf Ganondalf is offline
Registered User
FRC #4665
 
Join Date: Jan 2013
Location: Minnesota
Posts: 48
Ganondalf is an unknown quantity at this point
Where do I find digital module 1?

Im creating a non drive victor motor in the Begin.vi, how to i insert digital module 1, where can i find it? Thanks!

Allons-y!
Reply With Quote
  #2   Spotlight this post!  
Unread 09-01-2013, 20:36
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: Where do I find digital module 1?

Physically? On your cRIO, it will be module NI 9403. You're digital sidecar should be connected to it via a ribbon cable.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2013, 20:37
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: Where do I find digital module 1?

Digital Module 1 just indicates that the Crio's second slot holds the Digital Module that this motor you're creating will use.
It's the default so you don't even have to specify it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 09-01-2013, 20:40
Ganondalf Ganondalf is offline
Registered User
FRC #4665
 
Join Date: Jan 2013
Location: Minnesota
Posts: 48
Ganondalf is an unknown quantity at this point
Re: Where do I find digital module 1?

In the Begin.vi, I have everything set up. However, there should be a "digital module 1" connected to my PWM
Attached Thumbnails
Click image for larger version

Name:	hereeree.jpg
Views:	21
Size:	7.2 KB
ID:	13440  
Reply With Quote
  #5   Spotlight this post!  
Unread 09-01-2013, 20:41
Ganondalf Ganondalf is offline
Registered User
FRC #4665
 
Join Date: Jan 2013
Location: Minnesota
Posts: 48
Ganondalf is an unknown quantity at this point
Re: Where do I find digital module 1?

Quote:
Originally Posted by Mark McLeod View Post
Digital Module 1 just indicates that the Crio's second slot holds the Digital Module that this motor you're creating will use.
It's the default so you don't even have to specify it.
ohhh, gotcha, thanks again!
Reply With Quote
  #6   Spotlight this post!  
Unread 10-01-2013, 00:06
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: Where do I find digital module 1?

Quote:
Originally Posted by Ganondalf View Post
Im creating a non drive victor motor in the Begin.vi, how to i insert digital module 1, where can i find it? Thanks!
Right-click on the Motor Open vi's "Digital Module" terminal and choose Create -> Constant from the pop-up menu. It'll give you an enumerated constant with the choices of Digital Module 1 and Digital Module 2.

As Mark said, though, If you don't wire anything to that terminal, it will default to Module 1. You need to change it to Module 2 only if you have installed a second DIO module in the cRIO and an associated second Digital Sidecar.
Reply With Quote
  #7   Spotlight this post!  
Unread 28-01-2013, 14:10
nickcvet89 nickcvet89 is offline
Registered User
FRC #1228 (RoboTribe)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2003
Location: Rahway,NJ
Posts: 99
nickcvet89 will become famous soon enough
Send a message via AIM to nickcvet89
Re: Where do I find digital module 1?

I have a related question, if I were to program a single motor and place under Digital Module 2, then this would essentially mean that I am wiring the motor to second digital sidecar which the NI 9403 is in slot 4. Our team has 2 digital sidecars since we have 13 motors on our robot so I am trying to program some of the motors on a second digital sidecar.
__________________
Reply With Quote
  #8   Spotlight this post!  
Unread 28-01-2013, 14:14
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Where do I find digital module 1?

Quote:
Originally Posted by nickcvet89 View Post
I have a related question, if I were to program a single motor and place under Digital Module 2, then this would essentially mean that I am wiring the motor to second digital sidecar which the NI 9403 is in slot 4. Our team has 2 digital sidecars since we have 13 motors on our robot so I am trying to program some of the motors on a second digital sidecar.
Yes. The second NI 9403 would be in slot 4 on the 4 slot cRIO or slot 6 in the 8 slot cRIO.
Reply With Quote
  #9   Spotlight this post!  
Unread 28-01-2013, 14:14
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: Where do I find digital module 1?

Quote:
Originally Posted by nickcvet89 View Post
I have a related question...
Fine. What is it?
Reply With Quote
  #10   Spotlight this post!  
Unread 28-01-2013, 14:46
nickcvet89 nickcvet89 is offline
Registered User
FRC #1228 (RoboTribe)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2003
Location: Rahway,NJ
Posts: 99
nickcvet89 will become famous soon enough
Send a message via AIM to nickcvet89
Re: Where do I find digital module 1?

Thanks
__________________
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 21:45.

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