Jump to content

Ano Ano

Members
  • Posts

    132
  • Joined

  • Last visited

Posts posted by Ano Ano

  1. If the requirement is not to specifically make a *.xls file, but rather just a file that Excel can read, the easiest way to do this is to make a Comma Separated Variable (*.csv) file from your data. Then you don't have to fool around with ActiveX or .Net or anything like that.

    So, for example, your time file would end up looking something like

    timeToThreshold1, timeToStop1, duration1

    timeToThreshold2, timeToStop2, duration2

    timeToThreshold3, timeToStop3, duration3

    ...

    Thank you for the prompt reply!

    How do I make the vi to write to excel after the stop button is pressed, ie after all the data is collected? It keeps asking me to save the data at the beginning.

  2. Hello,

    I am designing a threshold detector with 10 inputs.

    When the threshold is reached (and passed) there will be two data values.

    1. The time it takes for each input to pass the threshold limit

    2. The time starting from the threshold passing till the STOP button is pressed.

    3. The total duration from the start of running till the STOP button is pressed.

    The I want to export to Excel these times and make a column for each of the 10 inputs.

    Also I need the vi to write to excel after the stop button is pressed.

    How can I do all these?

  3. Hello,

    I am designing a threshold detector with 10 inputs (DC). these inputs change in amplitude.

    I want to find the time it takes for each input to pass the threshold limit.

    Using the tick count method I can get the time difference for one of the inputs but not for two or more.

    If i increase the amplitude on the input, i get the correct time difference, after a few seconds I try to increase the amplitude for the second input, and as soon as it passes the threshold then I get the same time difference in both inputs

    I want somehow to start a timer when the vi starts and as soon as the threshold lever is reached to stop the timer (for each input) and log/save the result.

    post-20867-0-80780900-1300441785_thumb.p

  4. OK I have attached my vi.

    I use 2 sinewaves with different amplitudes

    Using the tick count method I can get the time difference for one of the sinewaves but not for both!

    If i increase the amplitude on the first sinewave, i get the correct time difference, after a few seconds I try to increase the amplitude for the second sinewave, and as soon as it passes the threshold then I get the same time difference in both

    Why is this happening?

    This is very important for me as I am going to have 10 ramp signals and i need to know separate time for all 10, and display/export on a table

    Basic Level Triggering of Waveforms5.vi

  5. Thank you all for your replies and sorry for my long absence.

    Yes the Basic level trigger detection vi" is what I needed to turn on the LED.

    There is another issue though on how to log the time it takes from the minute I start the vi to the time that the threshold is reached (and passed)

    How can I do it?

  6. Hello,

    I am a mechanical engineer and Newbie in Labview. I need to design a vi that will act as a threshold detector. I have 10 ramp signals and I want to get , for each signal, an LED turning on (in the front panel) when the the ramp signal rises and it passes a threshold. I also want to be able to log the time it takes for each of these LED's to turn on. I have tried the threshold vi that exists in Labview but I cannot get it to read that the threshold is reached and give a signal to the LED.

    Any ideas?

×
×
  • Create New...

Important Information

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