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 USB to get data from a CR350


TaCaPica Feb 8, 2023 03:18 PM

Hi

Im trying to use a usb pen to get data from a CR350 logger as in put the pen, get the data and get the pen out.

But trying to use the CRBasic sample i get un error while compiling the program: it shows me an error in the function tablefile. it say the USB is an invalid drive.

(......)

DataTable(Dados10m,True,-1)
DataInterval(0,10,Min,10)
TableFile ("usb:Dados10m",8,-1,0,0,Min,0,0)

Average(1,TempAmb,FP2,False)
FieldNames "TempMed"
Maximum(1,TempAmb,FP2,False,True)
FieldNames "TempMax"
Minimum(1,TempAmb,FP2,False,True)

(......)

Error messages

[Version]C:\Campbellsci\Lib\Compilers\CR350Comp.exe VERSION:CR350.Alpha.00.53 DATE:11/02/2020
DGA_acores_v1.1.crb -- Compile Failed!

line 64: Invalid drive or no drive specified in filename usb:Dados10m.
line 90: Invalid drive or no drive specified in filename USB:_Dados2h.
line 103: Invalid drive or no drive specified in filename USB:_Dados24h.
line 130: Invalid drive or no drive specified in filename USB:_Dados24h_MET.
line 161: Invalid drive or no drive specified in filename USB:_DadosMes.
Error(s) detected in the program. Double-click an error above to navigate to it.

Any reason why?

Best Regards


Donna Feb 8, 2023 09:01 PM

Your program compiles okay for me.  You have an old compiler.  You can download the latest operating system from the Campbell Scientific website.  (When you run the executable to extract the OS, it will also update the CR350 compiler in CRBasic.)

https://www.campbellsci.com/downloads/cr350-series-os


Vada9483 May 11, 2023 08:51 AM

This post is under review.


wintercurrants Dec 21, 2023 09:43 AM

Your program compiles okay for me. You have an old compiler. You can download the latest operating system from the Campbell Scientific website. (When you run the executable to extract the OS, it will also update the CR350 compiler in CRBasic.) 

https://www.campbellsci.com/downloads/cr350-series-os/ basket random

Very useful for me. Many thanks! 

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