From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

do i have the buffer in the right place

Solved!
Go to solution

Well I am trying to Generate and record signals in saline solution simultaneously for 4seconds. Im using 81 channels to record this so i wanted around 324000 samples total or 4000 samples per channel.

0 Kudos
Message 21 of 30
(969 Views)

Are you still going to help me?

0 Kudos
Message 22 of 30
(943 Views)

Okay just try to recapture what you are saying:

 

You want to have 4000 samples pr. channel from a 4 sec. run.

That will give you a 1kHz sample rate, no matter how many channels you have. 

Then you are reading from 81 channels? That is a lot of channels.

 

Do you only want to read your input signals for 4 sec?

 

Start by trying to read one channel at 1kHz sample rate for 4 sec.

Try to read 100 sample from the DAQ every loop iteration.

That means that your loop should run 40 times. ( 100samples@1kHz rate * 40 = 4000samples@1kHz rate = 4000ms = 4 sec)

 

Then adding 80 channel after that should be easy.

0 Kudos
Message 23 of 30
(935 Views)

I want to generate and acquire signals for 4 seconds and ill try this. Another thing is that I am losing data from my tdms file to another labview vi why is this.

0 Kudos
Message 24 of 30
(915 Views)
Solution
Accepted by topic author reggie2016

According to Excel I am getting 4000 samples per channel at a sample rate of 1000s/s using 81 channels over 4 seconds. But when I try to run the excel file in labview and see the size of it, it only reads around 2900s/s. Can anyone tell me why. I attach the file that I am using.

0 Kudos
Message 25 of 30
(910 Views)

You are missing a couple of subVIs, so we can't really see what you are doing with the data.  Zip up your project and post the zip file.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 26 of 30
(895 Views)
0 Kudos
Message 27 of 30
(893 Views)

Still missing the Read Data.vi.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 28 of 30
(870 Views)
I will not be able to give it to you until tomorrow
0 Kudos
Message 29 of 30
(865 Views)

Here is the read data file i just need help understanding how it runs.

0 Kudos
Message 30 of 30
(850 Views)