How can I generate sine signal long 10ms?

Hello world

I would like to do next: generate a sine or a DC signal for a period of time, 10 ms, that is to say after that, I want that my trips to Earth, so that the next time that I run the program. I use DAQ Assistant and DAQ 6211.

Any help or advice will be great!

Best regards

Pero

pero_kr wrote:

Let's say I have a while loop in my program. When I press "run" the loop runs over and over again, until the stop condition occurs. How long (in milliseconds, microseconds or nanoseconds) takes to my PC to do the operation in an iteration of the loop?

Hope this time was make myself clear. Thank you much for the help.

That depends entirely on what is inside the loop, and what does your computer and what operating system you are using. You cannot create a deterministic loop with a non-deterministic operating system like Windows. An iteration of the loop could take 5 msec, or it might take 5 seconds if the OS thinks it must go off and do something very important, like updating your computer to solve all these security holes that has Windows. You can use call loops, but those who are not guaranteed to operate at exactly the specified frequency since you are at the mercy of the operating system.

I still don't see why this information is important to you. Did you do as suggested and watched the examples supplied with LabVIEW and settle with DAQmx? They show you how to do the generation continues.

Tags: NI Software

Similar Questions

  • How can I generate modulated amplitude signal?

    How can I generate modulated amplitude signal?

    I got this VI examples NOR but in this VI "m message signal .vi is missing. So, how can I generate missing VI or VI full for the Amplitude modulation signal using 5441 PXI and PXI-5610 as upconvertor. If possible guide me steps to generate.

    Thank you and best regards

    Isabelle Kodgirwar

    Graduate student

    University of Texas at Arlington.

    Hi Aron,

  • How can I turn my signal on my toshiba L650 wireless

    How can I turn my signal on my toshiba L650 wireless

    Hi Troytttt,

    1 Windows operating system you are using?

    2. what happens exactly with your wireless connection?

    3. have you updated the drivers for wireless card?

    You can visit the following links and check if it helps:

    Troubleshoot low wireless signal quality

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-low-wireless-signal-quality-problems

    Wireless network card: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/wireless-networking-frequently-asked-questions

    Solve problems, find wireless networks

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-finding-wireless-networks

  • How can I generate a list of all the albums I have in my music library

    How can I generate a list of all the albums I have in my music library

    See http://answers.microsoft.com/en-us/windows/forum/windows_7-sound/how-to-print-a-list-of-items-in-the-window-media/6490fe4f-bb0e-4afa-97ca-3ce58c3aaeba

    but, if you only do this several times, you can use this procedure instead:

    Open a command prompt in your folder music [shift-right click on the name of the folder in the Windows Explorer & select a window of commands here]

    Run the dir/ad/b /s > AlbumList.txt

    Then open the text file in Word and he put away: -.

    Replaceyourusernamewith Nothing \Music\ C:\Users\

    Replace-with ^ t [the code of the tab]

    Select all, convert table to use the trademarks of the tab as column separators

    Select column 1 [the artists], and delete

    If there is garbage in all 3 columns - go just delete the columns thus

    That should leave a unique list of album names

  • How can I generate a table of contents of bookmarks

    How can I generate a Table of contents of bookmarks in Adobe Acrobat XI?

    Something to try.

    Rick Bostein provided an Action of Acrobat "report bookmark".
    With this report in PDF format you can insert at the beginning of your PDF document to serve as a "TOC".

    Go here:

    https://acrobatusers.com/actions-Exchange

    Scroll a few.

    Be well...

  • How can I generate my own InDesign ePub file without the encryption.xml file?

    My Bookstore (B & N) will not accept my ePub file because it does not want the encryption.xml file included. How can I generate a file InDesign ePub, for my own books, without him? Is there a box somewhere? I searched through the ePub export area and boxes of file information, no luck.

    Error message from PubIt.com B & N:

    We found a file name called encryption.xml in your container of EPUB, which refers to the part, or all, your file is encrypted. We do not accept any encryption in source ePub files. After the closure of this message, please remove the file encryption.xml your ePub and you can try to download your ePub file again.

    If you want to apply DRM to your title, go to Section 4, question H and select Yes. PubIt! apply DRM to your title once you have downloaded your ePub without encryption file.

    Thanks for your help...

    Sorry I wasn't clear. Do not embed fonts at all. No matter what.

    Take care, Mike

  • How can I trouble shoot for long term concurrent progams

    Hello

    How can I trouble shoot for long term concurrent progams
    applications: 11.5.10.2
    DB: 9.2.0.8

    I want to know what are the steps to check what competing demand for long-term occur?

    Thanks in advance

    Hi, this is already discussed, check the thread below

    a concurrent request has been running for a long time

  • Using Labview and PXI-4461, how can I AO0 output Signal Square and AO1 output waveform

    I am using PXI-4461 and Labview, boredom, generating 2 signals simultaneously.

    How can I get AO0 out square and exit AO1 SignWave?

    Help, please. (The example Code would be nice)

    Thank you.

    Create two signals and make a table with them.  Use DAQmx Create Virtual Channel to create two channels.  First waveform will be sent to the first string, second waveform on the second channel.

    I understand not all as calendar, clock frequency, amplitude, trigger and other parameters.  You can add these things.  This is just a basic example.

  • I can't generate multiple signals with different phases.

    Hello community!

    I created a simple signal generator versatile (see Signal "Generator.vi"). When I try to put two of these generators in the same VI ("testbed non working.vi"), I'm not able to independently change the phase of the two signals. Only one of the two phase buttons actually modifies the two signals, while it has no effect.

    However if I copy and paste the exact schema even twice in the same VI, rather then import VI Builder, everything works fine ("Test Bench working.vi").

    It seems to me that the two generators are sharing anything other than the phase variable. I'm new to LabView and I can't understand what is happening and how to fix it. Can you please help me understand?

    Thank you very much

    Hello

    This is because multiple instances of the basic vi function generator will work regardless - they share information.

    To fix this one true constant wire to signal to reset the basic vi function generator enter your generator of signals vi.

    Best regards

    Florian

  • The address window has been reduced. How can I make it any longer so I can see the address (or most of them at least)?

    I've updated to Firefox for Mac 3.6.23. I have OS 10.4.11. Immediately, I noticed that the address window has been reduced to about half an inch. The search engine is long, like the address used to be window. It's not good for me. I usually use the address window to make changes and move it to a new page. I can't do it now. How can I make long once again the address window? Can I return to 3.6.22? I need this long window.
    Sincerely,
    Gerald E. Strickland
    Bradenton, Florida

    You can place the mouse between the address bar and the search bar, and it will become an icon of resize.

    Press the left mouse button and drag it to the right to make the larger location toolbar.

    You can also reset the related wides by deleting localstore.rdf in the Firefox profiles folder

  • How can I generate XMP sidecar files?

    Hello

    Do what you want will be the whole of the law.

    I'm trying to find a way to generate XMP sidecar for my files of Adobe Bridge's RAW DNG files. How can I do this? The reason why I asked is that my instructor really gets on my case because I'm not able to generate XMP files.

    Love is the law, love under will.

    Sincerely,.

    Jessica sideways

    Have never used DNG, but I understand that all the info is on the DNG file and there is no separate XMP file.

  • How can I generate/copy to output pixelated high resolution?

    Okay, I admit, I am very new to the Guide, but I'm running into a distracting pixelation problem with Adobe Illustrator CS3.

    OK, so I have a vectorized image. It is low resolution (72 DPS), because it is fundamentally fair lines. Preview in Illustrator shows beautiful, totally smooth lines: picture perfect. I "Select all", copy it into Photoshop (in pixels), and the image looks totally crap! Any breaches, without anti-aliasing, etc.. So I thought I just enlarge the image, set the size of 300 DPI raster document and saved the new file .ai. Nothing helped, either. Even transformed to higher resolution does not resolve it no more.

    Finally, I decided to just take a bloody screengrab of the preview window, thought that would at least give me a clear picture. Alas, I thought wrong. Illustrator always happening a crappy picture in Photoshop! (Or rather, what you get in PtrScrn is apparently still vectorized data continues to show horribly Photoshop). So now, I am faced with a preview window of Illustrator that can show the vectorized image better than anything else, but with no way to export it as a rasterized image quality! Very frustrating.

    I hope someone knows how to solve this problem. Thank you.

    P.S. I wish I could show you, but I can't do the screenshots!

    P.P.S. I refer to 'Overview of overprinting' above. 'Pixelated Preview' seems as crappy AI. So, the question then becomes, how can I output my stuff as "overview of overprinting?

    Hello Iwakura-san,

    Please do not pay attention to the rude and sarcastic Doug Katz unnecessary comments. The majority of us, we are here to help others.

    Illustrator create lines using mathematics, so each line will be always smooth. You can enlarge or reduce the work and will not affect the quality of the work.

    Photoshop uses pixels to create or manage files. So if you enlarge or reduce the work will have an impact on the quality of the work. If you have an original canvas defined as 72 DPI (dots per inch), and then you change the resolution to 300 dpi, everything will have serrated edges.

    Solution: Copy the text from Illustrator (as you do), and then paste it into Photoshop. Right now Photoshop will show you this window:

    In your case, you want to select "Smart Objects", this option will allow you to re - sizing your work without losing the quality of the work:

    Here is a video on how to do it:

    http://www.Adobe.com/products/Photoshop/pop_smart.html

    Please let me know if I understood your question.

    I hope this helps!

  • How to use generate multiple signals on a single DAQ Assistant

    I am trying to generate several AO on my DAQ card, but I kept getting an error. I looked at the error and he said that I had to use a single DAQ Assistant. So, I created one, but I can't understand how to connect the signals. I get lines that don't connect. Is attached a picture of the installation. Thank you!!!

    If you want to use the type of dynamic data, you must use the appropriate function. Do not use the construction. Use the Signal to merge. Then wire you the output of said directly to the Assistant.

  • How can I generate a new recovery key

    How to generate a new recovery key having lost it

    For Apple ID, you mean?

    Go to the Apple ID page, click on manage your Apple ID, login, if you have not already. Now, you can click the password and the Security item in the left navigation bar and click on replace lost keys. Follow the steps here, and your old made no valid recovery key, and a new creation.

  • How can I synchronize two signals in Labview?

    The first signal is a pulse index which gives the position of a reference point of the wheel (= 1 for 0 ° and signal = 0 for 1-360 °), and the second signal gives the total force meeting the wheel. The two signals have different sampling rates high. The first signal is always 360/rotation, but the second signal varies from cycle to cycle based on how fast the force is changing. The signals are in the form of two columns of numbers in an excel spreadsheet.

    I would like to do such as Labview at the exit of the angular position of the reference at the time of the cycle where the wheel knows the maximum strength in degrees. Can anyone suggest a vi or a method that I might be able to use for this task? I am new to Labview, so any help is appreciated.

    Hi Westerman,

    I have a little trouble to understand the basics of what you're trying to do. A little more details would be very helpful pointing you in the right direction. If you want to align the timestamps/reference of the two signals time?

    I've included a link to a document that describes generally how encoders (I guess that your pulse index indicates that you are using an incremental encoder) can be used in LabVIEW.

    http://www.NI.com/white-paper/7109/en

    You should also try the search the forums for questions relating to the use of a rotary encoder in LabVIEW. I was able to find several with the included code example.

    Feel free to provide us with a few details and we'll help guide you.

    Andy C.

    Technical sales engineer

    National Instruments

Maybe you are looking for