I want to apply single square or sine wave

Now I used NI-FGEN and NI-Scope for bender element test, I want to know how to generate single sine or square wave for input wave by using NI-GEN and how to recieve the sigle wave by NI-Scope(normally in NI-FGEN, I saw only continuous wave generation type).Is it possible to solve this problem by using only NI-FGEN and NI-Scope only ? (without LABVIEW). Thanks you so much

Hi,
Thanks for contacting National Instruments. The NI-FGEN and NI-SCOPE drivers do not only have to be programmed using LabVIEW. They can also be programmed using CVI, C, and Visual Basic.
If you don't want to do any programming and would rather just generate and acquire waveforms with basic functionality you can use the soft front panels (SFP). There is a NI-SCOPE SFP and a NI-FGEN SFP. These can be found by going to Start >> Programs >> National Instruments and choosing NI-SCOPE or NI-FGEN. You will see the SFPs in these directories. NI-FGEN SFP will allow you to generate both square and sine waves at different frequencies and amplitudes. NI-SCOPE will allow you to read in waveforms at various sampling rates.
Hope this helps!
Erick D
Appl
ications Engineer
National Instruments

Similar Messages

  • How can I get stable Sin wave through NI 9264 ?

    Dear all,
    I would like to generate 64 analog sin wave with frequency up to 20K Hz.
    Then I bought 4 NI9264:
    25 kS/s/ch simultaneous output
    Hot-swappable operation
    Spring terminal or D-SUB connectivity options
    250 Vrms isolation (spring terminal version)
    60 VDC isolation (D-SUB version)
    .The attached is my file for the generation. when I used Osciloscope to monitor the output, I could not get any stable output.
     Could I have the reasons and suggestions for my objective please?
    Thanks!
    Zhu_nuo
    Attachments:
    64 Channel Programmatic v2.vi ‏22 KB

    Hi Zhuming,
    The VI above only provides waveform information for a single channel. In order to output data across all 64 channels in the task, we can make use of a For Loop to build an array of waveform information for each channel. In the example below, I've made use of an Auto-Indexing For Loop in order to build up a waveform output array of 64 elements. I've wired this to an NI-DAQmx Analog 1D Wfm Write VI; the 1D array's elements represents each channel in the group of selected channels for generation.
    An important thing to note is that the NI 9264 16 channel analogue output modules have a maximum sample rate of 25 kS/s/ch. This means that each channel is capable of writing 25kS/s simultaneously.
    To reliably generate a signal, we generally need to have it comprised of around 5 to 10 points of data. This allows us to represent the signal to a good degree of accuracy. For example, if I wanted to reliably output a 1Hz Sine Wave, I would need to break the 1Hz wave into ten separate points and then output them at a rate of 10Hz. In terms of the NI 9264, the maximum frequency content (Two points of information) that can be generated is 25kHz/2 = 12.5kHz wave. The maximum clear wave frequency that we could produce with the 9264 (A wave built up of ten points) is 2.5kHz simultaneously across each channel. This is all to do with Nyquist's Theorem. This should explain why the frequency appeared to drop.
    Out of interest, how are you measuring these output frequencies?
    Kind Regards,
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • Sine wave on startup

    I searched for this all over and can only find references to start up sounds like 5 beeps or breaking glass.
    A couple of times I have started up my PowerBook G4 to have it make a single mid-ranged sine wave sound for a second or so. Then it waits for a few seconds and makes the normal startup sound. Everything seems to be running fine, except that hard drive access has become pretty slow. I tried running repair disk and it did nothing. What does the sine wave sound signify? Like I said this has only happened a couple of times, and is the only unusual error I've gotten.
    Thank you,
    Andrew
    PowerBook G4 17"   Mac OS X (10.4.8)  

    sometimes slow drive access means failing hard drive.
    all kinds of noises could be made by failing drives also.

  • Generate n sine waves and add them together

    Hi
    I'm new to Labview and I want to generate n number of sine waves and add them together to form one signal that can be out put through a DAQ card. Each successive wave frequency will be the multiple of a base wave all will be the same amplitude.
    This to me suggested a For loop with a sig generator  and a passback in it but when I tried this it threw an error because the dt were different.
    Any help will be appreciated.
    Thanks

    Show us what you did.
    LabVIEW Champion . Do more with less code and in less time .

  • Multiplying the Positive slope of sine waves

    Hi all,
            I ve got a small problem.I want to multiply 2 sine waves in the following manner:
    Calculate the difference in amplitude between 2 samples ie 1 and 100 and  calculate the same difference for another sine wave and multiply them.
    The Signal is being acquired real time, so I should be able to multiply the differences for all the samples.like diff bet 100 n 200 then 200 and 300 so on
    Only the Positive slope of the sine wave should be multiplied.Negative slope should be ignored and the multiplied sine wave should be displayed in a waveform chart.
    I ve been trying this but I am unable to do it.This is kinda urgent,so any help would be appreciated.
    I have no problem with the acquisition part.Only the Multiplication part is bothering me.
    Thanks

    Your query is somewhat confusing. You talk about multiplying sine waves and then you talk about amplitudes and differences and slopes. Then you ignore the negative slopes but want the result to be a sine wave.
    Please post your VI which attempts to do this and point out where you are having problems. Save typical data in controls as default rather than including the acquisition parts since we will not have suitable hardware to test it.
    There are many ways to multiply signals or segments of signals so someone will probably be able to help once we know what you are trying to do.
    Lynn

  • Inverter--Modified Sine Wave

    I just bought a Whistler inverter for use in my car, rated at 200 watts. The manual for the inverter says that "The AC output is called 'modified sine wave'"; it also says "Check with the appliance manufacturer for compatiblity with sine wave inverters if you're unsure." So, will the Mac's power supply work with an inverter producing a "modified sine wave"?

    no problemo I say. My home power is run by an ancient Trace modified-sine 2012 inverter (off the grid). I also have a cheapo 300 w inverter in my car, very useful for miscellaneous charging. "Modified sine" just means the tops are not peaking like in true sine-wave inverters or grid power, with peaks @185v (rms, averaging 117-120v AC). The peaks (@60 hz) for "modifid sine" are stepped-topped at like 164v); valleys are likewise @ like 80v, too, so rms average is still 120v (over time). It is true that inductive loads, like battery charging, suck up peaks first. So one would think that modified sine would be bad. But they are fine! The magSafe battery charger is a huge cushion between basically any kind of AC power: browned-out 3rd-world legs or whatever, within specs, which are 50 - 60 hz, 110 - whatever volts. Modified, even square-topped sine wave is ok. That type of ac power may run clocks and turntables funny, by they are fine for charging a MBP IMHO.

  • How to apply single sine or square wave

    Now I used NI-FGEN and NI-Scope for bender element test, I want to now how to generate single sine or square wave (normally in NI-FGEN, I saw only continuous wave generation type).thanks you so much

    If I understand your question correctly, it sounds like you would like to output one period of a sine wave or square wave and then just 0V DC. To do this you can use the niFgen_Basic_Arb_Sequence_Example. You will want your first sequence to be a sine (or square) wave and then the second sequence to be DC with an amplitude of 0V. You could replace the while loop in that example with a sequence structure with a wait in the structure to last just a bit longer than your sine wave. This will ensure that your sequence doesn't repeat.
    I hope this helps answer your question.
    Regards,
    Doug K.
    Application Engineering
    National Instruments

  • How do you apply Single Responsibility principle to a repository

    I am trying to apply "SOLID" whenever I can and try to use common sense and avoid a pattern when I see that a pattern is creating more problems than it's trying to solve. I don't want to apply a pattern and make life difficult for somebody else using
    my code just for the sake "I write patterns" if you see what I mean.
    Now I am struggling with one of the principles that I thought was the easiest to grasp: "SRP".
    How do you practically apply this principle to repositories?
    Let's suppose I have a
    IEmployeeRepository
    IUserRepository
    IProductRepository
    and commonly they will have methods like these:
    public interface IUserRepository
    User GetUser(int id);
    IEnumerable<User> GetAllUser();
    void DeleteUser(int id);
    same for employees and products.
    Are we saying that each of these method should be a class on it's own? even though at times we are talking a single line of code?

    Hello,
    "Are we saying that each of these method should be a class on it's own? even though at times we are talking a single line of code?"
    interface is not a method. It has its own definition and you can refer to here:
    http://msdn.microsoft.com/en-us/library/87d83y5b.aspx
    Any from your question I think you may still confused about the usage of interface. In this way, I will recommend you have a look at the following blog:
    http://www.codeproject.com/Articles/18743/Interfaces-in-C-For-Beginners
    "Interfaces in C # provide a way to achieve runtime polymorphism. Using interfaces we can invoke functions from different classes through the same Interface reference, whereas using virtual functions we can invoke functions from different classes in
    the same inheritance hierarchy through the same reference"
    With the blog you can check that code to see details about how to use interface.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "How do I generate a sequence of waveforms, like first a sine wave, then a square one, and say again a sine wave?"

    "Hello everyone, I hope someone can answer the following question. How do I generate a sequence of different waveforms, with different attributes?
    Like, i want to generate a sine wave for some time, then a square pulse of some width and then again a sine wave of some other time. Finally I want to repeat this sequence. I'll really appreciated it if I can get an answer soon. Thank you!

    From the previous comments I am assuming that your waveforms are arrays, rather than the waveform data type. I am also assuming that the sine waves on both sides of the square wave are the same signal.
    If so then I suggest a slightly different approach. 1. Generate your sine wave, rather than the empty array. The length should be the length of the entire end signal.
    2. Generate the square waveform. You can either generate it at the length you need, or you can generate a much larger square wave, and then use the Array Subset VI to get the portion you need. Which method you use depends how you want to implement the whole method.
    3. Use the Replace Array Subset VI to place the portion of the square wave at the location (index) of the original sine wave you ge
    nerated.
    The result of this method will be an array that starts with your sine wave, and then at the index you choose it will place the square wave of the length you want right into the signal, and then finish up with the sine wave for the rest of the signal.
    Evan Collier
    Application Engineering
    National Instruments

  • I only want to apply iMatch/iCloud to one of my iTunes playlists, not my entire library. Is that possible?

    I only want to apply iMatch/iCloud to one of my iTunes playlists, not my entire library. Is that possible?

    Hello efisch81,
    As far as I know, this is not currently possible. It matches the entire library or none of it. For specific playlist syncing, you'll still need to sync traditionally through iTunes for now.

  • Want to apply Css to Fields Inside PanelGroupLayout

    I have ADF Fusion Web Application with Jdeveloper 11g
    I have customize skin with my css file
    The Problem i face is that
    All the fields inside panelFormLayout works good with the css i use but when i put them inside panelGroupLayout they differ completely
    This is my css file
    af|panelFormLayout
             font-family: Arial, Helvetica, sans-serif;
          font-size: 12px;
            font-smooth: auto;
            border:solid 1px #6691bb;
            text-align: right;
            background: #f3f9ff;
            font-weight: bold;
    af|panelFormLayout::label-cell 
            font-family: Arial, Helvetica, sans-serif;
            font-size: 12px;
            text-align: right;
            color: #333;
            font-weight: bold;
    }i want to apply this style to all fields insied panelGroupLayout how to make this

    Hi,
    use
    af|panelFormLayout af|inputText { ... }
    if you need to apply this to other components, use the following pattern
    af|panelFormLayout af|<component>{ ... }
    Frank

  • I want to transmit a square pulse through USB port, is it possible?? if not then what is the best way to do that, preferable is with serial then parallel, and its compatibility with vista,XP,and @))7 windows

    hi froends
    i want to transmit a square pulse using lab-view, please help how to do that, the preference  will be USB,SERIAL, Parallel ports, it it must be compatible with all the os versions, like 2007 windows, vista,XP and other.
    please help..................

    sanghi wrote:
    OK I WANT TO DRIVE A RELAY.
    SUGGEST SOMETHING 
    Calm down!
    People can't read your mind.  If you want help, repsect those who contribute their time for free to try to help you.
    Put yourself in our shoes.  If I tell you I want to build a rocket, what information would you give me?  You would need to know if it's for a hobby, something bigger, carries a payload, carries living organism, how far does it go, where does it land (if at all), etc...  
    First of all, we still don't know what you want to do with this relay.  Using a computer to generate is series of pulses is not usually the best way.  What is the frequency of the pulses that you want to transmit?  And why do you want to use a relay?  What are you driving?  Can the relay that you are using fast enough to follow the pulse train that you'll be sending?
    Provide information, ask questions politely and people will help you.

  • How do I Fix DDS Generated Sine Wave That Produces a Periodic Square Wave?

    Hello,
    I'm an undergraduate researcher with almost no experience dealing with FPGA semantics and other National Instruments hardware in general.  Part of my project revolves around creating a sine wave signal via the FPGA on an sbRIO-9632 that is output via the board's analog I/O pins, and I found it convenient to adapt the code provided by the National Instruments tutorials (http://zone.ni.com/devzone/cda/epd/p/id/6066) to have it run on an sbRIO FPGA.  The problem I'm encountering right now is that the actual output I'm seeing is a square wave as opposed to the smooth sine wave that was expected, and I've exhausted all my ideas on possible ways to debug this issue.  Can anyone please give me feedback if they've seen this problem before or offer other suggestions on fixing this?
    I'm currently running LabVIEW 2009 with the appropriate real-time and FPGA modules on a 64-bit Windows 7 machine.  Again, the hardware is an sbRIO-9632 complete with analog I/O.  I appreciate it everyone!

    I am also having this issue and have not been able to find a solution in the forums. I am somewhat of a rookie so pardon me if I seem ignorant in any way. I am working on a graduate project where I need to produce some sine waves and I am getting more of a square wave when I output it and measure on the scope. The program I am running is quite simple at the moment to attempt to discover any errors by process of elimination. I have the sine wave generator in a while loop outputting to an AO port. I am using the cRIO 9022 with the 9269 AO module. I will attach screen shots of my code and my oscope image
    Attachments:
    sine wave.jpg ‏76 KB
    code for project.PNG ‏169 KB

  • Syncing iphone: Itunes says settings have changed, asks if i want to apply these changes, but no changes have been made?

    Itunes 11.3, but this has happened for quite a while, several versions at least. Iphone 5, Ipad 2, this happens with both devices. I sync locally to my macbook pro (late 2011 version, running 10.9.4), using a wired connection.
    I will have the 2 devices hooked up via the factory supplied cords. Doesn't actually matter if it's both or just one device. If I have, for instance, the iphone selected via the sidebar, and am displaying the Summary tab, normally you have a sync button to the lower right. Quite often, this will randomly change to two buttons, - Apply, Don't apply, as if I have made settings changes or something, although I haven't. No changes have been made. If I select a different device in the sidebar of itunes, a pop up will open asking me if I want to apply the changes? I say no, all is good. BUT - it's annoying!
    Is there any way to make this stop?

    No-one? Am I the only one? I doubt it...

  • I'm using Lightroom cc, I'm trying to create a develop preset. I'm making changes to one photo that I want to apply to many other photos, one of the changes is to blur the background using the adjustment brush. When I am blurring I am going over the photo

    I'm using Lightroom cc, I'm trying to create a develop preset. I'm making changes to one photo that I want to apply to many other photos, one of the changes is to blur the background using the adjustment brush. When I am blurring I am going over the photo several times, when I go to create the preset the adjustment brush is not an option to check. How do I add the adjustment brush to the develop presets. Thanks Ron.

    The adjustment brush cannot be added to a develop preset.
    If you can replace the adjustment brush with a gradient filter or radial filter, you can add those to a dev preset.
    If a gradient filter or radial filter is not an option for you, you can at least create an adjustment preset to remember your brush settings.

Maybe you are looking for

  • Specs exist somewhere for printing iPhoto books?

    Are there specs available somewhere that detail how the books are printed (paper weight etc.) and how they prefer files? i've read that files should be in RGB form but the printing is in cmyk, are they converting it? if my originals are in cmyk why n

  • Save rendered JSF page into HTML

    Hi, We have a requirement wherein, a rendered JSF (i.e. JSP) page needs to be saved in HTML form on server side. One option is to write filter which will process the response and write to File. But in this case filter will intercept all request, whil

  • Problem with Safari downloading

    I can use Safari to browse just fine, but whenever I try to download something it won't start downloading or even bring up the download menu. The status bar starts then after a few seconds just quits and goes back to the original URL. other users on

  • Financial Reporting with supporting details row suppression doesn't work

    Hi, I've a report on Planning data with a conditional suppression on Row (Advance Set-up ) and it works exactly as I want. When I activate the supporting details and run the report... the suppression does NOT WORK ANY MORE. Can somebody help me ????

  • How can you trim the contact field value without cloudconnector?

    How can you trim the contact field value without cloudconnector?