LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write a VI in Labview to detect the time

To write a VI in Labview to detect time T when the voltage across the capacitor rises to 0.6321 of the applied value. 
Then knowing the value of R, C can be calcul\ted by: C= T/R .  Please where will I start.
 
C = Capacitor
 
R = Resistor
 
T = Time
 
The equation t=RC can be rearranged to show that Vc = 0.6321.E (V)
 
Where do I begin.  I have looked the Labview tutorials.
 
 
0 Kudos
Message 1 of 5
(2,664 Views)

It is easy to measure time.

 Use "Tick Count (ms) " : Returns the value of the millisecond timer.

If you can measure voltage too... where is your problem?

0 Kudos
Message 2 of 5
(2,662 Views)
How are you reading the voltage ? I guess you must be using an DAQ card to do this right ?
 
If you have a card which can read the voltage in a specific interval of time (that you can specify) for a certain number of readings upon triggering (say every 10 microsec 1 reading for 10msec = 1000 ADC reading). The device must be having a buffer to keep all these data as well (so that you won't interrupt the device until it finishes). Once reading finished, you can read the buffer and look for the time reading 0.6 x applied voltage (or close). Once you see this reading, you can calculate the time as [the index of the reading x 10micro sec].
The key here is to find the card that can do it this way.
 
Message 3 of 5
(2,644 Views)
Hmmm.. Is it just me, or does this sound suspiciously like a homework problem?
0 Kudos
Message 4 of 5
(2,591 Views)
it's a little late in the season, but I noticed the same thing
0 Kudos
Message 5 of 5
(2,582 Views)