Frequency measurement and phase of a square wave using to extract the information of your unique vi

Hi all

I'm trying to measure the frequency and phase of a square wave from a data acquisition card using vi retrieves your unique information. So far, the frequency can be measured precisely, but there are a few problems with the measurement of phase.

I have attached a sample program here. I generate the wave square using Square Wave PtByPt vi. The default sample size is 1000. When I put the frequency = 7.43, phase = 80, the frequency can be measured precisely, but the phase is completely. Is there something wrong with my program?

Thank you very much for your help.

Best regards

A square wave is not a single signal ;-)

If you have a square wave use the edges to make measurements.

Tags: NI Software

Similar Questions

  • I downloaded just standard CS6 for windows and that you do not have an .exe for the installation file. I have a 7z file and an application file that I used to extract the 7z files. I am now at a fixed support.

    I downloaded just standard CS6 for windows and that you do not have an .exe for the installation file. I have a 7z file and an application file that I used to extract the 7z files. I am now at a fixed support.

    Hello

    You must download the file [.7z] 1 and 2 [.exe] file. Once downloaded, keep both files in the same folder.

    Then run the .exe file and it will extract the CS6 Installer for you. With which you can install your software CS6.

    For CS6 direct download link: https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

    You can also check this link: https://helpx.adobe.com/creative-suite/kb/cs6-install-instructions.html

    In the case of additional assistance, feel free to contact support by calling/chat for cancellation requests and billing queries:

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    I hope it helps.

    P.S. If you use the adobe forums, please check useful/correct responses of staff or assistance, if there is.

    Concerning

    Ludo has

  • Continuous measurement and logging model - Hang-Up of may because of the lost output

    The model of continuous measurement and logging in LabVIEW 2012SP1 has a flaw in the Acquisition and recording loop.

    Stop messages manager ignores all messages in the queue of messages. The note says:
    "Stop - empty the queue of all pending messages 'Connect'. Close the reference of TDMS files. "See the picture below.

    This concept breaks if the output message is issued while the Stop message is being processed. The time gap critical to do this is small, because the issue is posted on the front of the queue. But it depends on the treatment in the case of the Manager to stop. Large or small - it can happen.

    The symptom is the application block in an infinite waiting on the queue of message - all commands have no effect, as the rest of the loops are completed. Break terminates the application. Pause button doesn't work anymore. (see this entry forum)
    This problem may appear only after enforcement has become more complex and the schedule has changed - the fresco made model works and does not reveal the question.

    The cure: first of all I thought to preview the elements of the queue before they are scrapped selectively, one by one in the loop to stop, but that usually is not working either, because the output can happen precicely in the laps of time between overview and dequeue - don't forget no outputs are displayed on the front of the queue.

    I think the best option is to replace the flush of the queue in the Stop messages with a selective messages waiting managers one by one and check if the output is - if so, reseat it in the front of the queue. All other messages are discared. That look like this, have seen interesting parts...

    Here is the message loop to stop with the problem highlighted.

    As I'm not mistaken, I think it's better that NEITHER updates the model to avoid this problem.

    Here is the case of the resting State in the case of stop message:

    Us do not hang the CPU run a constant stream of messages ineffective because we only "Log" enqueue messages when we are in the valid state logging (a State of rest here is again a passthrough).

    The worst case, it's that there are number of register requests already in the queue when the system shuts down. After receiving the stop idling message, state transitions and other Log messages become non - ops due to the State.

    I consider the opportunity to post a few screws update

    ~ Simon

  • Updated the macbook pro of el capitan and now will not start. Instead, I get the error message "your computer restarted due to a problem". Someone at - it suggestions on how to solve this problem?

    Updated macbook pro today for the latest version of el capitan and now will not start. Instead, I get the error message "your computer restarted due to a problem". Someone at - it suggestions on how to solve this problem?

    It would be helpful to post what the screen says.

    -Try to reset memory NVRAM/PRAM and SMC

    MacIntel: Reset of the controller (SMC) system management

    https://support.Apple.com/en-us/HT201295

    Subject of memory NVRAM and PRAM

    https://support.Apple.com/en-us/HT204063

    -Try to start safe mode

    OS x: what is Safe Boot, Safe Mode?

    https://support.Apple.com/en-us/HT201262

    -Start to recovery and repair the startup disk

    OS X: on OS X Recovery - Apple Support

    https://support.Apple.com/en-us/HT201314

    -If it is repairable reinstall the OSX

    How to reinstall OS X on your Mac - Apple Support

    https://support.Apple.com/en-us/HT204904

    -If you do not have a backup using disk utility to restore the internal drive to an external drive, so that you can try to recover the data.

  • transformed of Fourier of the sine and square wave return is not the frequency of the wave.

    Hi all

    I did a few programs to determine the Fourier Transforms of the sine waves and square waves. I understand that square wave harmonics when FTed but the Harmons of the square wave is not out at the right frequency and neither is the sine wave. Any help would be appreciated. I have attached my programs, so you can take a look.

    Thank you very much

    M

    The axis of your frequency VI is missing.

    Given that the data are sampled in a uniform manner, you can use a regualr rather than the graph XY Chart. Then you need not create a table of the x-axis. A property node to set the frequency axis scale multiplier and offset.

    Lynn

  • Measurement of Phase difference of audio - learning how to set the reference

    I'm trying to measure the difference in phase between two audio inputs. (Left and right channel of my sound card)

    Both are free running 1 kHz audio samples that come in and out of phase.

    When the samples are in phase, everything seems to work fine and shows no phase difference.

    However once that signals start to emerge from the +-10deg phase the result keeps jumping around.

    It seems to be the fact that it is changing the reference to determine the phase.

    When I view the phase of the output of a channel is a sawtooth waveform, from 250deg and then wraps round to-110deg

    What I want, it's an entry set to 0 degrees and see the other inputs of difference of phase against it.

    Is there a way to give a signal as being the reference or another strategy?

    Thanks in advance for any help.

    PLEASE NOTE THAT THE acquire.jpg IS ACTUALLY THE VI.

    It wouldn't download like the vi. Please rename extension to acquire.vi to see.

    Finally managed to find the problem.

    Red rooster, I tried to replace your entries simulated with audio inputs card his real world and things turned out horribly.

    It doesn't seem to be a translation between the two. (Perhaps because of my understanding of Labview garbage)

    LabVIEW uses the internal reference of the DAQ cards in order to make phase measures.

    That's what all use the phase VI of measure and which lack of cards not NI - DAQ.

    That's what I thought that missed me first place but there's no way I can see simulations your own.

    To work around the problem, I used zero crossing detectors in order to compare the time ahead or lagging behind the benchmark for the calculation of phase.

    I got the core of the detector from somewhere on the forum but have lost the actual page. (my apologies to the author who deserves the credit)

    Anyway, hope this hepls someone.

  • Why the continuous measurement and Logging in LabVIEW 2012 Project uses strings instead of Enums and orders from the queue?

    Hello!

    I noticed that the continuous measurement and a project in LabVIEW 2012 Logging using chains instead of enums and orders from the queue. I wonder if there is a good reason for it?

    Kind regards

    Anguel

    First, string vs enum debate is probably the version of LabVIEW vim vs emacs. There are good arguments on both sides, and I doubt that there is always a "winner".

    A brief summary of our reasoning for the current state of the project examples:

    1. We used enums for the state machine because it is self-contained. A state machine will never tell himself to enter a State, he does not know. Knowing (as the programmer) all possible States with the help of an enum allows you to enlist the compiler in order to help us avoid mistakes to change the time (because you can't quite out an enum and LabVIEW can be said if you are not covering all cases to a structure of the case, etc..).

      Enums provide greater protection and rigidity by ensuring all withdrew at the time of publishing. This is often the 'default' recommendation that we do.

    2. We used strings for messages in queue manager because the producer of message and the message handler could be independent processes that are reused or traded. Channels avoid the need for the compiler to be able to connect the orders and push this responsibility to the programmer. This allows you to develop some sub-components independently as long as you agree to a series of channel commands that you can manage - you need not to share a file 'messages.ctl' or 'states.ctl '. It is conceivable a loop of message management a message it does not, how you can decide to either silently ignore it or will trigger an error (as we do in the model). The strings make it also easier if you want to swap the queues of LabVIEW outside by a TCP implementation for network vacilitate or intra-Processuse communication where the other end may or may not be written in LabVIEW.

      Channels to provide more flexibility (that is, you can add new commands to an existing via plugins system, you can pass parameters as part of the string, etc.) at the expense of pushing her potential errors at run time and to put more responsibility on the programmer.

    3. The actor's gifts frame a 3rd option - using classes such as messages. For me, it combines many of the advantages of these two enumerations (strictly typed, change errors) and strings (flexible and scalable), but with the disadvantage of being somewhat less transparent (you understand OO, be comfortable to navigate through a multitude of screws, legacy of understanding, etc.).

    I don't know there are other reasons, others to the breast OR had or seen as we validated models and examples of projects in-house, but here are my reasons. We know that we can not design for each situation there - our goal is to get useful models against new users to make them aware of what well thought LabVIEW programs are similar to experienced users know their applications better and I hope they do not hesitate to change what we provide or create their own designs, when they feel it's necessary. (On a side note, please share what you come up with - a community of experts sharing models would be really useful to us all LabVIEW users).

    Best regards

    Simon

  • Variables for voltage and current on each component (for use in graphically the diagram)

    Hello

    I have a very simple circuit containing only a source of AC voltage and resistance of two series.

    I want to draw the voltage of the source and each resistance. I can't find any variable involves pre right now, I know I und came to the value of the resistance.

    for example

    UR1 = I * r1

    USource = I *(r1+r2)

    It's pretty boring... especially because that put in square brackets does not work.

    probably the cause variables containing itselfes media.

    hope you have an idea

    THX

    Hello

    The way that you have set in place now of things is correct. Multisim, as well as most of other circuit simulators, monitors the node voltages, no voltage drops. When you draw your diagram, Multisim assigns numeric node names to each node. That's why you see v(1) and v(2) and not something like V (R2). To find the voltage drop in R2, you will need to calculate V (2) v (1). To know the name of each of your nodes (also called threads), simply do the following:

    1. Click Options > properties sheet
    2. For option Net names, select Show all
    3. Click OK

    To make it easier for you, you can name a few nets to something that is easier to read. You can do this:

    1. Double-click on the net you want to rename (the net is the wire you drew connecting elements)
    2. Enter your name, preferred net in the space provided
    3. Click OK

    Hope that answered some of your questions.

  • I want to buy street and travel 2013 but I want to have all the information I have in the old version 2006

    I want to buy the new version of the street and travel 2013 but I recolected a large number of points that I don't want to lose, because I have version of streets and trips 2006, I would be able to have all the information in the new version? and if so, how do I get? is there a guide or automatically all points will be received in the new version and what about mappoint 2013, could I also get information of street and travel to mappoint 2006 2013?

    Hello

    Check with streets and trips in support of the community and Forum. In the same way
    check with the support of MapPoint and Forums.

    Streets & Trips
    http://www.Microsoft.com/streets/en-us/default.aspx

    Streets & Trips - help and Support
    http://www.Microsoft.com/streets/en-us/support-and-training.aspx

    Streets and travel community
    http://www.Microsoft.com/streets/en-us/community-and-news.aspx

    Streets and travel Forum
    http://social.Microsoft.com/forums/en-us/streetsandtrips/threads

    Support for MapPoint, streets & trips and Highway
    http://support.Microsoft.com/ph/851

    Highway, Streets & Trips, MapPoint - Forum
    http://social.Microsoft.com/forums/is/streetsandtrips/threads

    MapPoiint - Support
    http://www.Microsoft.com/MapPoint/en-us/support.aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • What program to use to take the video of your screen? AND: How to convert .swf in .mp4?

    What program (free) can I use on my HP laptop (running on Windows 7) to take video of my screen? I used Jing to capture video, but it registers as a .swf file. I have not anything that can play a .swf. I tried Zamzar, but he's not convert .swf files. So, what can I use to convert the .swf in .mp4, please?

    I tried to download CamStudio, but Google Chrome has blocked, saying that the zip file would affect my browsing experience.

    I'm not a technology person. Any help is appreciated. Thank you.

    DM

    If you want a basic registration application that TechSmith is also Snaggit that will record audio and video, making the screenshots & is $ 49 for life.  Your call.

  • Extract information from your unique, Phase algorithm/formula

    I use the Subvi extracted a single signal to make calculations of phase of a research project. Phase measures appear to be quite accurate. For my report, I need to be able to specify how phase measures are calculated. Is there a relatively compact way to indicate the formula that LabVIEW uses to perform these measurements?

    Read the detailed help file will give you a formula.  If you want more details, open the block diagram and it performs an FFT of the input data and then uses a peak finding algorithm to interpolate the exact frequency of the three dominant bins.

    Lynn

  • I upgraded to Thunderbird 38.3.0 and when I send people who use Outlook attachments, the attachment didn't come through properly.

    I can send an email with an attachment to a recipient. I tested sending two excellent and attachments in pdf. The recipient receives the email to me and I see trombone, indicating that the message has an attachment. When the user opens the e-mail, however, there is no attachment to find. To make this even more strange problem, if the user sends e-mail to themselves, the new email will have an attachment and they can open and view correctly.

    This recipient is using Outlook 2013 as their e-mail client. It should be noted that when this recipient check their e-mail on their android phone, or their webmail, the attachment appears so very well. It is only in Outlook that this problem occurs.

    I did some research and found the inline attachment problem that many have had in the past. However, when I checked the option mail.content_disposition_type in the config, it was already set to 1. I tried assigning 2 because a forum recommended this setting. That did not fix it. If this problem is a problem of inline attachment, then maybe there another setting in this new version of Thunderbird that needs to be changed.

    As mentioned in the above topic, I use the 38.3.0 version. It is clear from this problem just started with this last update. I'm not positive, but I know that this problem did not start until a few weeks ago, and the only thing I can think of that might have caused this would be a new update for Thunderbird.

    Thank you for your help.

    We found an answer to this problem. It turns out that a supplement called wisestamp was causing our problems. We have uninstalled this add-on and the problem disappeared.

  • I have my ID Windows Live ID have not used for quite awhile and I would like to start using it again, the live ID is always committed, however I don't remember the password

    Hello, I have my ID Windows Live ID have not used for some time and I want to start using it again, live ID is always committed but I don't remember the password and I can't use the reset password option because I don't know that it is marked and "inactive".  Please let me know promptly if you are able to reactivate my live ID.  Once you answer this, I will use the live id address.  Thank you in advance.

    original title: can reactivate you my windows Live ID?

    Hello, I have my ID Windows Live ID have not used for some time and I want to start using it again, live ID is always committed but I don't remember the password and I can't use the reset password option because I don't know that it is marked and "inactive".  Please let me know promptly if you are able to reactivate my live ID.  Once you answer this, I will use the live id address.  Thank you in advance.

    It is a peer-to-peer (user forum.  You don't talk to Microsoft directly.  The answerto your question is, "No."

    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/

    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

  • Allow you advertisers to create links on Web pages. It is intrusive, interfere with my use and boring. I won't use Firefox if the problem persists.

    If my cursor passes over a link, a popup comes a link to the advertiser. I hate this.

    The Firefox browser does not come with such a feature, as I agree, sounds like a malware on your computer or may be added by one of your installed Extensions listed in tools-> Addons-> Extensions.

  • minimum frequency of the square wave generator?

    I am trying to generate waves with a frequency lower than one, but it doesn't seem to be possible for some reason any. If I put it to 0.5 (for example), I just get a flat line. Tried to turn around the details of sampling (frequency 1 and Fs to 500) but still no go. Is it possible to generate frequencies below 1? Thanks in advance

    Assuming you are using the square wave function, simply set the number of samples to twice the sampling frequency of a.5 Hz signal. The default value of 1000 samples/s and 1000 samples gives you of course, 1 second of a data value. Pour.5 Hz, you must display 2 seconds to see the whole pulses (1/.5).

Maybe you are looking for

  • iBook randomly started playing when the phone is turned off

    Just noticed this with the upgrade to iOS9. The phone is off (i.e., black screen, but still able to receive phone calls or be activated with PW or digital), and iBooks starts reading my audio book. We then see the iBook controls in the lock screen. N

  • The last backup was not completed

    After the 9.2.1 update. When I try to backup to icloud I get. The last backup could not be completed. I have 4.3 GB left on icloud and backup on 300megabites, tried to restore, configured as new restored new ipad ios and the same. Finally, I created

  • Need help on how to make dll with VC ++ 2008 for Labview function liblary

    I use VC ++ 2008Express and you want to make the DLL. Since I'm using VC ++ 2008, do I have to install the 'MS redistributable"on PC what dose does not have VC ++? Is there any free ANSI C compiler do DLL for Labview for use with the function call in

  • Icon missing in HP Media Smart Webcam

    Hi, I've recently updated to Win7, but now have a webcam problem. The software is considered to be installed, the webcam is listed in devices and works with Skype. Problem is that I can't access the webcam via CV SmartMedia as it is not listed (only

  • My computer is still slow

    I had Windows Vista and one day it turned suddenly very slow and after a while it would freeze and I have to restart the computer. So I decided to reinstall the operating system, but since I lost my vista disk I downloaded Ubuntu on usb and installed