LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO AQUIRE REAL TIME DATA UNSING SPREAD SHEET

HI..

i had written some logic uning spread sheet to capture the data at perticular instance of time.

But it is capturing from starting when i hit run button .

my intension is capturing should be done when ever loop condition is true data should be captured for that perticular moment.

 

0 Kudos
Message 1 of 12
(3,850 Views)

There is nothing we can help you with from the info you have given. If your code is doing one thing at the start, then that means the code that does that one thing runs at the start...

LabVIEW programming is based entirely on dataflow and parallelism. This is incredibly powerful and has lead to its success over the years (coupled with the graphical programming), but is usually one of the first things that new developers stumble over. The Highlight Execution feature is a great way to watch how your application utilizes dataflow.

 

Share your code if you want more help. Include a Snippet of your code, or attach your VIs, so that we can better assist you. We are here to help, but won't spend all day recreating your code from scratch.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 2 of 12
(3,848 Views)

here i am attaching the image of my vi.

could you send me your mail id so that i can send you,

because some times i am not able to attach .

now my problem is if run the vi and the loop condition executed and the spread sheet is generating a report

but  in the report the data is coming when run  the vi.

i need present data when ever the loop condition executes at that perticular moment data i need.


@James.M wrote:

There is nothing we can help you with from the info you have given. If your code is doing one thing at the start, then that means the code that does that one thing runs at the start...

LabVIEW programming is based entirely on dataflow and parallelism. This is incredibly powerful and has lead to its success over the years (coupled with the graphical programming), but is usually one of the first things that new developers stumble over. Here's a simple resource to become more familiar with how it works.  The Highlight Execution feature is a great way to watch how your application utilizes dataflow.

 

Share your code if you want more help. Include a Snippet of your code, or attach your VIs, so that we can better assist you. We are here to help, but won't spend all day recreating your code from scratch.


 

0 Kudos
Message 3 of 12
(3,825 Views)

i am sorry i am not able to attach image

could you send me u r mail id plz.

i will send immediatly

0 Kudos
Message 4 of 12
(3,823 Views)

@sridhar..reddy wrote:

i am sorry i am not able to attach image

 


try a different browser.

0 Kudos
Message 5 of 12
(3,819 Views)

yahoooo...

any way i attached the image .

suggest me a solution for this one too plz...

0 Kudos
Message 6 of 12
(3,810 Views)

i had taken the condition if numeric3 is greater than 0 then spredsheet should generate report.

and it shuold stop if it is less than or eqaul to 0.

if i enter 1 into the numeric indicator report is generating but it is generating cintinuously  it is not stopping if the value of umeric indicator is leaa than or eqaul to 0

and for the second time if it is generating the report along with previous data (first time generated data).

How to over come this problem.

0 Kudos
Message 7 of 12
(3,787 Views)
Since you keep appending data to the table, why wouldn't you expect the entire table each time? Your code makes very little sense.
0 Kudos
Message 8 of 12
(3,760 Views)

ok what should i do now.....tell me a solution.

 

0 Kudos
Message 9 of 12
(3,748 Views)
Instead of locals, write to a queue as in the standard producer/consumer design pattern. Also, forcing your program to use the abort button to stop is bad design. Don't wire constants to the termination terminal.
0 Kudos
Message 10 of 12
(3,732 Views)