View Single Post
  #2   Spotlight this post!  
Unread 04-07-2014, 20:10
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Remote cRIO code deploying

It's possible to receive code remotely, but only if you can set up port forwarding at your work space. All the netbeans deploy script does is build your code, FTP the built files to the cRIO, then tell the cRIO to restart itself.

As for the network communication, yes it is possible to have a separate thread. If you're using Java, I'd use a TimerTask. You can create a class which extends TimerTask, create a new java.util.Timer object, then call timer.scheduleAtFixedRate(this, 0, period), where period is the time (in ms) between each iteration.