How can I measure power consumed by a digital cmos circuit
Hi,
I'm trying to measure the power consumed by a cmos digital circuit. Can anyone please give me the steps to do that?
I have already created a simple XOR circuit using basic CMOS gates. I understand that I can measure the power by conecting a wattmeter, but how exactly do I connect it to my circuit?
Please help.
Asmit
Hi Asmit,
Digital parts in Multisim behave base on on/off and there are pin drivers at the gate input/output pins to drive a high or low logic to the appropriate voltage level. The model doesn't provide you with power consumption.
Tien P.
National Instruments
Similar Messages
-
How can i measure a voltage with the digital i/o port on my nudrive using labview?
I am using a 4SX-411 nu drive to control my stepper motor. I need to measure an input voltage at the digital I/O port of the nudrive. How can I program LabVIEW to do that?
ThanksHello Raven24,
Thank you for contacting National Instruments. NUDrive 4SX-411 is a value motion drive and you can connect to it using any of the ValueMotion boards. When using a ValueMotion NUDrive with steppers you have I/O ports 1-4 available for general purpose use, I/O ports 5-8 are reserved for axis inhibit output signals. Refer to section 4-7 of the ValueMotion Hardware User Manual linked below, for information about the jumper settings.
ValueMotion Hardware User Manual:
http://digital.ni.com/manuals.nsf/websearch/6CF7A54E0BDEA1388625665F0054FFDF?OpenDocument&node=132090_US
Once you have setup the jumpers appropriately, you can use the VIs found on the ValueMotion I/O & Limits pallet for configuring and using the I/O channels. Search for "I/O" in the attached help file for more information about these VIs. I hope this helps you out. Have a great day!
Regards,
Nipun M
Applications Engineer
National Instruments -
How can I measure time between transitions at digital input
I am using LabVIEW 6.0 to measure the time duration between 2 transitions in a digital input port. I have a set up including an HP 34970A Data Acquisition unit with the 34907A Multifunction Module plug-in. The LabVIEW program is trying to poll the digital input for level changes and then using the Time function(Tick Count) to check the times at the transitions. However this method doesn't work reliably as I have to measure time periods of 500ms.
Is there any good way of mesuring time period with the above setup. I don't have a module which connects to the internal multimeter in the 34970A. The other stuff I have are a HP 34903A(Actuator Module) and a HP 33120A(Function/Waveform Generator).
Any method for m
ore accurate time measurement with the above setup will be appreciated. If not, what else do I need to make accurate time measurements.Frankly I doubt that you're going to be able to measure time interval with much accuracy. You're periidically polling a static digital input and how often you poll is going to vary. You could try polling as fast as possible and eliminate as many background tasks as you can. If your tolerance for the measurement is plus or minus 100 msce, then maybe you'll get a decent measurement most of the time. If it's plus or minus 5/10 msec, then it will never happen. The pc's clock is just not that accurate and a software timed loop on Windows is not deterministic enough. Get a counter/timer board for something really accurate or use a scope to capture the waveform.
-
How can I measure the hertz in a wave form?
How can I measure the hertz in a wave form?
As an example, this is from BBC Technical Requirements for HD material:
3.1.1 Stereo line-up tones
All stereo tracks must use EBU 1KHz tone (left ident). All tones must be sinusoidal, free of distortion and phase coherent between channels.
Digital Audio Reference level is defined as 18dB below the maximum coding value (-18dBFS) as per EBU recommended practice R68.
See also:
http://www.bbc.co.uk/guidelines/dq/pdf/tv/tv_delivery_to_network_programmes_v1.2-2011.pdf
for full document.
And for BBC Radio:
Not every Network requires tone. Check the delivery requirements with the commissioning network or click here.
Reference tone, where used, should be at -18dBFS or PPM 4 on A, B and/or M.
If submitting material with reference tone, tone and programme material must be have been monitored and measured through the same technical chain. The level of the tone must be equivalent to 0dBu and no less than 8dB below peak audio level for the programme material.
THE LEVEL OF TONE MUST HAVE A KNOWN RELATIONSHIP WITH THE LEVEL OF THE PROGRAMME MATERIAL AND THIS MUST BE STATED; for example: “Tone at 8dB below peak programme level”.
As a newcomer to digital sound (my background is camera) I confess to being somewhat confused. We are normally told to record at the highest level possible. So for voice podcasts I tend to record at about -6dB below peak for maximum volume, distributeds on MP3 files.
But I can underatand that televison and radio especially for analogue transmission) may have limited headroom, hence the requirement for -18dB peak = 0dBM.
I remember when we first rented out Digital Betacam cameras, some recordists were recording almost everything OVER -18dBM.
I suspect that until we have an all-digital world, these requiremnents will still be in place.
Many thanks to all. It's a ghreat community!
Brian Rose -
How can I measure the Graphics Card usage? I.e. percent load
Hello,
How can I measure the Graphics Card usage, like with the processor in Task Manager, but instead giving a percentage usage for the graphics card instead? Is there an easy way to do this, or would it require a lot of code? Is it even possible?Ah, so It's unlikely that Java3D will include anything for reading this data then? I was really aiming at measuring the GPU usage under this API which although i have limited knowledge using, I do at least have some knowledge - I wouldn't have a clue how to access any other API's!
I'm using an NVidia TNT2 card at the moment, which is quite old. -
How can i migrate Power Builder 8.0 Function into oracle PL/SQL
Hi Oracle Experts...
How can i migrate Power Builder 8.0 Function into oracle PL/SQL.. I had migrate some of the coding from PB to PL/SQL. But i don't know how can i convert PB structure(here structure is a data type) into oracle PL/SQL.
Instead of structure what is the equivalent in oracle plsql
Below i pasted my POWER BUILDER FUNCTION:
Long ll_perd,ll_lnperd,ll_mon,ll_effmon,ll_instno,ll_odno
Decimal{5} ldl_actual,ldl_diff,ldl_inst
Datetime ldt_first,ldt_exp,ldt_oddt, ldt_lastprod
String ls_instmode,ls_inst
str_batch lstr_od //Structure to store odamt and oddate
Select pay_c_final,lon_d_expiry, lon_d_lastprod
Into :ls_inst,:ldt_exp, :ldt_lastprod
From loan_mast
Where branch_c_code = :gs_branch and
act_c_type = :as_actype and
act_c_no = :as_acno;
If Sqlca.Sqlcode = -1 Then
f_message('FT-0189',Sqlca.Sqlerrtext)
lstr_od.batchslno = -1
Return lstr_od
End If
If adt_prodt > ldt_exp Then
Select Ceil(months_between(:adt_prodt,:ldt_exp)) Into :lstr_od.batchslno From dual;
lstr_od.cheqdt = ldt_exp
lstr_od.batchslno = DaysAfter(Date(ldt_lastprod), Date(adt_prodt))
Else
If ls_inst = 'N' Then
If adt_prodt > ldt_exp Then
Select Ceil(months_between(:adt_prodt,:ldt_exp)) Into :lstr_od.batchslno From dual;
lstr_od.cheqdt = ldt_exp
Else
lstr_od.batchslno = 1
End If
ElseIf ls_inst = 'Y' Then
Select first_d_due,lon_c_instperd,lon_n_perd
Into :ldt_first,:ls_instmode,:ll_lnperd
From loan_mast
Where branch_c_code = :gs_branch and
act_c_type = :as_actype and
act_c_no = :as_acno;
If Sqlca.Sqlcode = -1 Then
f_message('FT-0189',Sqlca.Sqlerrtext)
lstr_od.batchslno = -1
Return lstr_od // Return Structure
End If
Select Ceil(months_between(:adt_prodt,:ldt_first)) Into :ll_mon from dual;
If ll_mon > 0 Then
Select Nvl(ln_n_balance,0),Nvl(ln_n_instlamt,0),Nvl(ln_n_instlno,0)
Into :ldl_actual,:ldl_inst,:ll_instno
From loan_inst_sch
Where act_c_type = :as_actype and
act_c_no = :as_acno and
ln_d_effdate = (Select Max(ln_d_effdate)
From loan_inst_sch
Where act_c_type = :as_actype and
act_c_no = :as_acno and
ln_d_effdate < :adt_prodt);
If Sqlca.Sqlcode = -1 Then
f_message('FT-0224', Sqlca.Sqlerrtext)
lstr_od.batchslno = -1
Return lstr_od
ElseIf Sqlca.Sqlcode = 100 Then
lstr_od.batchslno = 1
* Return lstr_od*
End If
If adl_bal > ldl_actual Then
If ldl_inst > 0 Then
lstr_od.batchslno = (adl_bal - ldl_actual) / ldl_inst
End If
Else
lstr_od.batchslno = 1
End If
If lstr_od.batchslno = 0 Then lstr_od.batchslno = 1
//For full OD
If ll_mon > ll_lnperd Then
lstr_od.batchslno = (ll_mon - ll_lnperd) + lstr_od.batchslno
End If
If ls_instmode = 'Q' Then
lstr_od.batchslno = lstr_od.batchslno * 3
ElseIf ls_instmode = 'H' Then
lstr_od.batchslno = lstr_od.batchslno * 6
ElseIf ls_instmode = 'Y' Then
lstr_od.batchslno = lstr_od.batchslno * 12
End If
Select :adt_prodt - :lstr_od.batchslno Into :lstr_od.cheqdt From dual;
If ls_instmode = 'M' Then
ll_odno = ll_instno - lstr_od.batchslno // To get OD Date
Select ln_d_effdate
Into :lstr_od.cheqdt
From loan_inst_sch
Where act_c_type = :as_actype and
act_c_no = :as_acno and
ln_n_instlno = :ll_odno;
If Sqlca.Sqlcode = -1 Then
f_message('FT-0224', + Sqlca.Sqlerrtext)
lstr_od.batchslno = -1
Return lstr_od
End If
End If
Else
lstr_od.batchslno = 1
End If
End If
End if
Return lstr_od
Thanks in adance
Arun M MWhat are you going to return the structure to? What I would normally use here if the code was going to be used by other PL/SQL would be a PL/SQL object type.
However, if PowerBuilder is still in the equation (you're moving the logic to PL/SQL but keeping PowerBuilder for the GUI ), then you'll have to return something else, because PowerBuilder doesn't understand PL/SQL object types. Perhaps passing a REF CURSOR as a OUT argument and populating it from the procedure. PowerBuilder could then retrieve the result of the procedure using a stored procedure based DataWindow. -
How can I stop power point from opening each time my Macbook Pro starts?
How can I stop power point from opening each time my Macbook Pro starts?
Remove it from the list in Startup Items (System Preferences).
-
How can I measure TREX server.
Hi,
I'm from Nakisa forum as below.
<How can I calc sizing of TREX server
I'd like to install minimum TREX server for Nakisa.
A document of nakisa is written about nakisa server but it isn't written trex server.
<https://websmp209.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000728933&_SCENARIO=01100035870000000202&>
I found SAP note 1266024 which is written about sizing guide line of Nakisa but it's so difficult to calc.
How can I measure TREX server and which minimun sizing is best to use Nakisa?
Hope you can help us.
Best regards,
MakotoHi Makoto,
try the infos for TREX under http://service.sap.com/sizing.
They are not made for Nakisa. But I am sure you will be able to roughly map them to your use case.
best, Karsten -
How can I measure memory allocation of a Java Application?
We built a web application that enables images to be loaded into a database through a servlet running on Tomcat. We have inconsistent behaivor when more than x number of people are loading images simultaneously. No doubt a memory allocation problem, but how can I measure it?
For example, I'd like to be able to create a graph showing the resources used against the number of people making uploads. I am using Linux and Tomcat/Apache.
I am hoping for something like Memory counters that are available for measurine Windows applications on MS Windows - comes with the Resource Kit. Does this type of tool exist for the Java/Linux market?It is difficult to gauge memory usage from a Java application as the JVM handles garbage collection and even if objects are not referenced they might still be sitting in memory until the next garbage collect.
Anyhow, a way to query available memory is:
Runtime.getRuntime().freeMemory()
You can run this at the begining of a process and at the end and examine the difference. You should call System.gc() before each freeMemory() call in order to try to force garbage collection.
Another method would be to turn to the underlying OS. On linux you could use 'top' or 'ps'. With ps you could do something like:
ps -o rss,vsz,%mem <pid>
Where <pid> is the parent Tomcat process' id. The resulting three columns are:
- Amount of real memory used.
- Amount of virtual memory used.
- Percentage of real memory used.
'man ps' wil give you more options on how to use ps.
There are also fancy graphical stuff like 'gtop' as well.
Hope this helps. -
How can I measure how much Data I am using?
As the headline say:-
How can I measure how much data I am using?
Thanks in advance.Not a problem at all - without wishing to push the point at all, the manual really is very good and worth a read ! although I must admit I have never read it all
http://manuals.info.apple.com/en/iphoneuserguide.pdf -
How can i measure distance ?
i am making afire fighting robot that us camera to detect the fire i made the vi which find the fire through match pattern but now i want to measure the distance between the camera (which on th robot ) and the fire (which located in the image using match pattern) so how can i measure this distance?
khaledyrOk... this is sad, I should be asleep now instead I'm here thinking about this problem.
I've worked out how to do the distance caluclation with no extra H/W and only 1 camera - as Henrik said, the standard solution is triangulation, but you just want to measure distance, so I'm going to assume you're already pointing in the right direction.
Assumptions:
1) It is usual to use triangulation to to measure intenisity, this is because light will have 2 different distances to travel from source to sink.
2) It is possible to use 1 sink if you use mirrors to increase the path of the light so you can have 2 seperate source -> sink distances.
3) having 2 cameras (sinks) next to each other, one covered with a physical filter would have the same effect as the amount of light reaching the 2 sinks from the source will be different.
... following on from 3, it can be assumed that taking 1 image and applying 2 levels of filtering to it before processing will give the same result as if we had 2 different images. Careful setting of the software filter level will then allow it to remain contstant and then the system can be calibrated just as any other system would be calibrated:
Measure the intensity of the source from sink A at distance X
Measure the intensity of the source from sink B at distance X
Measure the intensity of the source from sink A at distance Y
Measure the intensity of the source from sink B at distance Y
If Y=2X the calibration calulation is easy....
Hope this provides more food for thought.
James
P.S. Lynn - currently a firefighter and worked for the emergency services ehh? Always good to see your posts when you have something to add. (Firefighter / Software programmer - what's the difference?)
Message Edited by James W on 04-22-2010 10:56 PM
Message Edited by James W on 04-22-2010 10:56 PM -
How can i measure the speed of the fan in sound and vibration signal simulator box
how can i measure the speed of the fan in sound and vibration signal simulator box
provided the values tach out:2 pulses/revolution and maximum speed = 6000rpmHi. I tried your suggestion and I could not get it to work well. In
fact it worked better without the running average (which suprised me).
I also played with the number of data points but still could not get it
to work well.
Do you have any other suggestions on how I could sort this problem out?
I
have attached a screen shot of the signal. To recap, I'm trying to
measure the'y' position of the flat regions of the signal. The signal
does not have a constant level, so this 'y' position varies with time
in a non-unform manner.
I am currently differentiating
the signal and selecting the y position when the differential is equal
to zero (within a tolerance band).
In the screenshot, the
signal has been zeroed using the method I have described above.
However, it occasionally has glitches which may be caused when the code
picks up a zero gradient at a peak or valley in the signal.
I therefore need some kind of algorithm that only measures the position of the flat regions.
Many thanks
John
Attachments:
screenshot.gif 121 KB -
How can I measure selected area of pixels using photoshop elements 12?
how can I measure selected area of pixels using photoshop elements 12?
Show the 'information' panel F8).
In the middle horizontal section, select 'pixels' on the left drop-down menu.
Use the rectangular marquee tool to select your area: the dimensions in pixels of the rectangle is shown under 'dimensions' on the right.
I think there are other ways to measure a line segment, but you could use the above measure by adjusting the rectangular marquee tools to both extremities of the segment,
- use the move tool to rotate the rectangle so that the diagonal measuring the segment is horizontal,
- move the rectangle to the left, and check validate, which creates another rectangle including the first one
- read the pixel dimension (L:) in the info panel like above. -
How can I measure the copy speed of my compact flashcard to folder?
how can I measure the copy speed of my compact flashcard to folder?
I dont have a stop watch.Hi Steve Zavodny;
Generally compact flash cards or basically slow because of them being flash memory and USB. What are you after here?
Allan -
How can I import data in to the digital word generator in Multisim?
How can I import data in to the digital word generator in Multisim?
I just received this comment from a friend, a RADAR engineer, who has just down loaded Multisim. He has been using HP/Agilent software. He has a work around using a piecewise linear voltage waveform with data imported from Excel but this is not really a good solution. It would also be helpful to import data from Mathcad or equivalent.
"I thought I was about to be impressed with MultiSim but it ended only in disappointment. There is a word generator in the simulation instrument panel which can drive the DAC with a waveform and it can have thousands of lines of values. I opened Excel, wrote the formula to generate the time and voltage points for a chirp, converted to DAC values in Hex and then went back to the word generator in MultiSim to load the values only to find that you have to enter each value manually. It doesn’t even allow you to paste in a list of values from a text file. I’m not going to type 5000 values by hand. If you get the chance to give feedback to National Instruments please ask them if the paste option can be added to the word generator. MultiSim is useful in many regards, but in this case, it left me with the impression that it is considerably limited in capability compared to what I’m used to."Hi,
You can load your data automatically in the Multisim word generator. Follow these steps:
- Save your data file (in excel .xslx ir .csv format) on your computer
- Change the extension of the file to ".dp"
- Double-click the word generator in Multisim and click on Set...
- In the Settings dialog box, click on Load and then Accept
- This will prompt you to select the .dp file you have on your computer, select it and you're good to go
However, in Multisim you have the option of creating your own custom simulation analysis and instrument.
I will try creating the instrument and send it back to you but it might take some time.
Multisim and LabVIEW are very powerful in test automation, with the custom instruments you create for Multisim you don't need to export your data file into excel from LabVIEW (or MathCAD or other tools) and then reload it into Multisim. The test procedure is automated instead.
Please check this reference design about automated simulation
http://zone.ni.com/devzone/cda/tut/p/id/7825
Here is how you can create your own custom measurement tool in Multisim and LabVIEW, but as I mentioned, I will create the word generator and come back to you anyways
http://zone.ni.com/devzone/cda/tut/p/id/5635
Let me know if you have any questions.
Mahmoud W
National Instruments
Maybe you are looking for
-
How should I deal with FTP permissions?
Ok, I'm not sure what would be the best way to deal with this. I have folders set up for several websites that each have a different user that administrates them. So I set each of the intended users home to the website root, and gave them ownership o
-
PDF file creation & Markup Management
Hi, I need to generate automatic pdf files from native application (for ex., from any CAD Software) in SAP. How to do it. Please also give some details about markup management in SAP. Regards, Madhu
-
3rd party 5G iPod charger (13VDC - 620mA): compatible with iPhone?
Hello World When travelling, I used to charge my 5G iPod with a 3d party (Capdase) charger, designed for these devices. But when I look at my Apple iPhone charger, it says 5V - 1mA. The question is: would the Capdase 13V charger hurt the iPhone or ca
-
How do you set Tab Order using the Articles window in CC?
I am in CC 9.2. The work flow I described below was working but then I upgraded and alas no joy. The instruction I found here seems to be obsolete for cc9.2. Tab order through the articles doesn't seem to work any longer. Basically. I have a log form
-
Mail Rules in 10.9.5
In System v10.9.5 my Mail Rules are no longer behaving the way they had been. I went to the painstaking effort of changing All rules, but the was little or no help. So where else might the trouble lie? Are there sys. prefs. that might've been corrupt