Go to Post Gotta love the use of universal technical terms, along with whatchamacallit, doodlespiel, whosiwhatsit... ;) - PaW [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
  #1   Spotlight this post!  
Unread 31-01-2010, 12:02
nabioullinr nabioullinr is offline
Registered User
FRC #1073
 
Join Date: Jan 2010
Location: Hollis, NH
Posts: 17
nabioullinr has a spectacular aura aboutnabioullinr has a spectacular aura aboutnabioullinr has a spectacular aura about
Cannot Assign Gyro to Second Analog Sidecar

When I try constructing a gyro with Gyro(2, 1), corresponding to analog port 1 of analog sidecar 2, I receive runtime kernel exceptions stating that the gyro must be connected to port 1. However, I tried constructing an AnalogChannel(2, 1), and it worked, returning the raw voltage. Next, I tried constructing a Gyro with an AnalogChannel, and now I receive a different exception (An address parameter to a method is NULL in GetAccumulatorOutput()). Do I need to construct/initialize the second analog sidecar? (The first one is in slot 1 and apparently does not have to be constructed, since all of the above worked with it).

Any ideas? Thanks in advance.
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Victor=Fail on second digital sidecar Robostang 548 NI LabVIEW 0 14-02-2009 18:33
Converting to an accumulator channel on the analog sidecar Phoenix Spud Electrical 0 18-01-2009 16:43
Using gyro.c with other analog sensors no go Astronouth7303 Programming 17 03-01-2006 21:04
Need help with Gyro = Analog Devices ADXRS150EB Jack Jones Technical Discussion 9 18-07-2005 07:00
Using gyro with other analog sensors...again demerski Programming 0 19-02-2005 08:23


All times are GMT -5. The time now is 01:54.

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