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?
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
If Status.WatchdogErrors(1,1) = ) then....
Ooops, = ) should be = 0
:) Dana
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.
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