LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array to spreadsheet problem

Solved!
Go to solution

I have set the both values to 1, but still getting that problem. It gives 600+ measurement every second 😞

Best regards

Oesen
0 Kudos
Message 21 of 45
(1,039 Views)

I don't think I believe that. When I set the sample rate and the number of samples to both 1, I get exactly 1 sample per second, just like it is supposed to.

0 Kudos
Message 22 of 45
(1,025 Views)

Thanks for the answer Dennis

 

I use NI-9237 as a DAQ device

 

I will try again now:

 

Untitled.png

 

 

It still shows the same (many thousands samples per second) ! 😞

 

Best regards

Oesen
0 Kudos
Message 23 of 45
(1,018 Views)

There is exactly 6289 samples in 4 seconds of time

Best regards

Oesen
0 Kudos
Message 24 of 45
(1,017 Views)
Where are you looking at and seeing all of those samples? I don't see them at the output of the DAQ Assistant. I don't have your hardware. Perhaps that device has a minimum number of samples. What does the spec say?
0 Kudos
Message 25 of 45
(1,007 Views)

Hi Dennis.

 

I read all those samplings in the .csv file i'm writing to.

 

If you look at the Sample time (timestamp) and run the VI, it acts like a second the first few second, but it will be more than a second the longer the VI runs.

Best regards

Oesen
0 Kudos
Message 26 of 45
(998 Views)

Are you using a simluated device or you have a real DAQ card?. Did you try logging with the tdms data logging available with the DAQ assistant?

 

DAQ_TDMS_logginh.PNG

 

Did you check the loop rate?

 

-----

The best solution is the one you find it by yourself
0 Kudos
Message 27 of 45
(994 Views)

I Use "Internal" as a Vex Source

 

Untitled.png

Best regards

Oesen
0 Kudos
Message 28 of 45
(990 Views)

Hi P@Anand

 

I use NI-9237 as a DAQ device.

 

I have enabled the TDMS logging, but still get the same result 😞

Best regards

Oesen
0 Kudos
Message 29 of 45
(987 Views)

No after enabling the tdms data logging disable the file you are writing. You do not need that automatically the data will be saved in .tdms format, check the file shown in the tdms data logging configuration.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 30 of 45
(981 Views)