LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array to spreadsheet problem

Solved!
Go to solution

Hello everyone

 

I have an array to spreadsheet to write my data into a excel file from the DAQmx which measures pressure, but i get too much data in the measurement part. Do someone know how to get rid of that, because i want exactly the same data as my 2D array in the excel file (one measurement every second).

 

Thanks in advance

 

Oesen

 

INterval.png

 

Best regards

Oesen
0 Kudos
Message 1 of 45
(3,940 Views)

You are building the new data with the old data and that is why you are getting duplicated values. Without using the shift register and try running the code you should be alright.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 45
(3,933 Views)

Thanks for the answer P@Anand

 

I have removed the shift register now, but it doesn't make any changes. I still get all those values from the "measurement" part in the excel file.

Best regards

Oesen
0 Kudos
Message 3 of 45
(3,929 Views)

Which shift register you have removed also how many channels you are acquring?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 45
(3,921 Views)

The DBL shift register, which is connected to the zero array. I have removed this one.

 

How can i get into this option about channels acquiring ?

 

 

Best regards

Oesen
0 Kudos
Message 5 of 45
(3,916 Views)

Channel configuration is done in DAQ mx. As expected wrong shift register you have removed, remove the other one (waveform shift register) and test it.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 45
(3,913 Views)

Yes but what should i use as a input source in the left side, when i remove the waveform shift register ?

Best regards

Oesen
0 Kudos
Message 7 of 45
(3,910 Views)

You have to something like this.

 

DAQ_Array data.png

 

-----

The best solution is the one you find it by yourself
0 Kudos
Message 8 of 45
(3,905 Views)

Thanks for the answer P@Anand

 

But i need that code below for zero pointing the chart, when i run the VI.

Best regards

Oesen
0 Kudos
Message 9 of 45
(3,891 Views)

You mean you want to clear the chart at first when you run the code?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 10 of 45
(3,887 Views)