Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

CR206 vs CR1000 data type


Dilbert Feb 5, 2009 07:20 PM

I'm attempting to program a CR206 to send the latest record from one of its data tables to a neighboring CR1000. I'm using the SendData instruction on the CR206 and the AcceptDataRecords instruction on the CR1000. I've not had any luck yet, so I'm troubleshooting. The documentation for the AcceptDataRecords says that the number of fields and their data types in the remote table must match the number of fields and their data types in the local table.

Im assuming that the numeric datatype in the CR206 maps to the FP2 data type on the CR1000. Is this correct? I'm using version 6 of the CR206 operating system, and version 16 of the CR1000 operating system.

Thanks!


jtrauntvein Feb 5, 2009 08:35 PM

I believe that you are going to confront several issues in attempting this:

- The CR200 does not support the FP2 data type. It only supports four byte floating point data types.

- The CR200 processor is "little endian" while the CR1000 is "big-endian". This means that the byte order of the record values coming from the CR200 will be reversed from what is expected by the CR1000.

This latter factor is going to be very difficult to overcome.


Dana Feb 5, 2009 09:02 PM

Try using the SendGetData in the CR200, rather than SendData. SendData is most often used for one-way data transfer to a LoggerNet server.

Regards, Dana

Log in or register to post/reply in the forum.