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.

Status Table CR1000


TomH Oct 15, 2009 08:35 PM

I would like to use the Status table fields in my program.

OKFlag If Status(watchdogerrors)=0

How can I access the status table in the program?


Dana Oct 15, 2009 10:25 PM

Hi,

Look at the data table access syntax that is outlined in the CRBasic Editor help file (you can find DataTable access in the index). You can use Tablename.Fieldname to access individual status table fields; .e.g.,

If Status.WatchdogErrors(1,1) = ) then....

Regards, Dana


Dana Oct 15, 2009 10:26 PM

If Status.WatchdogErrors(1,1) = ) then....

Ooops, = ) should be = 0

:) Dana


kirving Oct 15, 2009 10:30 PM

This is somewhat off-topic, but regarding:

(quote)Look at the data table access syntax that is outlined in
the CRBasic Editor help file(endquote)

Are there any plans to put the CRBasic help information in another format, e.g., a PDF manual or other? Not using Windows it's pretty hard to have that information available. Thanks.


Dana Oct 15, 2009 11:50 PM

Not at this time.

The development tool I use would allow me to spit out a PDF pretty easily, but there's no way to specify the order in which the instructions would appear. There's no option to alphabetize them or group them by function -- Any "logical order" would have to be done manually (and re-done each time I compiled the help). Trying to maintain that for 7 different CRBasic dataloggers would keep me busy 24 hours a day (or it would feel that way, anyway!)

I will keep your comment in mind, however.

Thanks, Dana

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