Go to Post when I was a ball setter at PARC one year (6th grade?). As soon as I saw what High school students could do with thier own two hands and how they mingled with industry, I knew, at that moment, it was for me. - henryBsick [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #9   Spotlight this post!  
Unread 12-02-2012, 11:26
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: Using 2 digital side cars

Quote:
Originally Posted by JByrd View Post
when you construct your inputs and outputs do you have the code written with the module number like this:

DigitalInput input = new DigitalInput(2,1)

(for a digital input in port 1 on the module on slot 2 of the cRIO)

or

DigitalInput input = new DigitalInput(4,1)

(for a digital input in port 1 on the module on slot 4 of the cRIO)
If you do have the program written like this, fix it. You shouldn't be referencing slot numbers in the code. The first digital module (in slot 2) is module 1. The second digital module (in slot 4 of a 4-slot cRIO or slot 6 of an 8-slot cRIO) is module 2.
 


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 20:19.

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