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.

Using the CRBasic Editor with the CR9000


dberdes May 22, 2012 03:47 PM

I am writing a program for the CR9000 using the CRBasic Editor version 2.9 contained within LoggerNet 3.4.1. Unfortunately the "Compile" menu option is blanked out and not available. I am able to connect to the CR9000 using LoggerNet. How do I check my program and send it to the CR9000?

Last week I used the same CRBasic editor for a CR9000X and did not have this problem.


aps May 22, 2012 04:01 PM

The CRBasic editor does not support check compiling programs for the original CR9000 dataloggers I am afraid, only the CR9000X.

You do not have to compile a CR9000 program on a PC to be able to use it in the logger, the logger compiles the text version of the program itself. So you can still use Loggernet to send the program to the logger and see whether the logger itself detects any program errors.


dberdes May 22, 2012 04:57 PM

Thank you Andrew. I suspected that was the case. Is this documented in the CRBasic help? I was not able to find this issue discussed.


GTProdMgr May 22, 2012 10:08 PM

Although this probably wasn't documented in the CRBasic help for LoggerNet 3.4.1, it is documented in the latest version. There we find this text:

"There is no compiler for the CR9000 datalogger (though there is a compiler for the CR9000X). If you attempt to compile a CR9 program, an error will be returned: There is no CR9000 compiler, so the program will not be compiled."
---

From the beginning of the CR9000 (CR9031 CPU) it has been necessary to send the CRBasic program to the datalogger and
view the results of the "hardware compile" to know whether you have written a good program or not. The ability to "pre-compile" (what Andrew calls "check compile") without sending the program to the logger hardware was a feature that came later with the CR5000 and the CR9000X (CR9032 CPU), and ultimately the CR1000 and cousins.

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