Generating arbitrary wave function

Hi all
I try to generat the arbitrary wave function and I use this example which I attached.
I have 2 question: 1- I dont know about Table Control, what is it?
2-How can I add another function like sin in my plot?
I will be happy if you suggest also another code.
Best regards
Attachments:
main2.vi ‏15 KB

Hello vsa
Apparently the Wave Table Control is the amplitude levels in one cycle of the arbitrary wave. You can insert diferent amplitude levels that the wave can reach in every cycle. 
To add another function like a sine wave, you can use the simulate signal express vi and a build array function to do so. Also, the Simulate Arbitrary Wave can do the job when creating arbitrary waves. I modify your code, so you can examine how to use this functions.
Hopefully this information will help you.
Omar R.
Applications Engineer
Attachments:
main2.vi ‏60 KB

Similar Messages

  • Creating random timeseries in Labview to Arbitrary wave generator

    I do not know anything about Labview but somehow i need to get this task done.
    How do i make a random data time series using the data arrays in a text file to be generated into the arbitrary wave generator? Can somebody please provide an example file for this?
    Thank you in advance. 

    Hello Nazerrul,
    There are several ways to do something like this.
    First, many Arbs also have function generating capabilities, including random noise generation. What exact arb are you using?
    If your arb doesn't have this capability you could use the Gaussian White Noise Waveform VI to create a noise waveform that you could then load into your arbitrary waveform generator. How to do this part depends on your arb. What exact arb are you using?
    In short, more information is needed, including the arb you are using and what you have done so far in getting this to work.
    Regards,
    Dan King

  • Unable to generate sine wave

    Hello everyone!
    I am currently working on my Bachelor project at a company. i am stuck with a problem.
    I have designed a labview program for vibration test system. I have used cRIO 9076 as the controller with NI 9263(as D/A) and NI 9234(as A/D).
    The loop works as follows. the input is given from the labview program. it is then sent to the cRIO. the output of CRIO(that is output from NI 9263) is given to the amplifier. the vibration shaker vibrates based on the input from aamplifier. then the accelerometer detects the vibration and sends it to the NI 9234 and loop repeats iteratively. since i have designed a sweep sine vibration system, the output of cRIO is a square wave. it should be sine wave.
    the probelm is i am getting a square wave as output from my NI 9263 which should be a sine wave output. I have two subVI where i use nominal to binary convertor(for NI 9234) and binary to nominal (for NI 9263) as calibration mechanism. 
    the question is where have i went wrong? what should I do to get a sine wave? 
    PS: on searching NI i found out some formulas (to generate sine wave) and designed a FPGA and LabVIEW program to generate a simple sine wave and got a sine wave. if that formulas is to be included where should i include that?
    Thanks in advance.
    Regards,
    Vishal.

    Without seeing your current code, there is no way we can even uess as to why you are creating a square wave instead of a sine wave.

  • JPublisher generated wrapper package function name contains "ORIG_PKG"$FN

    jPublisher generated wrapper package function name contains "ORIG_PKG"$FN
    which shows compilation error as
    Compilation errors for PACKAGE BODY <schema>.JPUB_PLSQL_WRAPPER
    Error: PLS-00181: unsupported preprocessor directive '$FN'
    Line: 2699
    Text: FUNCTION "ORIG_PKG"$FN (P_SOURCE VARCHAR2,
    Along with this, the generated .sqlj file have a calling sqlj content having the same format as
    #sql [getConnectionContext()] __jPt_result = { VALUES(JPUB_PLSQL_WRAPPER."ORIG_PKG"$FN( ...
    This also show sqlj compilation error such as
    Error(91,5): Expected "$FN" and found ")" instead.
    and a warning
    Warning(91,5): Invalid SQL syntax at:
    JPUB_PLSQL_WRAPPER."ORIG_PKG"$FN(
    ^^^^
    Encountered "$FN" :
    Was expecting one of:
    <EOF>
    "AND" ...
    "BETWEEN" ...
    "IN" ...
    "IS" ...
    "LIKE" ...
    "NOT" ...
    "OR" ...
    "ROW" ...
    "AT" ...
    "MOD" ...
    "RANGE" ...
    <CONCAT_OP_> ...
    Any suggestion would be helpful. thank you.

    Just to put a proper closure to this thread, there were 2 issues with the Jdev version I was using (11.1.2.0.0)
    1) Wrapper for PL/SQL not getting generated properly.
    2) Webservice proxies are not getting generated properly.
    The 2 issues were taken care by generating the wrapper and proxy on a much higher version of Jdev.

  • Generate DB DOC functionality should be able to specify a schema like TOAD.

    I have created a request for this previously. I was hoping it wold be in the next release.
    Its awesome to be able to specify a schema if you have the rights to generate documentation for it.
    Generate DB DOC functionality should be able to specify a schema like TOAD.
    Description I like the Generate DB DOC functionality.
    It only seems to work for the account you are connect to.
    I would like to see it work more like TOAD in that you could specify a schema and see the layout of that schema without having to find the account for it if you have rights to the objects via SELECT_CATALOG_ROLE or SELECT DICTIONARY_ANY or whatever objects you have rights to..
    This is good for admins who have dictionary rights but now the password of the schema or a person who has been granted rights to a particular set of objects..
    Looks like I got to sign onto TOAD to do this one for now since I don't know the schema password..

    Hi,
    You can submit any feature requests at Oracle SQL Developer Exchange - https://apex.oracle.com/pls/apex/f?p=43135:1:2266866887402592:::::

  • How to dynamically adjust Frequency, Phase and Amplitude for a Generated Sine Wave in C/C++?

    Hi,
    I wonder if anybody know how to dynamically adjust Frequency, Phase and Amplitude for a Generated Sine Wave in C/C++? This is a part of my project: I need to dynamically generate a sine wave voltage signal by some calculation using the data from a simultaneous analog input and another signal.
    Your help will be appreciated so much!
    Marlon

    Hello Marlon,
    Here is an example of changing frequency and ampliude for an E-series device in Labwindows/CVI. The programming should be similar in C for your S-Series device. As is says on the linked webpage above, this process is going to be very processor intensive since you will continually be creating a buffer.
    Nicholas C
    National Instruments
    Applications Engineering

  • Why do i get ringing when i am generating Square Wave using PCI 4461 DSA Card

    Hi,
    when i generate square wave form DSA card PCI 4461 i am getting ringing effect as per my observation of waveform generated in CRO.Can anybody tell me why is this effect seen and how can it be rectified and removed from the signal in LabVIEW.
    Regards,
    Sneha

    The analog outputs on the 4461 (and the analog inputs, for that matter) are band-limited by digital lowpass filters. These low-pass filters have a brick-wall response in the frequency domain, which results in Gibbs-phenomenon ringing in the time domain. See this discussion, among others:
    http://en.wikipedia.org/wiki/Gibbs_phenomenon
    The ringing will be excited whenever there is significant signal power near the abrupt band edge, because the abrupt cutoff will result in signal power being located just below an absence of power in the spectrum. Whenever signal power appears in spectral isolation like that, you can expect ringing in the time domain response. Your square wave consists of a series of harmonics at frequencies below, near, and well beyond the digital filter's cutoff. When the digital filter cuts off the higher harmonics, the ringing is created.
    To prevent the ringing, you must create a waveform mathematically that is bandlimited already. The result will be a square wave with slower rise and fall times, but no ringing.
    Hope this helps,
    Ed

  • EDIFACT D93A - suppress generating automatically a functional group

    Hello!
    I try to generate a EDIFACT D93A ORDERS from a xml-File.
    I want to have a EDIFACT structure without a Header or Trailer for the functional group (UNG and UNE).
    The xsd and the ecs I use are without functional group (Syntax 3 without functional group - generated in SpecBuilder). The UNB an the UNZ is also generated automatically by B2B, but this is OK.
    How can I suppress generating automatically a functional group(UNG and UNE)?
    Thanks for help.

    Hello,
    B2B has default Document Protocol Params for Interchange and Group as well, hence it is generating the Interchange and group as well. If you want you can override those values while defining the document protocol params, but not prevent it from generating the group. HTH.
    Rgds,Ramesh

  • How to delete lock entries generated by the function module "BAPI_OBJCL_CHANGE"

    Hi experts,
    I'm now trying to make an add-on program
    which updates material master information by the background job.
    To update the "Classification" view of material master,
    the program calls the function module "BAPI_OBJCL_CHANGE".
    If the "RETURN" information is valid,
    then the program calls "BAPI_TRANSACTION_COMMIT" (with the "wait" parameter 'X').
    Contrary to my intention,
    lock entries generated by the function module "BAPI_OBJCL_CHANGE" remains after "BAPI_TRANSACTION_COMMIT".
    As a result, the material updated remains locked until the add-on processing ends.
    To shoot this trouble, I read some SCN discussions below:
    <<lock unlock record>>
    ⇒ As I wrote above, I checked the parameter for "BAPI_TRANSACTION_COMMIT".
    <<BAPI_OBJCL_CHANGE Lock Error !>>
    ⇒ I cannot call the function module "BAPI_OBJCL_CHANGE" with "IN UPDATE TASK" option
    because of "BAPI_OBJCL_CHANGE" attributes.
    ("BAPI_OBJCL_CHANGE" is not a "Update Module".)
    How can I delete lock entries generated by the function module "BAPI_OBJCL_CHANGE" ?
    Thanks in advance.
    Tom

    I quess/hope you want to remove locks in you caller program and not locks required by the update task processing to insure database consistencies...
    Did you use the WAIT option in the commit FM, else if there are no other locks in your called program a call of FM DEQUEUE_ALL could solve your problem.
    Regards,
    Raymond

  • Unknown type in include generated by the function library?

    Hi,
    I have an include LZSHIP$01, that is generated by the function library.
    *   THIS FILE IS GENERATED BY THE FUNCTION LIBRARY.               *
    *   NEVER CHANGE IT MANUALLY, PLEASE!                             *
    INCLUDE LZSHIPV01 .
    FUNCTION $$UNIT$$ Z_SHIP_STATUS_PLANNED
        IMPORTING
           VALUE(I_TKNUM) TYPE !VTTK-TKNUM
           VALUE(I_COMMIT) TYPE !COMMIT_FLG DEFAULT 'X'
           VALUE(I_REVERSE) TYPE !CKML_MODE_REVERSE DEFAULT ' '
           VALUE(I_LOCK) TYPE !DO_LOCK DEFAULT 'X'
           VALUE(I_VTTK) TYPE !VTTK_ALV
           VALUE(I_ZVTTK) TYPE !ZVTTK
        EXCEPTIONS
           !RV_SHIPMENT_READ
           !ENQUEUE_EVVTTKE
           !SD_SHIPMENT_HEADER_CHANGE
           !SD_SHIPMENTS_SAVE .
    but I get the error that type do_lock doesn't exist. Now I can't create do_lock, because the name doesn't start with Y or Z, and I can't replace the type do_lock by another type in the include, because the include is generated by the function library, and I can't change it manually.
    How do I fix this? thx!

    go To SE37 : Z_SHIP_STATUS_PLANNED.
    go to Export Parameters Tab and Chnage Types reference there with desired one instead of DO_LOCK.

  • Generate Page List Function

    Can anyone let me know where to launch the 'generate page list' function? I am developing a module based on strict coding from the client. The instructions tell me to delete code where they've marked it and then generate using the "Generate Page List" function. It is supposed to list the pages, in order, that make up the entire lesson.
    I attached an image of what the Generate Page List window looks like. Someone please help!!! Thanks in advance!

    I never got it. Which is why I was asking the forums how to access it. There were specific instructions given by our client and within these instructions they say to generate using the 'Generate Page List' function. The instructions are as follows:

  • Generating sine wave

    Hello,
    I have a small labview problem.
    I want to generate a sine wave pulse with labview and send this to a pc oscilloscope by using my soundcard.
    First VI I made creates a sine wave and sends it to the pc oscilloscope. Works perfectly.
    But now i want to create a sine wave with only one period (second VI). Problem is then that the VI blocks if i want a high frequency (I need 10kHz)
    So the VI works on low frequencies but gives this error with higher frequency:
    "the sound driver or card does not support the desired operation."
    Can somebody give a solution for my second VI (creating sine with one period on 10kHz).?
    Thanks in advance!
    Jelle
    Solved!
    Go to Solution.
    Attachments:
    GeneratingSineWaveManyPeriods.vi ‏59 KB
    GeneratingSineWave1period.vi ‏37 KB

    Hello Benje,
    The problem/difference you're seeing is indeed in the coding and also in the sound card.
    In the "working" example you're using the Simulate Signal VI with the following settings:
    - 44100 samples per second (sample rate)
    - Number of samples 10000 (samples per generation cycle)
    In the non working example you specify:
    - sample rate = 1000*"Frequency Control value". This sampling info should be fixed to (for example) 441000 Hz.
    - Number of samples 1000 (samples per generation cycle)
    As a sidenote:
    Is there any reason why you used different functions to generate similar signals in the 2 VI's?
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Input generated continuos wave and shift its phase

    Hi
    As a part of project I have to generate a sine wave using a function generator then using elvis input the genrated wave in  labview.I have to sample it then shift it's phase by 120 .I know it is possible to input the signal by DAQ but I dont know how to make the phase shift.Is there any function provided for phase shift in labview
    many thanks

    I actually dont know the name of these functions
    Attachments:
    1.jpg ‏2 KB
    3.jpg ‏2 KB
    www.jpg ‏2 KB

  • Generate sine wave triggered by impulse?

    Dear all,
    i am new to this labview software and signalling field. Ineed help on the following assignment task.
         - Generate a 50Hz sine wave triggered by impulse with decay rate of 6rad/s
    I know it is a very simple program but i struggle to get the program done. Help would be much thankful.
    Regards
    Ken

    Actually, no hardware is used, we just need to virtually generate a sample sine signal that is triggered from impulse from functions in Labview. It is for analyzation usage.
    Decay rate is the signal will reduce by frequency of 6 rad/s or we put is as 6Hz for example.

  • How to use the "Fade Wave" function in CS3?

    I have found old tutorials which reference a "Fade Wave" either filter or function under edit back in PS6, but I can't seem to find it in CS3.  Is there any way to enable this, or an add-on which includes it?

    Control-shift-f will fade the most recent filter. A lot of smoke tutorials involve fading the wave filter. Fade... is under the Edit menu, and is only selectable directly after a filter or fade-able action has occurred (such as painting with a brush or filling with pixels).

Maybe you are looking for