Jump to content

newbie2

Members
  • Posts

    6
  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 2009
  • Since
    2009

newbie2's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi! I have attached the current VI I am working on and I am having a little trouble working out the logic for my particular interest. The basic application of this VI is to time an interval registered by a start switch and then ended by a separate stop switch. The difference is then found between those two times. On the stop switches (which is the lower half of the block diagram) I am trying to register the stop time. Right now, the time registers when the switch closes and remains closed until the program stops. Currently, inorder to register the time, the switch must remain closed throughout the entire program. I would like the stop time to register if the switch remains closed OR if the switch is closed and then opens again (due to the weight bouncing off/rolling off) I would like it to work in either situation of the weight keeping the switch closed OR the weight initially closing the switch and then rolling off. In either case, I would like the first moment the switch closes to be the time used in the time interval calculation. I think it should be a pretty easy fix...I apologize if it's really basic... Thanks so much I just wanted to add some clarification that might make addressing my problem much simplier. I would like the stop time used in the calculation to be the first time the switch closes (regardless if the switch reopens again or if the weight bounces and closes the switch multipe times) Let me know if you need any clarification at all! Betsy_Patch_Project.vi
  2. Thank you for your help! I am new to labview so your explaination kinda went over my head... What should I change on my current VI inorder to see actual values instead of just zeros?? Will this execution highlighting be helpful to someone who is unfamiliar with labview?? I will try to go poke around and see what I find... Again, thank you for your patience!
  3. Duh! Thank you! I wasn't connecting the input into the subtraction node inside the for loop. Thanks so much! However, when I run my VI with the correct connection, I get six zeros to write to the VI...did I need to change the form of the number in order to view it while in Excel? Or is there a way to add a visual display to the front panel so at least I can double check that it is in fact computing the difference? Why do I see 6 zeros when I open up the Excel file? Thanks!
  4. I'm sorry to be so thick but when looking at my current VI (attached below) I have everything currently on there except the input to the subtraction node. I'm failing to see to where I should connect this input. Where on my arrays/loops should I attach into the input of the subtraction node? Thanks so much! third_practice_write.vi
  5. Thanks for your help! I am having trouble with how to connect what I currently have on my VI (the start and stop arrays) to the input of the subtraction node. How do I connect the arrays to the input terminals of the subtraction node? Right now, there is no other terminal to connect them to the subtract node. I apologize if it is very simple, I am very new to LabVIEW. Thanks so much!
  6. Hello! I apolgize for my very basic questions but I am very new to LabVIEW (I just started using it last week!) and therefore am not very good at troubleshooting yet. I have created a VI (attached) that registers the start and stop time of a set of switches. I am trying to figure out how to write the collected data to a spreadsheet. Ideally, I would like to subtract Stop Switch #1 from Start Switch #1 and obtain a value which would then be written to a spreadsheet. And continue this process for all six switches (Stop #2 minus Start #2, Stop #3 minus Start #3, Stop #4 minus Start #4 ect...) so I would have six values written to my spreadsheet. If it is easier however, to write all 12 values to the spreadsheet, I can just subtract the respective values once in excel to obtain my desired result. Thank you so much for your help! If possible, it would be best if you could show me on Labview itself. I am a visual learner and struggle when given actual sentences and have to turn them into programming... Please let me know if you need any clarification on what I am trying to do! Thanks Again! working_twelve.vi
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.