Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

LOOP WHILE AND OTHERS

Please help me in these problem number wise I have attached my vi for refreance 1. I am running a while loop in these vi that will continuously take data from the dAQ. There is a problem in the valuses stored in the the waveform chart that I will later save in my computer. I need to run the loop while for almost 7 hours. But the data stored in the chart gets out of order after three hours data . I donot know which settings to do so that my seven hours data remain in the order 2. I have placed an indicator at the end of formula 3 and formula 4 block.. I need that this indicator should show value only wheni stop my vi or when the value after the formula gets down to value 30 . I have tried it but its not working… 3. You can see that I have make the blocks for three batteries in the front panel … I need to make a tab for each of these . I have seen the examples but I ma unable to impement that 4. I am getting values from another sensors. That sensor saves the output in excel. I need that labview should import that excel file and should show the graph of that. I am sending the excel fil that I need to read through labview Please help me in these issues. I would be thankfull Waiting for reply

0 Kudos
Message 1 of 4
(3,331 Views)

Hi data logging,

 

Thanks for posting. Let me see if I understand what you are asking and if I can help out with the questions that you have.

 

  1. I'm not quite sure what you mean when you say that the data "gets out of order" after three hours. One potential option could be to increase the chart history length that you are selecting for your waveform charts. Perhaps if you could further explain the behavior that you are seeing and/or provide screenshots, it will help us to find a good solution.
     
  2. You would like an indicator to not display a value until the VI stops or until it is below a certain value, is this correct? To make the values of the indicators not update until the VI is stopped, you can place the indicators outside the while loop. Then if you would also like to update the value when it drops below a certain level, you can create code that will compare the value of the data to your specific value and write the value to the indicator using a case structure and a local variable.

  3. There are a number of graphs on the front panel and you would like to place them within a tab control, is this correct? What methods have you tried to implement it already? Would placing a Tab Control on the front panel and placing your objects within the tabs accomplish what you are looking for?

  4. If you would like to read in values from a spreadsheet, there is a Read from Spreadsheet.vi that should be able to take an excel file and output the values from it to be graphed. You may just need to manipulate it to get the data to appear the way that you desire.

 

Let me know if these will help, thanks!

 

Regards,

Joe S.

0 Kudos
Message 2 of 4
(3,205 Views)

1. http://forums.ni.com/t5/Multifunction-DAQ/saving-data-into-new-file-in-a-folder-every-time/m-p/16744...

2. i have tried to place indicator outside the loop but it is not working... not connectng to it

0 Kudos
Message 3 of 4
(3,183 Views)

Hello data logging,

 

Thanks for your reply. I see that you are currently working on issues in another forum thread. Is the issue in that discussion related to the issues that you are seeing here? Perhaps you could explain what you mean when you say that your data "gets out of order after three hours".

 

For creating the indicator, below is a screenshot of the method I described in my previous post. Placing the indicator outside your while loop and using a local variable to update it should be able to provide that kind of functionality.

 

Example.PNG

 

Regards,

Joe S.

0 Kudos
Message 4 of 4
(3,100 Views)