Generating DC using PXI 5412

Hi ! All,
I program the PXI 5412 for AWG & FGEN application.
I can generate various waveforms like sine, triangle, square, ramp & noise.
I'm trying to generate a DC signal of say 5V amplitude.
I'm able to get it correctly for 0V. But for any non-zero value, I cannot see the rise in amplitude of the DC signal in the CRO.
I've wired the "Standard Function"  constant to the output mode terminal of the  niFgen Configure Output Mode.vi
What is the solution for this problem?
I'm able to capture all the other waveforms at desired amplitude with desired offset too.
So kindly clarify me regarding this.
Regards,
Partha.
- Partha
LabVIEW - Wires that catch bugs!

I haven't used this device, but for a quick and dirty fix I'd try
setting a square wave of the desired amplitude with a period twice as
long as your anticipated work session, then add a reset routine on the
edge transition to start the waveform over (just in case you are
working overtime ).
Paul Bade

Similar Messages

  • Testing a function generator using PXI-5412

    I want to test a function generator example by reading it from a PXI-5412, but I dont know what do I suppose to read the input from.

    I don't understand. The PXI-5412 is a function/arbitrary waveform generator and it cannot read anything. It is an output only device. To check the output, you can connect it to a scope.

  • How to use PXIe-5673e to continously generate dual-tone waveform?

    Hi, everyone!
     I want to use PXIe-5673e to continously generate dual-tone waveform, and I have see some examples of RFSG, but I still don't know which one to use, can someone help me? 
    Thank you very much!!

    See if this example VI helps
    Ches this one too

  • Generating a sine wave using PXI 5441

    How to generate a sine wave using PXI 5441 (Arbitrary Waveform Generator)?
    Can anybody post a vi that generates a sine wave with frequency at a user defined frequencies.
    Thanks in advance.

    Hi Venki,
     When using an arbitrary waveform or user-defined
    waveform, you provide the actual waveform you want to generate to
    the device, so it is easy to also just connect a graph to the waveform
    and see what it looks like. Unfortunately, when using standard function generation (which is the method used in this example), you are not providing a signal that is created in software. Because the standard function
    generation is happening on the FGEN and not in software, there is
    really no way to display the exact signal without measuring
    it on a scope or some device. You can, however, simulate the signal in
    software such that the parameters which are given to the FGEN functions
    are the same parameters that you use to generate a simulated wave. This
    would be somewhat complex since you can change parameters such as
    frequency and amplitude on-the-fly, and also you would need separate
    functions for each of the different signal types available for the
    FGEN. You would need to place the software waveform generator in your
    inner loop and have a waveform graph connected to it in the loop as
    well to display the signal. The main thing to keep in mind is that this
    will only be a simulated signal and so it may not exactly match what is
    being generated (this also depends on how you program the simulation to
    work). Hope this helps,
    Daniel S.
    National Instruments

  • Generating 2 clocks with different phase using PXIe-6674T ??

    Hi,
    is it possible to generate 2 clocks (same frequency) with different phase using PXIe-6674T ?
    regards,
    Yan.

    hi,
    somehow i cant use the daqmx digital counter to generate nice 10MHz pulse train with my pxi 6733.
    The option now I can use my timing module pxie 6674T to have base clock 40MHz, and then using divisor 1 and 2  I can generate 2 synchronized clock in PFI0 and PFI1.
    Then I use function connect terminal to connect Oscillator and PXI_Clock_10 to get my pxi chassis synchronized with my timing module.
    Then I use pxi clock as reference to generate my digital signal with pxie 6544.
    Somehow, my generated signals; clock from timing module, pxi clock from backplane and digital signal from pxie 6544 are not synchronized. The phase difference keeps changing.
    I dont see any Init.vi while working with pxie 6674T. I'm assuming I can simply connecting clocks and triggers through RTSI bus, then generate my digital signal with 6544.
    I need help to have 10Mhz from 6674T and another 10Mhz from 6544 with 1/4 phase difference between them, which should be stable all the time.

  • Generating signal from the 5412 which is in sync with the external signal

    Hi,
    I am using the 5412 AWG. An external signal comes from the test unit. I need to generate a signal to the test unit which should be in synchronous with external signal which comes from the test unit. Can anyone help in this?
    Regards,
    Rajashekar

    Hi Rajashekar,
    You could synchronize these two signals by sharing a start trigger and using the input signal from your test unit as the sample clock for the 5412.  There are some considerations when doing this that can be seen in the External Sample Clock Considerations section of the 5412 help linked below:
    External Sample Clock Sources
    If you are using LabVIEW, you can find examples in the Example Finder located at Help >> Find Examples.  The FGEN examples are located at Hardware Input and Output >> Modular Instruments >> NI-FGEN >> Arbitrary Waveform Generation.  You can choose which line to use as the sample clock.  You will also need to add in some triggering.  You can find an example of triggering at  Hardware Input and Output >> Modular Instruments >> NI-FGEN >> Synchronization >>FGEN DAQmx Synchronization.vi.  This is synchronizing to a DAQ card, but you can synchronize to your external signal just the same way, i.e., sharing a start trigger and a reference clock.
    Regards,
    Jim Schwartz

  • Using PXI 6541 in real time applications

    Hi,
    I am using PXI 6541 for data acquisition from an electronic card. Electronic card generates an interrupt signal and PXI acquire data  when it gets interrupt signal. The interrupt signal is generated 1 KHz. But using my windows XP, I cannot acquire data on this high rate. The highest rate that I can acquire data is 50 Hz. If I want to acquire data with 1 K Hz, from electronic card using PXI 6541 and using Windows XP,  What Should I do.

    Are you trying to use the 'interrupt signal' as a sample clock for your acquisition?  If so, you should be able to route the signal to the PFI input and configure it as the sample clock.  
    As mentioned in your other thread (http://forums.ni.com/t5/Digital-I-O/Using-PXI-6541-in-real-time-applications/m-p/2561885), I would also recommend looking through some of the examples to get a starting point for your application.  
    James K.
    National Instruments
    Applications Engineer

  • Using PXI 6541 in real time applicatio​ns

    Hi,
    I want to use PXI 6541 in real time mood, can it be used in real time applications.

    I am using PXI 6541 for data acquisition from an electronic card. Electronic card generates an interrupt signal and PXI acquire data. The interrupt signal is generated 1 KHz. But using my windows XP, I cant acquire data on this rate. The highest rate that I can acquire data is 50 Hz. If I want to acquire data with 1 K Hz, from electronic card using PXI 6541 and using Windows XP,  What Should I do.

  • Using PXI Star line for Sample CLK with 6551.

    Using PXI Star line for Sample CLK with 6551.
    Im trying to clock 5 6551s in a PXI-1006 chassis and a5404 in slot 2.   I have configured the 6551s to use the start line as the sample clock but I still get the error
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA49B5) DAQmx Error -200586 occurred:
    Hardware clocking error occurred.
    If you are using an external sample clock, make sure it is connected and within specifications.  If you are generating your sample clock internally, please contact National Instruments Technical Support.
    Device:  PXI2Slot17
    Status Code: -200586
    Any ideas why?
    Thanks,
    Brian

    Nevermind...problem solved.  I was exporting the wrong signal to the star line.
    Brian
    Message Edited by BrianPack on 11-28-2005 12:07 PM

  • Setting up a PXI-5412 Trigger

    Hi,
    I have a PXI-5412 FGen and a PXI-5105 Digitizer. I was wondering if anyone could explain how to internally and/or externally set up a trigger. The idea is that I'm sending a signal with a pulse repetition frequency (PRF of 500Hz for example) from my Fgen to one of the channels on my, but I would like the digitizer to acquire at that same PRF so that my signal is not all over the place.
    Both these PXIs are installed on a PXI-1044 chassis which I'm assuming was correctly set up!
    I know this should be relatively simple, but I don't know where to start. I've been seeing a lot of the NI-TClk VIs in the examples and discussions forums. Should I be looking to use those? And will I only be using one set of VIs for the Fgen or do I have to play around with the scope as well?
    If need be, I can provide more details on the way I set up the Fgen and the scope.
    Thanks,
    Marc

    Hi Marc,
    You're on the right track. TClk is one of the ways to synchronize your cards, and makes the most sense for your application.  You will need both a NI-SCOPE and NI-FGEN session with NI-TCLK tying the two together. Refer to this example:
    NI-TCLK Synchronize AWG and High-Speed Digitizer
    Let me know if you have further questions.
    Cheers,
    Aaron
    National Instruments

  • Trans-receiver system using PXI

    Hi,
    I need to build a trans-receiver system using PXI. For the transmission part I can use a PXI 5652 to generate a single tone continuous waveform. 
    For the receiver part, I need an antenna to capture the signal transmitted by 5652 (which will have a transmission antenna ). The received signal will then be down converted by PXI 5601 (RF OUT of 5652 is connected to LO IN of 5601). The intermediate frequency will be then digitized by PXI 5622 (IF OUT of 5601 is connected to IF IN of 5622). 
    But my question is these connections are already there between the slots/chassis.(The next stage has I/Q demodulation but I want to get clear on this part first). But there is not output port on the PXI 5622, so how can I check the digitized output?
     I have attached a file for reference.
    Thanks,
    Sharmi
    Attachments:
    Ref.docx ‏689 KB

    Hi Sharmi,
    To address your questions:
    Is the data, after it is down converted and digitized by the 5622 is automatically sent to 5450?
    No, the data is not automatically sent to the 5450.  The digitized data is sent to the backplane and can be accessed on your controller/laptop through LabVIEW or the RFSA Soft Front Panel.  The 5450 is used to take digital signals generated by LabVIEW and turn them into an analog signal.  It is not used in any part of the downconversion process.  
    If you want to take the data that you receive from your 5663 VSA and send it to your 5673 VSG, you will need to do so using software.  There are RFSA and RFSG examples that ship with the driver that you can use as a starting point on how to acquire a signal and send a signal using LabVIEW.  These examples can be found by going to Start » All Programs » National Instruments » NI-RFSA (or NI-RFSG for generation examples) » Examples.
    5450 has “400 MS/s I/Q Signal Generator” written on it, so does it generate I and Q channel data separately?
    The 5450 does generate IQ data on 2 separate channels.  LabVIEW is used to generate an IQ bit stream.  The IQ data is combined after being upconverted with the 5611.
    Also 5611 has “I/Q Vector Modulator” written. So, can it demodulate a signal (after it is split into I and Q components by 5450) and then combine the resultant output?
    The 5611 is an upconverter and is used to take the IQ signals generated by the 5450, combine them, upconvert them from some IF frequency to an RF frequency and transmit them.  It can be used to do some basic types of modulation, but not demodulation.  The NI RF Signal Generators Help ( Start » All Programs » National Instruments » NI-RFSG » Documentation) has a section about the 5611 that includes the hardware block diagram and a more detailed explanation about each part of the block diagram.  This is where you can find out more about what basic types of modulation the 5611 is capable of performing.
    Let me know if you have more questions, I'd be happy to help.
    Sarah Y
    SDR Product Manager
    National Instruments | Ettus Research

  • Generate report using Word Report Generation VIs error

    When I Generate report using Word Report Generation VIs  ,the error is generated.
    This is  my Vi
    can somebody  tell the error reason?
    The attaché is Vi (one is 2011,other is 8.6)
    Attachments:
    report-8.6.vi ‏16 KB
    report2.vi ‏33 KB
    template.doc ‏40 KB

    Hi Ben64
                 Thank you! The problem is solved.
       BUT when I use the Word Easy Graph vi  ,the result is
    I want the Graph (curve),like as:
    How Can I do get the picture.
    I have other problem. I want to get default name for the new word file.
    liang

  • How to count number of edges using PXIe-6363 Counters

    Hello,
    I am trying to count number of edges in a test signal in a 50 ms duration. I am using PXIe-6363 card and connecting the test signal to CTR 0 SRC (PFI 8). Is it a correct connection? What else do I need hardware-wise to make a correct set up for this application?
    Thanks
    Jeet
    Solved!
    Go to Solution.

    Hi Jeet,
    When you say interrupt signal, do you mean a pulse that will pause your counter task? If that is the case, and you want to pause your task with a digital pulse, you need to use the DAQmx Trigger Property Node and set that to Pause, Trigger Type. As you said, you can connect that signal coming from the chip to any PFI line and then set that line as the source of the property node.
    There is an example that you can use that does exactly what I just described. This example is called Count Digital Events-Pause Trig.vi, and you can find it by going to Help>Find Examples..., then on the NI Example Finder window go to the Browse tab and navigate in the folders to Hardware Input and Outpout\DAQmx\Counter Measurements\Count Digital Events.
    Regards.
    Jorge
    Applications Engineer
    National Instruments
    Certified LabVIEW Associate Developer (CLAD)

  • Generating reports using RWServlet.class(Patch-12)

    Sir,
    We have configured the Apache Tomcat-3.2.2 to be the servlet engine for generating reports using oracle.reports.rwcgi.RWServlet. Earlier we have been using, Patch-2. We have created many keys(cgicmd.dat) for the different reports that are there with the mostly needed report parameters(including PARAMFORM=YES). We call the report in the browser giving the URL "http://<machine_name>/oraclereports/servlet/oracle.reports.rwcgi.RWServlet?<key_name>". Now, the report page that gets generated is the parameter form. In the HTML source of this page, the form-submitting action is pointing correctly to URL "http://<machine_name>/oraclereports/servlet/oracle.reports.rwcgi.RWServlet.....". The parameter values are entered and the form submitted. The generated report is perfect..
    Some days before, Patch-10 was installed. The RWServlet.class that comes along with this was copied to the oracle/reports/rwcgi folder in Tomcat. Now, when the same steps(calling report) as done before were done, the report is not getting generated, giving the output for no page found. The HTML source of the parameter form shows the form-submitting-action URL as "http://<machine_name>/servlet/oracle.reports.rwcgi.RWServlet.." omitting the "oraclereports" that was there earlier.
    Now, we have installed Patch-12, copied the new RWServlet.class. For this case also, the same problem is now encountered. Now, have we have to do any additional configuration somewhere? The page that is generated, on giving the URL ""http://<machine_name>/oraclereports/servlet/oracle.reports.rwcgi.RWServlet/showenv?server=Rep60_MACHINENAME" is showing the SCRIPT_NAME as "/servlet/oracle.reports.rwcgi.RWServlet". Is it something to do with this? We tried putting SCRIPT_NAME as a user environment variable, and also by giving SET SCRIPT_NAME=/oraclereports. Still, the problem persists. Doesn't the HttpServletRequest class have some method that returns the SCRIPT_NAME, i.e, the path where the execution is being done? How could different versions of the same class oracle.reports.rwcgi.RWServlet deployed with the same settings on the Tomcat servlet engine behave differently? Please help us on how to solve this problem..
    Thank you,
    Regards..
    Ranjith

    Hi,
    Is there some way, i.e., by doing some Tomcat setting changes, that the RWServlet of Patch-10/12 can be made to work like RWServlet of Patch-2(with normal settings)? Please help..
    Thank you,
    Regards..
    Ranjith

  • How do I configure a counter to generate pulses using DAQmx?

    How do I configure a counter to generate pulses using DAQmx?
    Is says in the DAQmx C reference help
    "CtrnInternalOutput—The signal at this internal terminal is where the pulsed or toggled output of the counter appears. The output of a counter pulses or toggles when the counter reaches terminal count. When counting down, the counter reaches terminal count when the count reaches zero. When counting up, the counter reaches terminal count when the counter rolls over. To configure the counter to toggle or generate pulses, use the Export Signal function/VI with Counter Output Event as the signal name."
    I've tried this but can't get it to work, I may have the parameters wrong or something. The DAQmxExportSignal() function is very unintuitive to me. Here is my counter config code...
    int ret = 0;
    ret = DAQmxCreateTask("",&task_);
    errorMsg(ret);
    if (ret != 0)
    throw ret;
    // Configure the counter
    ret = DAQmxCreateCOPulseChanTicks( task_, "Dev1/ctr0", "", "/Dev1/PFI8", DAQmx_Val_Low, 0, divider, divider );
    errorMsg(ret);
    ret = DAQmxCfgImplicitTiming( task_, DAQmx_Val_ContSamps, 1000 );
    errorMsg(ret);
    // Change to pulse mode
    ret = DAQmxExportSignal( task_, DAQmx_Val_CounterOutputEvent, "/Dev1/Ctr0InternalOutput" );
    errorMsg(ret);
    // Start the counter
    ret = DAQmxStartTask(task_);
    errorMsg(ret);
    The above code works fine, in toggle mode, if I just comment out the DAQmxExportSignal() part.
    HELP!!!
    Stefan

    The problem is due to the DAQmxExportSignal call.  By default, when you create a counter output pulse train task, the driver will automatically set the output of the counter to toggle when the count for each high ticks and low ticks expire.  The driver also automatically routes the signal present at Ctr0InternalOutput terminal (the output of the counter internal to the device) to the Ctr0Out terminal (the I/O pin available externally).  Using the line
     ret = DAQmxExportSignal( task_, DAQmx_Val_CounterOutputEvent, "/Dev1/Ctr0InternalOutput" );
    will tell the driver to tristate the Ctr0Out terminal and not output the signal to the external I/O pin.  Using the DAQmxExportSignal function is generally only useful if you want to route the signal to some other terminal internal to the board without having the output show up on the external connector, route the signal to some other external pin other than the default pin, or if you want to have the output show up at multiple locations. 
    If you want to change the output behavior from toggle to pulse, you need to use the DAQmxSetExportedCtrOutEventOutputBehavior function.  However, this is generally only useful if all you care about are edges (not the duty cycle of the pulse train), and you want to generate higher frequency signals.  For example, with a 20 MHz timebase as the source of your counter, you can only generate a 5 MHz pulse train by default.  This is because the minimum value for the low and high ticks parameter is 2 (20 MHz / 4 = 5 MHz).  By changing the output behavior form toggle to pulse, you can generate a pulse train at 10 MHz since the output is now pulsing instead of toggling.  However, the width of each pulse is not programmable so you will no longer have a 50% duty cycle signal.  I don't remember exactly what the width of each pulse is, but I believe it's in the neighborhood of 50 - 100 nanoseconds in width.  I hope this information helps.

Maybe you are looking for