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.

CFM100 troubles


antarcticstreams Dec 28, 2011 08:11 AM

I have a CR1000 with attached CFM100, and I've not been successful yet in obtaining data written from the following sample program.
_______________________
DataTable (Test,1,1000)
DataInterval (0,15,Sec,10)
CardOut (1,-1)
Minimum (1,batt_volt,FP2,0,False)
Sample (1,PTemp,FP2)
EndTable

...

BeginProg
Scan (5,Sec,0,0)
PanelTemp (PTemp,250)
Battery (Batt_volt)
CallTable Test
NextScan
EndProg
_____________________
Whenever I remove the card (by waiting for a green light) and connect to my PC, the card shows up as full (it's a 1GB WD SSD-C01Gl-3500 obtained from Campbell), and frankly, I'm not certain I can read a 1GB .dat file.

I cannot format the device in File Control (gives error), but I can format it (as FAT32) using my PC. This has happened with three other CF cards I've purchased.

I am at a loss, what do I need to try/provide for a solution?


Dana Dec 28, 2011 08:03 PM

I am not an expert on the CFM100, but if I recall, because of how memory is allocated to create the table(s) on the card, even a few records will look like a large file. Trying to collect that file over telecommunication will be slow and painful.

If you are trying to collect using File Control, you need to stop the running program first, and then initiate collection of the data.

The best way is to read the data from a card using a PC.

You might want to take a look at the manual regarding data collection, formatting the card, and the types of cards to use with the CFM100.

The manual can be found here:

http://www.campbellsci.com/cfm100-support

Dana W.


TweedleDee Dec 28, 2011 08:39 PM

You have autosized the table on the card (CardOut (1,-1), thus using up the full card for the data table. This is why the card registers as having no free space, the Table file was created and it has been allocated all of the card's memory. This is not to mean that the Table is full of records Use the Card Convert utility to convert the raw binary file on the card to determine really how many records have been written to the card's data table.

If you want to set up the Table file on the card as having only 1000 records, change the instruction to:

CardOut(1,1000)


Sam Dec 30, 2011 04:18 AM

Or perhaps you would be happier using the TableFile() instruction instead of CardOut(). With a scan of 5 seconds, I have generally leaned towards the use of TableFile().

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