CompactFlash Data Logging AB

dgalle

Member
Join Date
Dec 2012
Location
Indiana
Posts
1
I'm working with a 1769-L32E and attempting to log data to my compact flash card on the L32E by using the sample code (CF_Read_Write.ACD) available from AB with slight modifications. So far I've been able to write a line of data into a CSV file and open it in excel no problem.

My problem begins when the program tries to log a second value. Instead of logging new values the old ones are overwritten. I've played with the CF_Data_Working UDT. I've set the CF_Data_Working.Bytes_to_RW:=the length of my data to be logged.
CF_Data_Working.Point_Move_Length:=CF_Data_Working.Actual_bytes_to_rw (so that the pointer moves the appropriate length)
CF_Data_Working.Point_Last_Position:=CF_Data_Working.Point_Last_Position+CF_Data_Working.Point_Move_Length (so that the last position is increased by the pointer move length.
Everything in the set pointer file status looks good and all the status for that matter except for the cf_csvp_status is the only status that I get an non 1 status code. This status message puts out a 3 and the overall write status goes to a 2.
Anyone have any idea where I'm going wrong. I've talked to tech support and read over any manuals I can find with no luck.
 

Similar Topics

Hello all I want to do some data logging, which I have succeded in doing on my Rockwell CompactLogix directly onto its CF/SD-Card. I just...
Replies
0
Views
2,271
We have a serious problem, with a Redlion G3-10 HMI. Last week, whilst onsite, I downloaded a revised Crimson 3 HMI program into a Redlion G3-10...
Replies
9
Views
3,894
Good Evening , I was given a CompactFlash card that was in a CompactLogix CPU. I placed the CompactFlash card in a Reader , and captured...
Replies
3
Views
1,642
I am looking for a bit of an insight on what goes on with some old CompactFlash cards and why certain ones work and others don't work too well. I...
Replies
0
Views
1,052
I am trying to fix an older PanelView Plus 1000 2711P-T10C4D1 Series A Rev C, Logic Module 2711P-RP1 Ser B Rev C. After replacing a few parts it...
Replies
1
Views
2,750
Back
Top Bottom