Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

frequncy measurement usb 6221

actually (entey,date,time, speed)this string i want at the beging of the file but only at onces when file is created.

but this string is connected to binary file data that why when i run my program that time after one one reading that constant string also come

i want set that string at beging of file that means as header

its not work properly

tell me how to edit that program 

 

0 Kudos
Message 31 of 44
(1,806 Views)
I know you want it only once. You already said that and your original code was using the Write to Binary function. If you don't want to use that, then don't. And, I already told you how to edit the program - IN THE CASE WHERE THE FILE IS CREATED, WRITE THE HEADER.
0 Kudos
Message 32 of 44
(1,798 Views)

thanks for reply me now its working

but one problem is that its not read contious data in file ,when file size 356kb then  its stop and error has come 

what the maximum size of excel?

i think txt file have more capacity to store data than excel.

becoause every second i measure data and store it. 

give me suggision may i change this txt format or excel also can store 24 hours data?

 

 

0 Kudos
Message 33 of 44
(1,787 Views)
Older versions of Excel have a maximum of rows of about 65k.
0 Kudos
Message 34 of 44
(1,776 Views)

hey i didn't find it its creating new file or not?

because before creating any new file it showing some error some read error

i attach that error please check it and give me any suggsion 

0 Kudos
Message 35 of 44
(1,753 Views)

No, I will not read a bmp file that you just renamed to jpg to get around the ban on bmp attachments. Do you really think that changing the extension changes the file type?

 

Edit - I had forgotten that I had said this before. Stop, really stop doing this. It is inappropriate behavior.

Message Edited by Dennis Knutson on 01-04-2010 09:21 PM
0 Kudos
Message 36 of 44
(1,751 Views)

sorry dennis

well error 200278 has comes

its create file properly but after some time when file is 469kb it will generate error 200278.

 

Error200278 ocurred at DAQmx Read (Counter 1D DBL 1Chan NSamp).vi

 

Possible reason(s): 

Attempted to read a sample beyond the final sample acquired. The acquisition has stopped, therefore the sample specified by the combination of position and offset will never be available. 

Specify a position and offset which selects a sample up to, but not beyond, the final sample acquired. The final sample acquired can be determined by querying the total samples acquired after an acquisition has stopped. 

Attempted to Read Sample: 0 

Property: RelativeTo

Corresponding Value: Current Read

Position Property: Offset

Corresponding Value:   

Task Name: _unnamedTask<240C>

 

I READ ONE SOLUTION IN THAT WE HAVE SET  DAQmx timing IS CONTIOUS SAMPLE

I ALREADY SET THAT 

 

0 Kudos
Message 37 of 44
(1,743 Views)

hi any one is there

i send one error it has comes after some time

well you please tell how to correct it

i set continus sample but its not work after some time 

0 Kudos
Message 38 of 44
(1,726 Views)

HEY ANY ONE IS THERE MY PROGRAMS ITS WORK NOW BUT AFTER SOME TIME OR AFTER SOME RECORDS ITS CREATE ERROR200278.

I WROTE THAT I THINKS BUT NO ONE REPLY ME.

PLEASE GIVE ME ANY SUGGESION. 

0 Kudos
Message 39 of 44
(1,716 Views)
If you don't want to change to finite samples, then you should switch to a consumer/producer architecture so that the file write does not interfere with the acquisition.
0 Kudos
Message 40 of 44
(1,714 Views)