Go to Post What if, each alliance has a pile of AndyMark equipment in front of them. They then have 2:00 minutes to assemble said equipment, and build a working robot that will race to the other side and grab the other alliance's flag. - Pjohn1959 [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 12-04-2014, 06:40
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,751
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: Dashboard Robot SDRead Communication Problems

Just to clarify a few things. The SD and NT functions work almost identically except that the SD functions automatically add "SmartDashboart/" to the variable name in order to keep it separate from the other types of Network Table variables. The storage, transmission approach and other aspects are the same.

I believe the size limit of strings is actually pretty small. It is implementation dependent, but cannot be larger than 65k characters. So in some implementations you may be able to store an image, but that may not work consistently.

I'm not sure I have enough info to give a suggestion on how to setup your camera, but the camera supports both JPG read of a single image and an MJPG session which sends images without asking for each. If using MJPG, you need to read them as fast as they are sent or they will lag behind. You can ask the camera for a very low framerate. Because it was not often needed and caused confusion, I believe the JPG option is in vi.lib, but not in the palettes. If you want to use it, it is in the same folder as the other camera VIs.

Greg McKaskle
Reply With Quote
  #2   Spotlight this post!  
Unread 12-04-2014, 22:05
prometheusLKR prometheusLKR is offline
Registered User
FRC #0900
 
Join Date: Jan 2014
Location: Raleigh
Posts: 3
prometheusLKR is an unknown quantity at this point
Re: Dashboard Robot SDRead Communication Problems

Quote:
Originally Posted by Greg McKaskle View Post
Just to clarify a few things. The SD and NT functions work almost identically except that the SD functions automatically add "SmartDashboart/" to the variable name in order to keep it separate from the other types of Network Table variables. The storage, transmission approach and other aspects are the same.

I believe the size limit of strings is actually pretty small. It is implementation dependent, but cannot be larger than 65k characters. So in some implementations you may be able to store an image, but that may not work consistently.

I'm not sure I have enough info to give a suggestion on how to setup your camera, but the camera supports both JPG read of a single image and an MJPG session which sends images without asking for each. If using MJPG, you need to read them as fast as they are sent or they will lag behind. You can ask the camera for a very low framerate. Because it was not often needed and caused confusion, I believe the JPG option is in vi.lib, but not in the palettes. If you want to use it, it is in the same folder as the other camera VIs.

Greg McKaskle
OK, thanks. I'll try and see if I can get the JPG option working sometime, although I think we're going to stick with network tables for championships since it's been working consistently and we wouldn't have much time to test out a new approach before championships.
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 08:55.

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