Generating a waveform using PXI-6534

Hello,
I am trying to write a VI to generate 3 waveforms using a PXI-6534. I am not familiar with how to do this in Labview really, so I was hoping I could get some help getting started with this. The 3 signals are a clock signal, data, and load enable. The clock has a frequency of 614.4KHz, and a data bit is sent on the falling edge of each clock pulse. After 48 data bits have been sent, the clock remains low while the load enable signal is pulsed low for one clock cycle. Unfortunately I do not have the waveform generation editor, are there any alternatives to this? If anyone could give me any suggestions or point me to any tutorials or examples it would be greatly appreciated.
Thanks,
Steve

This you can do this.  I have used this exact card to continiously bit pattern from an array I streamed out a 500,000 sample stream out at 10MHZ and read back a 8MHz and parsed the data.  Look at the daqmx examples.  essentially you want to write the array to the buffer and set it up for ALLOW REGENERATION on the write property and Continious on the sample clock. Look at the following examples:
Hardware IO>>daqmx>>digital generation>>Continious Write Dig Port-Ext Clk generation.
   this sounds like what you need, a continious digital pattern generation using an external clock.
Also see the non regeneration example. you can change the pattern on the fly.
I would not use traditional daq since is is very outdated and probably will not be supported in the future.  DAQMX is much better.
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA

Similar Messages

  • NI PXI 6534

    Hello,
    I have built PXI systems that uses PXI 6534 for OWI communication with my Chip. I have written the software which uses this sytem for test and calibration. I am using PXI 2530 for switching the power and OWI pin from dut to dut. Recently, I heard that NI is dicontinuing the production of the PXI 6534 i/o card. I am wondering If my company needs to build new system, what I shouldI use in place of 6534 that don't require changing my software.
    Regards,
    Mansoor

    Hi Mansor - 
    Vimal is OOO today so I'll be helping you with your post.  To answer your question, you are correct that neither of those chassis will work with any PXIe modules.  
    Speaking of the second question, the 6535 is a PXIe module as well and won't work in a PXI chassis.  The discontinued PXI and PCI 6533/34 replacements are in the PCIe and PXIe form factors only.  
    I will apologize again for the abrupt end-of-life notice you received on these devices, it was an unforeseen supply issue with some of the parts on the board that caused the sudden obsolesce.  
    If you are looking into potentially purchasing another chassis (PXIe), then we would be happy to discuss your options and the best fit for your current and potential needs.  
    Regards,
    Ben N.
    Applications Engineering
    ni.com/support

  • 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

  • Generate a different width pulse using pxi-6542

    Hello I want to use the board of PXI-6542 to generate a waveform, and the waveform has different width, but the width is a integer which is less than ten  is multiplied by 0.1ms,and the multiply is random. The waveform is output through PXI-6542.Thank you for your help.  bless vivian

    Duplicate Post.

  • 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 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

  • PXI-6534 Card using Traditional Legacy Card to DAQmx driver

    I don't know where to start..I am stuck on an issue that needs to be solved.
    I am using a Traditional legacy driver on a PXI-6534 Card.
     I want to move it to using the DAQmx driver.
    Can someone point me to the right direction?
    Thank you..
    Best regards,
    Krispiekream

    i read over the link you provided and i can see that changing it will take a while.
     some of the examples given didn't cover all the questions i have.
    can you see my vi and see how would i change that to daqmx?
    Message Edited by krispiekream on 02-24-2009 03:34 PM
    Best regards,
    Krispiekream
    Attachments:
    Traditional to DAQmx.vi ‏31 KB
    untitled.PNG ‏8 KB

  • How can i generate variable pulse waveform using PWM outputs of 7344.

    Hi
    I want to generate a pulse waveform using the pwm outputs of 7344. How can i very the frequency of the PWM programatically.

    If you are programming in LabVIEW, you can use the Configure PWM Output VI to set up the frequency of the pulse train. If you are in any other language, you can use the NI-Motion API and call the flex_configure_pwm_output function to achieve the same result. Please refer to the NI-Motion C reference help that gets installed with the NI-Motion 6.0 driver or follow this link:
    http://digital.ni.com/manuals.nsf/websearch/92003B​670CC3CB3F862567C800755B95?OpenDocument&node=13209​0_US
    for more information on this function.

  • How can I find an example about acquiring waveform data by software trigger using PXI 4070 DMM?

    Anybody could proivde an example or simliar about acquiring waveform data by software trigger using PXI 4070 DMM?
    Thanks!

    hi there
    from the NI main page go to the developer zone http://www.ni.com/devzone/dev_exchange/ex_search.h​tm. select "LabVIEW" and "Digital Multimeter (DMM)" and search for "4070". then you'll find some examples.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • 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.

  • Generated Pulse waveform is distorted when I deliver the signal to the output port in the DAQmx

    Problem: Generated Pulse waveform is distorted when I deliver the signal to the output port in the DAQmx.
    Environment: Windows XP sp3 (32bit), Visual Studio 2010 sp1, NI-Measurement Studio 2010
    Device: NI - DAQmx PCI 6251
     Analog Input: 1.00MS/s multi-channel (aggregate)
     Analog Output: 2 Channel 2.00MS/s
    Reference Example: AO_ContGenVoltageWfm_IntClk / AI_ContAcqVoltageSamples_IntClk
    Generated Pulse:
    1) AO0 = Square Waveform /0-5V / 8KHz / 0.5㎲/sample / sample 50% Duty
    2) AO1 = Square Waveform /0-5V / 8KHz / 0.5㎲/sample / (Reverse Image)
    Description: I’d like to deliver the waveform stream satisfied with specified constraints to the 2 channel output port in the DAQmx. To verify accuracy of the generated waveform, I did an electrical wiring from the Analog output channel (2 channels) to the Analog Input channel (2 channels) in DAQmx. As a result of this experiment, I could get a result which has signal distortion. Since the waveform has to satisfy with both high frequency (8KHz) and very short moment interval time (△t = 0.5㎲/sample) between samples, I cannot handle some parameters of the function in the referenced VC++ example. Following formulas shows an approach to deliver the generate pulse waveform to output port satisfied with constraints.
    Analog Output Channel
     Frequency = 8,000 cycles/sec (constraint)
     Sample per Buffer = 2,000,000 = 2*106 samples/buffer
     Cycles per Buffer = 80,000 cycles/buffer
     Sample per Channel = 1,000,000 = 1*106 samples/channel
     Sample Rate  = Frequency * (Sample per Buffer / Cycle per Buffer)
                              = 8,000 * (2*106 / 80,000) = 2*106 samples / sec
     △t  = 1 sec / 2*106 samples / sec
               = 0.5 * 10-6 sec/sample (constraint)
     Buffer Cycle  = Sample Rate / Sample per Channel
                              = (2*106 samples / sec) / (1*106 samples/channel)
                              = 2 channel / sec
    Analog Input Channel
    Sample per Channel = 1,000,000 = 1*106 samples/channel
     Sample Rate  = 1 MS/s * (2 Channel) = 5 * 105 Samples / Sec
    Program Code
    AO_ContGenVoltageWfm_IntClk / AI_ContAcqVoltageSamples_IntClk (VC++ Example)
    Result: The proposed approach was implemented in the experiment environment (VS2010, MStudio2010). As shown in Figure 1, we could get the unsatisfied result. Although I intended to make a ‘square’ pulse wave, the result looks like ‘trapezoid’ pulse wave (Figure.1). However, there is other result which was undertaken with different parameter condition. It looks like the square shape not the trapezoid shape.
    Please let me know what the conditions make the problem of signal distortion. (AO0 = Green line / AO1 = Red line)
    [Figure. 1] Frequency 8000 Hz / Cycle per Buffer = 8000 Result
    [Figure. 2] Frequency 1000 Hz / Cycle per Buffer = 1000 Result
    Questions: Please let me know following questions.
    1) Is it possible to deliver the generated pulse wave satisfied with constraints (f= 8KHz), △t = 0.5㎲/sample) to the output port without distortion using PXI 6251?
    (Is it possible to solve the problem, if I use the LabView or MAX?)
    2) Are there some mistakes in the proposed approach? (H/W or S/W program)
    3) What is the meaning of the Cycle per Buffer?, It could effect to the result?

    Hi Brett Burger,
    Thanks for your reply. For your information, I have set the sampling rate as 10000 as for the sound format, I have set the bits per sample as 16 bit, the rate as 11025 and the sound quality as mono. I tried using your method by changing the sampling rate as 8K but still my program encounter the same problem.
    I wish to also create a button that is able to generate a preformatted report that contains VI documentation, data the VI returns, and report properties, such as the author, company, and number of pages only when I click on the button.  I have created this in my program, but I am not sure why is it not working. Can you help troubleshoot my program. Or do you have any samples to provide me. Hope to hear from you soon.
    Many thanks.
    Regards,
    min
    Attachments:
    Heart Sounds1.vi ‏971 KB

  • 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

  • How can I tell if an arb is currently generating a waveform? (LabView 8.5)

    I have a VI which configures the load impedance of a 5421 arb card by changing the value of the property node "Load Impedance".
    This only works if the arb is not generating at the time of the call to the VI.
    I wish to be able to call the function when the arb is either generating, or not generating a waveform.
    Is there a way I can determine whether the arb is generating a waveform so that if necessary it can be aborted, then the Load Impedance changed, then the output re-initiated?
    Thanks
    Alan

    The fastest way to do this is to Disable the output (with enable output.vi) change the impedance and re-enable the output.
    Of course if you want to wait untill a generation session is complete you will need to configure the Done event to output something you can monitor (hardware only for unknown reasons) and use that to gate your changes.
    Jeff

  • NI PCI-6542: Creating Dynamic Waveforms Using the HSDIO Library

    Hello!
    I am having problems understanding how to create waveforms using the HSDIO library to run on my PCI-6542 board. I need to create a program that turns one channel on for 12.5 microseconds, waits a set amount of time(i.e. 100 samples),  and turns another channel on for 12.5 microseconds.
    This program is to be used in a phased array ultrasonic system.
    Below is the Dynamic Generation example program that turns channels 0 - 2 on for 1024 samples.
    * Example Program:
    * DynamicGeneration.c
    * Description:
    * Generates a simple pattern on specified channels.
    * Pin Connection Information:
    * None.
    /* Includes */
    #include <stdio.h>
    #include <limits.h>
    #include "niHSDIO.h"
    /* Defines */
    #define WAVEFORM_SIZE 1024
    int main(void)
    ViRsrc deviceID = "Dev1";
    ViConstString channelList = "0-2";
    ViReal64 sampleClockRate = 50.0e6;
    ViInt32 dataWidth = 4;
    ViUInt32 waveformDataU32[WAVEFORM_SIZE];
    ViConstString waveformName = "myWfm";
    ViInt32 timeout = 10000; /* milliseconds */
    ViSession vi = VI_NULL;
    ViStatus error = VI_SUCCESS;
    ViChar errDesc[1024];
    ViInt32 i;
    /* Initialize generation session */
    checkErr(niHSDIO_InitGenerationSession(
    deviceID, VI_FALSE, VI_FALSE, VI_NULL, &vi));
    /* Assign channels for dynamic generation */
    checkErr(niHSDIO_AssignDynamicChannels (vi, channelList));
    /* Configure sample clock parameters */
    checkErr(niHSDIO_ConfigureSampleClock(
    vi, NIHSDIO_VAL_ON_BOARD_CLOCK_STR, sampleClockRate));
    /* Query the Data Width Attribute */
    checkErr(niHSDIO_GetAttributeViInt32(
    vi, VI_NULL, NIHSDIO_ATTR_DATA_WIDTH, &dataWidth));
    /* Populate waveform with ramp data */
    for (i = 0; i < WAVEFORM_SIZE; i++)
    waveformDataU32[i] = i;
    checkErr(niHSDIO_WriteNamedWaveformU32(
    vi, waveformName, WAVEFORM_SIZE, waveformDataU32));
    /* Initiate generation */
    checkErr(niHSDIO_Initiate(vi));
    /* Wait for generation to complete */
    checkErr(niHSDIO_WaitUntilDone(vi, timeout));
    Error:
    if (error == VI_SUCCESS)
    /* print result */
    printf("Done without error.\n");
    else
    /* Get error description and print */
    niHSDIO_GetError(vi, &error, sizeof(errDesc)/sizeof(ViChar), errDesc);
    printf("\nError encountered\n===================\n%s\n", errDesc);
    /* close the session */
    niHSDIO_close(vi);
    /* prompt to exit (for pop-up console windows) */
    printf("\nHit <Enter> to continue...\n");
    getchar();
    return error;
    Questions:
    How can I change the values in waveformDataU32 to create off and on states(instead of just always on)?
    How do I select the channel that waveformDataU32 is applied to?
    Thanks!
    Zachary Geier
    Solved!
    Go to Solution.

    The waveformDataU32 array is an array of 32 bit integers. Each bit corresponds to a line on the device.  So on the first clock cycle, this program outputs:
    0000 0000 0000 0000 0000 0000 0000 0000
    Then it outputs the following, changing on each clock pulse:
    0000 0000 0000 0000 0000 0000 0000 0001,
    0000 0000 0000 0000 0000 0000 0000 0010,
    and so on all the way up to 1023:
    0000 0000 0000 0000 00000011 1111 1111
    In the example you include at the bottom, you are setting the least significant bit (LSB) to zero and one, effectively only changing one line on the output. To change all of the lines, you should use 4,294,967,295 or 0xFFFFFFFF instead:
    for (i = 0; i < WAVEFORM_SIZE; i++){
    if(i < 200){ //If sample number is less than 200
    waveformDataU32[i] = 0; //Turn off channels 0-2
    else{
    waveformDataU32[i] = 4,294,967,295; //Else turn on all channels for 800 samples
    -Jim B
    Applications Engineer, National Instruments
    CLD, CTD

  • How to use PXI 6071E daq card to complete multichannels scan with high sampling speed

    I used pxi 6071E daq card to acquire 115v 400hz AC signals.when I use mutichannel scan function,I find that the voltage of waveforms have much more error.The voltage error is about 0~15v.please you can tell me why this happened?how to solve it.
    Attachments:
    多通道监测4.vi ‏199 KB

    Sunny;
    As you are scanning multiple channels and the signal range is high, you can try to set the interchannel delay a little higher. The interchannel delay is the time which the multiplexer will take to switch to the next channel. If that time is to short, the instrumentation amplifier can have problems to settle, and then an error at the reading will happen.
    You can change the Interchannel delay at the AI Config.vi.
    Hope this helps.
    Filipe

Maybe you are looking for

  • How do I get a smooth running product?

    A few weeks ago I got a very friendly/positive  email from your company that told me because I was a loyal customer they offered me an upgrade to Xcelsius 2008/Crystal Reports Visual Advantage. Because I was very positive about my past experiences an

  • ASA 5505/5510 Management Interface

    Hi, Does anyone know a workaround to this limitation? (other than the "management-access" command for VPN connections) Management access to an interface other than the one from which you entered the ASA is not supported. For example, if your manageme

  • Can you open ID files with any other apps?

    I was a subcontractor for a printer. The printer's client requested the production files. I package the files. Five books. Each folder contains ID file, art, supplied word docs, and exported PDF. The client calls printer and says they all open but on

  • G530 Extended Batt Part number

    I have just bought a Lenovo 3000 G530 laptop and I am trying to find a 9-cell extended life battery for it. I cannot find one listed for that model anywhere on the Lenovo site. Does anyone know the part number or the link where I can buy one?? Help..

  • 5800 Sooo many problems with music Player

    Hey everyone... I'm kind of at my wit's end here... I got the 5800 about 3 weeks ago, and I've just had problem after problem with the music functions... #1 problem: I don't use Nokia music as my main player (obviously, who does?) I use media monkey