Go to Post Inspiration is a two-way street. - Taylor [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 27-01-2012, 19:10
mikegrundvig mikegrundvig is offline
Registered User
FRC #2410 (Metal Mustangs)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 100
mikegrundvig is an unknown quantity at this point
cRIO Communicating to a Machine on the Robot

Hi all; we are changing programming directions a bit and I wanted to ask what everyone suggests as the best option since time is running out. We are now switching from C++ to LabView on the cRIO. We have another computer doing vision processing on the robot and we need it to talk to Labview. This communication needs to be bi-directional though the data load is quite small. We need to send a few different data types but predominately booleans and doubles - no imaging data is being transfered. With those requirements, what would you LabView pros suggest? I know nothing about LabView so I'm not even sure what the good options might be. Assume the onboard computer can support whatever LabView needs if that helps. Thanks much!

-Mike
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2012, 23:13
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: cRIO Communicating to a Machine on the Robot

You will probably find it most appropriate to open a UDP port "listener" on one device, and write to that port from the other. Here is a forum thread discussing how to do that, with example code attached (in post #4).
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2012, 00:08
mikegrundvig mikegrundvig is offline
Registered User
FRC #2410 (Metal Mustangs)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 100
mikegrundvig is an unknown quantity at this point
Re: cRIO Communicating to a Machine on the Robot

Thanks Alan; I was actually hoping for HTTP or something like that but we can certainly make UDP work better then what they were trying to do right now.

-Mike
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 22:23.

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