Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Current measurement and display of RC circuit

Suppose I have  a RC circuit and a known supply. The current in an RC circuit would vary. How can I measure the current in this case?

 

I want to display the current measured on a chart from the time t=0 to the time the capacitor is fully charged. If I use the DMM vi present in the examples of ELVIS and plot the measured current on a strip chart, at what frequency will the strip chart plot the current i.e what is the rate of plotting? Can we control it? If yes, how? Can we attain the rate of 10 samples per millisecond in ELVIS I?

0 Kudos
Message 1 of 9
(4,203 Views)

@jatin10 wrote:

Suppose I have  a RC circuit and a known supply. The current in an RC circuit would vary. How can I measure the current in this case?

 

I want to display the current measured on a chart from the time t=0 to the time the capacitor is fully charged. If I use the DMM vi present in the examples of ELVIS and plot the measured current on a strip chart, at what frequency will the strip chart plot the current i.e what is the rate of plotting? Can we control it? If yes, how? Can we attain the rate of 10 samples per millisecond in ELVIS I?


ELVIS is covered in the http://forums.ni.com/t5/Academic-Hardware-Products-NI/bd-p/10

 

0 Kudos
Message 2 of 9
(4,196 Views)

Thank you for replying,

I seaeched the above mentioned forum but still my query remains unsolved.

Can someone please solve my problem? I would appreciate your painstaking efforts.

0 Kudos
Message 3 of 9
(4,176 Views)

This sounds somewhat like a school assignment. We do not do your homework for you because you would not learn anything that way, in addition to being dishonest. Even if this is not a school assignment, showing what you have tried to do and asking specific questions about how to improve your VI will tend to get you answers more quickly.

 

I am not aware of the capabilites of ELVIS, so these comments are general.

 

How are you getting multiple readings from the DMM? Some kind of loop? Then what determines how fast the loop iterates? Can you get multiple samples per iteration or just one? What is the maximum sampling rate of the ELVIS hardware? The answers to these questions and some thought should get you closer to the answers to your questions.

 

Lynn

0 Kudos
Message 4 of 9
(4,159 Views)

Thank you for your not so helpful reply. 

I thought that the forum encouraged problem solving technicalities. Moreover I am not asking you to prepare my vi. It's just that after too much research, I still find that Elvis manual needs to explain more on current measurement. Moreover the forums do not usually have posts regarding current measurements which is one of the most challenging topics which people tend to avoid.

If you could help me in some proper way, I would appreciate your painstaking.

Thank you


0 Kudos
Message 5 of 9
(4,143 Views)
Quite frankly, you should be posting to the board that Lynn mentioned. Elvis is an academic product and you won't find many users of that hardware on this board. Your initial questions also seemed related mostly to sample rates and general LabVIEW and not so much current measurement.
0 Kudos
Message 6 of 9
(4,139 Views)

Thank you for replying Sir

I know how to measure current from ELVIS. It states that Current Low terminal needs to be grounded while Current High is to be placed at point of interest. Using this, i observe the value of current on the DMM. However, if I wish to plot these values using a strip chart, I do not get a desired result. Here, comes my problem of sampling. Since I am working on a windows platform, I can't set the duration of my loop update(in FOR or While loop) below 1ms. If i set it to say 0.001ms, it takes it to be 0.

Since i want the measurements to be at a higher rate, so that they get plotted conveniently on graph, I am stuck.

I wil soon attach a vi that will further clarify my problem..

In the meanwhile, sir please help in any possible way if you could understand the root of my problem( which is current measurement and display from elvis at a higher rate)

Thank you

0 Kudos
Message 7 of 9
(4,133 Views)

Now you have clearly described a specific situation which can be addressed.

 

The shortest wait time which can be specified in a For or While loop is 1 ms. To get samples faster than that requires the hardware to take multiple samples for each time the software reads. Can the ELVIS DMM do that? I seriously doubt that any inexpensive DMM can sample at 1 MHz.

 

Basically you want to set the hardware sampling rate to the speed you want, such as 1 MHz. Then you start the sampling, typically as a continuous process. Inside a loop you read the samples in blocks. For 1 MHz sampling you might read 10000 samples every 10 ms. After acquiring the samples you want, exit the loop and shut down the acquisition task.

 

If you will be using sampling rates on the order of 1 MHz and the duration of the acquisisiton is more than a few seconds, you will need to be careful about memory management.

 

Lynn

0 Kudos
Message 8 of 9
(4,121 Views)

Thank you Lynn,

I will work on the approach and see if i get what I desire...

0 Kudos
Message 9 of 9
(4,109 Views)