LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Repeated data.

Solved!
Go to solution

Ok! I try like you suggest me. Thank's a lot!!!

0 Kudos
Message 11 of 41
(1,183 Views)

Guys sorry, but i don't understand how to change my VI. I can not understand what to insert and where. Can someone give me some indication or at least partially modify my VI (just to understand how i should do)? I have to do the same for the temperature program. Thanks!!!

 

0 Kudos
Message 12 of 41
(1,171 Views)
  • You already attached the same VI earlier, why would you attach it again?
  • As a first step, don't write to excel files and don't start a new file with each iteration. (even better, open the file once, the append inside the loop using lowlevel functions while keeping the file open. Much cheaper)
  • You are only displaying a scalar voltage, so why do you keep all that dynamic data around?
  • You are sampling at 1Hz. File IO should be able to keep up with that.
  • If you are planning to change the sample rate during execution, the control belongs inside the loop.

 

(Sorry, I cannot see how your DAQ express VI is configured, but some advice may depend on it. No drivers installed here)

0 Kudos
Message 13 of 41
(1,165 Views)

Hi guys. After many attempts, i have not yet solved the problem of error 200279. In addition, i had to add commands to display the name of the columns of the output excel file: but i can't  understand how to connect a 64-bit source with an 1D array sink. Looking on the web, i have seen that generally is useful use a Foor Loop, but i don't understand what number to set in N. Keep in mind that i have to acquire data continuously. Please, i'm new to LabView, can you give me simple instructions or screenshots?

Thanks a lot!!!

0 Kudos
Message 14 of 41
(1,142 Views)

You can configure the "from DDT" to output an array instead of a scalar.

0 Kudos
Message 15 of 41
(1,132 Views)
Solution
Accepted by topic author Iskandark

Start with one click 

Capture.PNG

That will clean up about half of the dynamic data and DAQmx will automatically pull in the channel names.

 

Then look into Configure DAQmx LogginG

When your vi looks like this you'll be finished

1.png


"Should be" isn't "Is" -Jay
Message 16 of 41
(1,131 Views)

Sorry altenbach, can you tell me exactly how to do it? If i go to the DDT properties there are many possible selections. Do i need to delete the foor loops? Could you change even just one part of my VI so i'll continue on my own? Sorry for the request but i really do not know how to move forward.

 

Thanks!

0 Kudos
Message 17 of 41
(1,118 Views)

@Iskandark wrote:

Sorry altenbach, can you tell me exactly how to do it? If i go to the DDT properties there are many possible selections. Do i need to delete the foor loops? Could you change even just one part of my VI so i'll continue on my own? Sorry for the request but i really do not know how to move forward.

 

Thanks!


You do realize that snippet in my last reply is the entire solution right?

Jing How Too


"Should be" isn't "Is" -Jay
0 Kudos
Message 18 of 41
(1,112 Views)

Hi! Absolutely i did not discarded your answer, but observing what altenbach wrote in his post first i would like to try to change (and reconnect) the DDT.


@JÞB wrote:

@Iskandark wrote:

Sorry altenbach, can you tell me exactly how to do it? If i go to the DDT properties there are many possible selections. Do i need to delete the foor loops? Could you change even just one part of my VI so i'll continue on my own? Sorry for the request but i really do not know how to move forward.

 

Thanks!


You do realize that snippet in my last reply is the entire solution right?

Jing How Too


 

0 Kudos
Message 19 of 41
(1,107 Views)

Hi guys. I converted my VI as you suggested, but i have some questions:
1) i need the opportunity to see graphs and numerical indicators of the data that i'm recording (like the old VI that i posted)
2) if you look at the attached picture, i have the error 201309: how do i solve it?

 

Thank you all for the help !!!

Download All
0 Kudos
Message 20 of 41
(1,083 Views)