Generate single ramp signal

I cannot seem to figure out the time parameters of the Simulate Arbitrary Signal.
I want to make a single ramp from -1 to 1 over .990ms then back to -1 in under 10us. So when I put it in a for loop I can get N sawtooth cycles.
I've been pulling my hair out trying different options of the define signal dialog and can't make it happen.
Can someone help me understand the dx relation to the datapoints and how they are affected by the write/sample numbers in the DAQ part? Please.
Christopher
Solved!
Go to Solution.
Attachments:
one_sawtooth.vi ‏2362 KB

This should get you started. You will need to set up the analog output in the software to match your system. If you change the frequency and sample numbers and the loop delay then you can make it go faster and slower much easier.
Tim
Johnson Controls
Holland Michigan
Attachments:
one_sawtooth[1].vi ‏24 KB

Similar Messages

  • How do I generate a RAMP signal w/ SigEx and SCXI for MTS-407 hydraulic controllers.

    I'm trying to generate a +/-10v full scale ramp signal to pass through two channels simultaneously. This signal will be used as external function [generator] for two MTS-407 servo/hydraulilc controllers connected to a single specimen. When I hit the "Start" button I need the function generator to generate a ramp (rate and amplitude) and pass this voltage off to both 407's.
    My first question I guess is: do I need a special SCXI module to access the NI-FGEN output signals or can these signals be passed through the DAQ card via the SCXI 1302 and Feedthrough panel?
    More question to follow...
    SCXI- 1000 Chassis w/ 1346 adapter
    PCI 6281 DAQ card
    SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
    SCXI- 1180 Feedthrough Panel w/ 1302 Block
    Signal Express 2012.
    Win7 Enterprise

    Hello,
    I am trying to do something similar to what you mention. I trying to use a labview program with a NI PXI-8106 and NI-PXI 6251 card to send a signal to a 407 controller through the external program BNC connector.
    When trying the software I don't get any signal send or response in the actuator.
    How did you solve this problem?
    Do I need special hardware?
    Please any help is appreciated
    Mi software is attached.
    David P.
    Attachments:
    ATTestControlV1.0.vi ‏261 KB

  • Generating an input signal

    I have completed the FPGA Module tutorial and I am attempting to generate an input signal, but i really don't understand exactly what is going on in the tutorial.  I have two FPGA I/O nodes in the FPGA VI that are labeled "ADC 0 PORT A_I" and a corresponding one labeled Q as well.  I'm assuming that these generate a sine wave that the tutorial used as the input signal.  I want the input to be a sine wave with noise, and Mauricio suggested using DDS, but I don't know exactly how to add this to the existing FPGA VI that I created in the tutorial.  Can anyone help me out on this one? 

    I'm a bit confused by your post. The FPGA Module tutorial guides you through the creation of a VI that acquires a signal. The I/O nodes labled "ADC 0 Port A I" and "ADC 0 Port A Q" are the I and Q elements of the acquired and downconverted signal. Just to be able to test this code, the HOST VI also configures one of the Analog Output channles in "Single Tone Mode" and therfore generates a sine through it. However, the FPGA is not doing anything to generate the sine tone, it's the DAC which is configured to generate the sine tone.
    The I/O nodes that you need to use to generate signals are the "DAC 0 Data" and "DAC 0 TxEnabled". You will also need to use another clock, the "DAC 0 IQ Clk".You might want to read some documentation on the Analog Output and look at the IQ Output example. You can find the documentation on this post: http://forums.ni.com/ni/board/message?board.id=ifrio&message.id=140

  • Differential Signal to Single Ended Signal Conversion

    Hi,
    Im facing a problem here. I need an ADC that reads 0-20mA. The signal comes from a signal conditioner that creates a differential signal. However, a NI device with single ended inputs is much cheaper than differential inputs.
    The signal conditioner already exists and I cant change that.
    Im looking for something that can convert the differential signal to a single-ended signal.
    I tried finding an IC that does that, but couldnt find one. Do they exist?
    Maybe its easier for voltage than for current.
    How is this usually done?
    Best regards,
    Arvel

    Use a current sensing resistor and then use a current shunt amplifier.  The amplifier will amplify the voltage drop across the reistor.  From there, you can just read the output voltage with a DAQ.  Create a DAQmx scale to do the math to convert that voltage into a current reading.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • I am trying to use generate code in signal express to import into labview.

    I get this error when i try to generate code in signal express to export to labview . I have tries the error suggestions but I am still having problems. any help would be appreciated
    The version of LabVIEW you are generating code into does not contain all the necessary SignalExpress support files. Make sure you launch the version of LabVIEW with SignalExpress support installed before generating code from SignalExpress. If you want to generate code into more than one version of LabVIEW, uninstall SignalExpress and all versions of LabVIEW except the earliest.  Install SignalExpress, then install any other versions of LabVIEW.  Copy the files from the vi.lib\express\SignalExpress directory of the earliest installed version of LabVIEW into the same sub-directory location of any other version of LabVIEW in which you want to include support for code generation.

    Typically, this problem is repaired by following the directions on the error message. Since it was not, can you please give us more information so we can start determining the cause?
    What version or versions of LabVIEW do you have installed? What version or versions of SignalExpress do you have installed? Could you post a file with a listing of the files in <vi.lib>\express\SignalExpress for the version of LabVIEW you are trying to use. You can either post a screenshot (in PNG or GIF format) of the directory dialog or use the command prompt to generate a list to a file (preferred). To generate a list with the command prompt, do the following:
    Launch the command prompt from the start menu — Start»Programs»Accessories»Command Prompt
    Navigate to the drive you have LabVIEW installed on ( usually C: ) — C:
    Change directory to the appropriate LabVIEW directory — cd "\Program Files\National Instruments\LabVIEW 8.2\vi.lib\express\SignalExpress". Change the LabVIEW version to the one you actually are using. Do a directory listing and redirect the output to a file — dir > filename.txt. You can use any full path for the filename.txt. If you specify a simple name, it will end up in the current directory.
    Please post your project. Verify that you are using the version of LabVIEW you think you are by launching it before you start code generation.
    Thanks for your patience.
    Message Edited by DFGray on 08-28-2008 08:23 AM
    Message Edited by DFGray on 08-28-2008 08:24 AM
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How to generate single signature for code signing and timestamp

    Hi we are developing Win 7 VC++ app using Crypto APIs.
    Here code signing is done using Cryptsignhash() method, that generates the signature. Later for time stamping CryptRetriveTimestamp() method is used which also generate the time stamp signature. Thus we wanted to know
    whether there is any single Crypto API available that can do code signing and timestamping together and shall generate single signature. At verification side it should be also possible to separate code signing and timestamp signatures prior to verification.
    Any help is highly appreciated. Thanks.

    On 4/17/2015 1:21 AM, Babu12345 wrote:
    *Hi we are developing Win 7 VC++ app using Crypto APIs. *
    *Here code signing is done using Cryptsignhash() method, that generates the signature. Later for time stamping CryptRetriveTimestamp() method is used which also generate the time stamp signature. Thus we wanted to know whether there is any single Crypto API
    available that can do code signing and timestamping together and shall generate single signature.
    No. Normally, you don't counter-sign the actual data - you counter-sign and time stamp your signature. You don't want to transmit the whole data (which could be a) large and b) confidential) to a third party. This is why it's a two step process.
    Igor Tandetnik

  • How to continously generate a voltage signal with dynamic amplitude.

    Hello all,
    I am looking for ideas and pointers (help in other words). I would like to generate a voltage signal (sine for example) on a AO of my NI cRIO-9263 (DAQmx). The signal should be:
    continuous (without jumps ie. smooth)
    dynamically able to be change the amplitude, frequency and sampling rate.
    interuptable so that the AO can be turned off.
    I have tried to use the DAQ Assistant but once it runs in continous mode, I have the impression that the waveform should not be changed. Is there maybe a way where I send repeatedly N samples of the waveform to the AO and gain more control over the signal that way. But if I do that how can I ensure that the signal is continous?
    Further more this output has to be generated in an event application ie. in the background.
    Your ideas and input is appreciated. Thanks, Bernie

    See if this example VI helps
    Ches this one too

  • Oracle Report call Oracle Report to generate single output

    Is it possible for an Oracle Report to call another Oracle Report and generate single output?
    Report one is a form letter and the second report is the accompanying information described in the letter. The reports cannot be merged because the second report is very complex and used by many programs and purposes.
    Using 6i on 10g database, currently migrating to 11g Reports and database.
    Thank you.

    6i is not certified with 10g DatabaseWell, that is not completely true. 6i Even works and is partly certified against 11g, since Oracle Apps 11 is built in Developer 6i and certified against 11g.
    To call a report from a report use SRW.RUN_REPORT.

  • How to generate single move order for same components amongs different job using component pick release

    Hi all,
           I am new in manufacturing and we want to implement functionality of generating single move order for same component among different job using component pick release. Can any one help in this.
    we are using oracle R 12.1.3 version.
          For example. We create finish good XYZ which is build in WIP item. We create discrete jobs for XYZ suppose JOB1,JOB2,JOB3 multiple job we can create for XYZ item. in these JOB suppose component abc is similar with 5 quantity. so our goal is to generate 1 move order for all three JOBS with 15 quantity of abc component.
    please help me to achieve this goal. Immediate  Reply will be appreciated.
    Thanks & Regards
    user11152750

    PranitSaha
            Thanks For your reply. Can you please tell me in detail how can I group as I am new. How using MRP we can group same component from different job in single move order for delivering that component to shop floor.
    Thank you..

  • Generating frequency hopping signal

    I'm working with 5661 + 5671.
    I want to generate frequency hopping signal with 5671. The frequency band is 2400-2500MHz, and the hopping rate is one hop per frame (1.024ms) or 976 hop per second.
    I also need to be able to test the hopping signal with 5661 RFSA.
    Does it possible to run such hopping test with the 5661+5671?
    Thanks,
    Chen
    Solved!
    Go to Solution.

    HI
    I want to generate a hopping signal with PXI-5671 RFSG and want to analys with PXI-5660 RFSA. While seaching for the related posts i came across ur post, The frequency range in my case is between 200-300Mhz but i will use 200-220Mhz due to BW of 20Mhz...the hopping rate i wil use is very slow as compared to urs..i m trying to do this with 10-20 hops per second..
    I m new with the hardware i have used it to generate and analyz the signals but stil unable to generate the hopping signal with predefined hopping sequence and hopping rate...
    can you guide me that how to do this????or can u give me a copy of ur VI so that i can learn it from ur program and regenrate with my specs to chk weather it works or not...??
    I wil b realy thankful if u can help me in anyway....
    REGARDZ

  • Generating a digital signal

    Hello,
    I am trying to  generate a digital signal which can be controlled in terms time i.e. Switching ON for 10 minis off for 5 minutes. I tried to generate a digital signal which is going high but unable to control it. As I am the beginner in labview any kind of help is appreciated.
    Please see the attachment for the developed block diagram
    Attachments:
    digital signal generation.vi ‏17 KB

    It appears that all you posted is one of the shipping examples. Is that all you've tried? You can't control it because you're not actually doing anything inside the loop. You're simply setting the value high before the loop starts, and not changing it in the loop. What kind of device do you have? Is it software controlled? If so, you will need to keep track of the time inside the loop. You can use the Elapsed Time VI to do this. Attached is a simple example to get you started to see how this can be done. I'm sure you can figure out how to integrate what you did and what I've shown you.
    To learn more about LabVIEW it is recommended that you go through the introduction material, tutorial(s), and other material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
    Attachments:
    Switching signal.vi ‏29 KB

  • Generating a flicker signal VI?

    Hello all,
    I'm currently creating a program which creates several tests concerning Power Quality with a Daqmx PXI-4461.
    First of all i would like to say that i have no problem generating or reading signals with the Daqmx.
    I'm currently at the point where I want to generate a flickering squarewave signal (flickering = small voltage dips over time) with the Daqmx, and was wondering if there was an example somewhere on the web that lets me insert the flickerfrequency and % decrease compared to the RMS value
    Like a good professor of mine always said, its better to edit an excisting example then to start from scratch!
    Regards,
    Dennis

    Hello Dennis
    I didn't directly find directly usable code, but I did find something else:
    https://decibel.ni.com/content/docs/DOC-12324
    http://sine.ni.com/cs/app/doc/p/id/cs-13888
    I think that especially the first document could help you a bit further.
    Another thing you could try is contacting the author of the case study to request if he can send you his code.
    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.

  • Whether could I generate one AC signal and acquire one DC signal and one AC signal together using NI myDAQ?

    Dear Sir:
    I would like to know whether I can generate one AC signal and acquire one DC signal and one AC signal together using NI myDAQ? If I can, could you please tell me the easiest way to achieve the goal? If I cannot, please tell me whether I can use both white box to do this because I have got another white box USB-6008. Cheers
    Kind Regards
    Jeff 

    duplicate post
    Don't create a new thread. In the thread above, you asked for someone to review your code but you did not post a modified VI. Your original one is obviously wrong as I noted.

  • Generate single pulse with DAQ card

    Hi
    I was trying to use a VI found on the NI site "generate single
    pulse "DAQ-STC" but another VI is requested in order to run;
    that's "set pulse specs.vi". Someone knows where to find it?
    thanks for all
    bye
    -Claudio
    Claudio Vinegoni
    URL: http://www.gapoptique.unige.ch/members/vinegoni/default.htm
    GAP-Optique Phone: +41 (0)22 7026158 (lab)
    University of Geneva : +41 (0)22 7026082 (office)
    Fax: +41 (0)22 7810980
    20, Rue de l'Ecole de Medecine Email: [email protected]
    CH-1211 Geneva
    SWITZERLAND
    Sent via Deja.com
    http://www.deja.com/

    As of NI-DAQ 6.9, you could find the Set Pulse Specs.vi in LabVIEW/vi.lib/daq/zadvctr.llb.
    Erin
    Claudio Vinegoni wrote:
    >>>Hi>I was trying to use a VI found on the NI site "generate single>pulse
    "DAQ-STC" but another VI is requested in order to run;>that's "set pulse
    specs.vi". Someone knows where to find it?>thanks for all>bye>
    -Claudio>-->************************************************************************>Claudio
    Vinegoni>>URL: http://www.gapoptique.unige.ch/members/vinegoni/default.htm>>GAP-Optique
    Phone: +41 (0)22 7026158 (lab)>University of Geneva
    : +41 (0)22 7026082 (office)> Fax: +41 (0)22 7810980>20,
    Rue de l'Ecole de Medecine Email: [email protected]>CH-1211 Geneva>
    SWITZERLAND>>****************>>>Sent
    via Deja.com>http://www.deja.com/

  • Generating Multiple Modulated Signals

    I was a bit surprised I didn't see this on the forums, though I am new to the RF gear.  What I would like to do is generate two modulated signals, such as 802.15, on two different frequencies.  I am already able to create the signals individually using the modulation toolkit.  I am using a PXI-5671 RFSG.  I have found how to generate with interferance two CW tones in the examples, but do not see how to generate the two modulated tones.  I also need to be able to set one of the modulated signals to a lower power than then other.  I am trying to test adjacent channel interferance with modulated signals.  Any thoughts?
    Troy

    Hi Troy,
    There are a few tricks you can play here but
    they are completely independent of hardware and more on signal
    processing. Basically you need to write both waveforms at the same time
    with different frequency offset.
    1) Frequency Shift. Assume you
    have two completelly independent baseband signals s1[n] and s2[n]. Each
    one should be the same lenght (time duration).
    One of them will
    be transmitted at Fc and the other one at Fc + df. s1[n] remains
    unchanged and s2[n] will be shifted by df using the following VI:
    The
    trick here is to make sure that your sample rate is high enough to
    support the shifting, otherwise you will be aliasing. If you create
    your waveforms with Modulation Toolkit make sure they have enough
    samples per symbol.
    Finally you need to sum all signals s[n] = s1[n] + s2[n].
    2)
    Apply different Powers. Before you add the signals, you only need to
    scale the data correctly. To do this, I recommend to normalize both
    waveforms. This is s1[n]/max(sqrt(|s1[n]|). Thenscale the smaller power
    one. Finally, you will add them together.
    Here is a spectrum of the composed signal:
    I have attached
    an example to do this using 802.15 signals with a few modifications: I
    am not normalizing data but applying headroom to each signal and I
    hardcoded the number of samples per symbol so the maximum frequency
    offset is about 12 MHz. Should be helpful to get started.
    Message Edited by Yardov on 10-17-2008 06:05 PM
    Gerardo O.
    RF Systems Engineering
    National Instruments
    Attachments:
    frequency shift.jpg ‏9 KB
    Generation Multiple Channels.zip ‏32 KB
    spectrum.jpg ‏79 KB

Maybe you are looking for