|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||||
|
|||||
|
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).
|
|
#3
|
|||
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|