Go to Post The 2006 FRC Manual: Read it. Learn it. Know it. - dlavery [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 22-02-2011, 18:23
Mtg Ruler Mtg Ruler is offline
Registered User
FRC #1986 (Team Titanium)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Lee's Summit, MO
Posts: 21
Mtg Ruler is an unknown quantity at this point
Cypress Outputs not setting

We are trying to use a cypress card to set some LEDs on our driver station. We have tried various systems for getting the outputs to set (everything from having a direct control into the outputs to copying last year's code). We are using an enhanced IO module with 9 digital inputs and 7 digital outputs.
We can receive the digital inputs from the cypress and set the 8 LEDs on the cypress card, so it is not connectivity with the card itself

As we run the Get Enhanced Digital Outputs and Set Enhanced Digital Outputs, we occasionally get an error in LabVIEW (-44006 I believe, but I haven't been able to reproduce it for awhile)

One time a few days ago, the LEDs we wanted to set would flash as we set the output ports, and that is the only time we have gotten them to work.

We know the error is not wiring because the outputs do not show in the Get Enhanced Digital Outputs VI

Any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 22-02-2011, 19:17
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Cypress Outputs not setting

If the PSoC is being used in compatibility mode, the LEDs and outputs are updated together. If you switch to enhanced, go through the channels and make any config changes you want, switch to enhanced, and they in disabled mode or something easy to get to, pulse the LEDs as a test. If you switch over to the enhanced I/O mode, completely switch over. Don't use a combination of compatible and enhanced.

Greg McKaskle

Last edited by Greg McKaskle : 22-02-2011 at 19:20. Reason: more info
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 20:35.

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