LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array to spreadsheet problem

Solved!
Go to solution

No..  I mean that this part below, is for zero pointing da Y-data at the (time = 0) and then making the other data's relative to it. I want that options, so i can't get rid of that.

 

Untitled.png

 

Best regards

Oesen
0 Kudos
Message 11 of 45
(1,050 Views)

No you don't have to its my wrong guess and the shift register is not affecting the data. Can you try replacing the write to text file with a write to spreadsheet and Enable appending?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 12 of 45
(1,043 Views)

Hi P@Anand

 

Unfortunaly, i get the same problem with this procedure 😞

 

Untitled.png

Best regards

Oesen
0 Kudos
Message 13 of 45
(1,034 Views)

Hi Oesen.

 

It looks like you are probably a little unclear about the DAQmx assistant to get one sample every second you would want to read 1 sample at a sample rate of 1 not 2000 samples at a 2000 hz rate try changing those constants and see if that helps a littleSmiley Wink


"Should be" isn't "Is" -Jay
0 Kudos
Message 14 of 45
(1,028 Views)

Hi Jeff

 

When i do that procedure, i get 539 measurements every second:

 

Untitled.png

 

 

Best regards

Oesen
0 Kudos
Message 15 of 45
(1,021 Views)
I am out of PC righty now. Try to enable the transpose also in write to spreadsheet.
-----

The best solution is the one you find it by yourself
0 Kudos
Message 16 of 45
(1,025 Views)

Thanks for the answer P@Anand

 

It doesn't make any difference 🙂

Best regards

Oesen
0 Kudos
Message 17 of 45
(1,017 Views)

Post your VI so we can see how the DAQ Assistant is set up.

 

Did you set it for N samples or continuous samples?  I'm guessing you set it for N when you should have set it for Continuous.

0 Kudos
Message 18 of 45
(1,009 Views)

Yes of course. Here is my VI.

 

It was already on continuous samples mode

 

 

Best regards

Oesen
0 Kudos
Message 19 of 45
(1,006 Views)

Your VI shows 2000 samples at 2000 Hz with conitnuous acquisition, but the earlier picture shows 1 sample at 1 Hz.

 

I don't see why you'd be getting 500+ samples with the it defined at 1 sample at 1 Hz.  It doesn't make sense.  The DAQ assistant should be throttling the loop speed with having continuous sample set.

 

You could try not using the DAQ assistant and set it up using the lower level DAQmx functions.

0 Kudos
Message 20 of 45
(1,003 Views)