Go to Post Why do it the hard way if you don't have too? - ChrisH [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 23-01-2010, 23:03
Jim.D Jim.D is offline
Registered User
FTC #1983
 
Join Date: Dec 2008
Location: Seattle
Posts: 16
Jim.D is an unknown quantity at this point
LabView and PS0C

Does anyone know how to access the PSoC from a LabView application ?
The are several blocks to set and read data and the other functions but no block to initialize communication or open the card for access. Using the other VI's alone give a device not connected error.

Also if anyone knows about the possibility of getting the labview souce files for the driver station application. They would be helpful in figuring out how to communicate with the card.


Thanks for any input.
Jim
Team 1983
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2010, 03:12
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: LabView and PS0C

The start communication VI is what is needed to "open" the connection to the board. Make sure the LED on the I/O tab is lit... it indicates that the board is communicating with the driver station and I/O data is being sent to the robot. Also, if you are using the enhanced API, then you need to select the enhanced API on the driver station I/O tab in the configuration dialog.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2010, 07:55
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: LabView and PS0C

To clarify, most teams will want the robot code to interface with the cypress board via the DS. That was, I believe, what Joe was describing. Is that what you are doing, or are you wanting to communicate to it from a PC or dashboard? If so, you want different code.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2010, 12:47
Jim.D Jim.D is offline
Registered User
FTC #1983
 
Join Date: Dec 2008
Location: Seattle
Posts: 16
Jim.D is an unknown quantity at this point
Re: LabView and PS0C

I can comunicate with it thruogh the driver station but wanted to learn how to access it straight from a labview app like you can with the sensor DAQ. It looks like many of the blocks are provided I just don't know how to start the communication. Maybe as a VISA USB device ? If anyone has any example that would be great.

Thanks
Jim
Team 1983
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2010, 17:30
fkm300 fkm300 is offline
Registered User
no team
 
Join Date: Jan 2009
Location: USA
Posts: 4
fkm300 is an unknown quantity at this point
Re: LabView and PS0C

Has anyone figured this out yet? We are also looking at how to get it working.
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2010, 17:45
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: LabView and PS0C

What is the use case? Please describe in detail.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
paper: Set and display your Auto-Mode using LabVIEW and the Driver Station PhilBot Extra Discussion 0 11-02-2009 12:32
Labview 8.5 and encoders MorbidAngel NI LabVIEW 1 15-11-2008 13:57
Drag and drop (labview) kamocat NI LabVIEW 7 28-10-2008 08:05
Labview and Sensors Joohoo NI LabVIEW 4 09-05-2008 20:44
Camera and Labview phrontist LabView and Data Acquisition 1 28-01-2006 21:07


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

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