Setting up a CC640 camera to a CR800 logger, wondering if there's any advantage over using one interface port vs the other, CS I/O or RS232.
The logger is there just (or mainly) to support the camera, so there are no other constraints, other than a FreeWave radio will be using the
DB9 RS232 port. I've got CP3 wired to trigger images, and could use CP1 and CP2 for the serial port.
Also, is there a limit to how much of the USR memory can be allocated for storing images on the logger? An SD card will be installed in the camera to save all the images, but some images will be retrieved via the radio modem.
Ok, a possible answer to my own question is in the specs, which indicate the max baud rates as either 76.8K or 57.6K for the CS I/O, vs 230.4K for RS232. That would seem to clearly favor RS232 for speed of transferring images.
Using the RS232 port, you can go up to 115.2K baud. Using the CSI/O port, the manual states that you should not go faster than 57.6K baud.
For memory allocation you can set the USR Drive size using Device Configuration Utility or with the CRBasic command - SetStatus("USRDriveSize",10000) - where the second parameter is the allocation size in bytes.
You have near 4MB of space you can allocate for the USR drive, but remember every byte you allocate towards the USR drive is a byte not available for table data.
I generally ask my self 1) How big is my average image size? and 2) How many images do I want to store on the USR drive?. Then I multiply the two and add about a 3 image or 25% (which ever is greater) overhead, because the image sizes will vary depending on the amount of detail and color in the image. This will give you a good byte count to start with.
For example:
- average image size 32,000 bytes
- keep 10 images on USRDrive
- 32,000 * 10 = 320,000 bytes
- 320,000 + (3 * 32,000) = 416,000 bytes
SetStatus("USRDriveSize",416,000)