Synchronous arbitrary signal generator

I have Labview 7.0, PXI-1042, pxi 6070E, scb-68, windows xp.
Is it possible to synchronize an arbitrary signal generator and a simulated signal generator?
So far I have been unsuccessful.

Hi Cool,
The hardware output of the PXI-6070E board is independent of the software running in LabVIEW. Once LabVIEW sends the command to write the output buffer, the hardware will work independently of the software.
There is a certain degree of synchronization that can be accomplished using DAQ Occurrences, which uses an interrupt to indicate when a certain amount of output has been achieved. However, the difference between the DAQ board sending the interrupt and LabVIEW processing that interrupt, amounts to a period of time that doesn't enable you to perform tight synchronization.
If you are looking for output rates in the kHz, this might, however, do the trick. The problem is that there is always going to be a difference since the OS (Windows) control
s the multitasking of applications and LabVIEW. This causes LabVIEW not to run deterministically. The hardware will always output at a specific rate where as the LabVIEW will not be able to simulate completely at a specific rate.
I would take a look at DAQ Occurrences in the LabVIEW Help File. This will give you your tightest synchronization. Hope that helps.
Ron

Similar Messages

  • Arbitrary signal generation acquire 5411 5911

    An arbitrary signal generated on a PCI-based NIFGEN(5411) is not acquired correctly on a PCI-based NISCOPE (5911). I use RTSI to synchronize the two boards (5911 is the master). When the 5411 board has generated the waveform the 5911 board should start acquiring immediately, but it seems like the board does not receive the correct data the first several times (It jitters around zero). Does anyone know what the problem might be (I have attached my VI)? If not does anyone know how to examine the data actually generated by the 5411 board?
    Attachments:
    5911-5411_interface.zip ‏144 KB

    You may want to post your query under the Measurement Hardware section of the forum for a faster response.
    Rgds,
    Khalid

  • 33522A Function / Arbitrary Waveform Generator, 30 MHz

    Hi!
        I have got 33522A Function / Arbitrary Waveform Generator, 30 MHz. I want to produce two squarewave signal of 30 KHz, one on each channel. Trick is the wave form should be mirror image. I problem is, wondering if those signal is sysncronise if i drive it via LabView.  
    Solved!
    Go to Solution.

    I have played around with one of these in the past, and these signals should be synchronized without any special commands.
    This can be done on the front panel of the device or via LabVIEW. The simplest way to set these is make the channel parameters identical except for amplitude, make the amplitude of one output the negative of the other output.
    One thing to be aware of ...
    although synchronized, sometimes there is a slight phase difference between the two signals, you may have to adjust the phase of one of the signals to match the other. This is best done with an oscilloscope.
    Cheers,
    mcduff

  • Error occurred while executing niRFSG Arbitrary Waveform Generator

    Hi,
    I am trying to execute the niRFSG Arbitrary Waveform Generator.vi.
    The inputs at the front panel are as follows -
    Resource name : PXI1 Slot2
    Center frequency : 1GHz
    Power level : -20dBm
    Selected waveform : Double Sideband
    IQ rate : 1M
    NI PXI 5652 RF Signal Generator is connected to slot 2.
    When I try to run the program, I can see an error generated after the first step, which is "niRFSG Initialize.vi". The error code is "FFFCFiE4" and the error message says "Device identifier is invalid".
    If I select "S2SignalGen" in the Resource name instead of "PXI1 Slot2", I face the same error.
    I am using Lab View 2011 and NIPXIe-1075
    Could someone please tell me what is wrong?
    Thanks so much,
    Sharmi

    Hi,
    What are the RFSA and RFSG devices you have? Please give me all the product numbers (i.e 5652, 5611, 5450 etc.).
    I want you to physically connect the RF OUT on the RFSG to the RFIN on the RFSA with an RF cable. Then you will generate a single tone using the RFSG Single Tone Generation.vi example. At the same time, you will run the RFSA SFP and it should capture what you are generating. You cannot bring the SFP into LV, it is its own application.
    If you go to Start>> National Instruments>> NI RFSA, are there examples in there? If not, can you got to MAX, expand the Software tab and take a look at what version of RFSA you have. Did you make sure to install RFSA after you installed LabVIEW?
    In the NI Example Finder (when in LabVIEW, Help>> Find Examples..), under Hardware Input and Output >> Modular Instruments, do you see RFSA or RFSG in there?
    Thank you,
    Vimal 
    Applications Engineer
    National Instruments

  • An arbitrary waveform generator using the DSP Module

    Hi Guys,
    Just got my hands on LabView and the DSP Module, and having a bit of fun atm. Great products. I'm currently using the TI DSK6416, and was wondering if there was a labview model/example of arbitrary waveform generation using this...? Perhaps using a DDS method or something similar?
    Thanks in advance...
    GibbGodD 

    GibbGodD,
    Hello!
    There are quite a few Waveform Generation VIs within Labview, including the Simulate Arbitrary Signal Express VI and the Arbitrary Wave VI. Unfourtuantly, these are not available within the DSP Module. There is a special group of Embedded Signal Generation VIs for the DSP Module, of which one is the Simulate Signal. Take a look at these VIs as perhaps you could use them to build the waveform you are looking for.
    To answer your question, I wasn't able to locate a specific example that matched what you were looking for, but if you to Help >> Find Examples >> Toolkits and Modules >> DSP from within LabVIEW you should be able to find some great DSP examples. Particular, the example project "Variety of Signal Types.lvproj" shows the different types of signals the DSP target can generate.
    The majority of Arbitrary Waveform Generation information that I was able to find is all related to our Function Generators but not for the devices supported for the DSP Module.
    Best of Luck!
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • Simulate arbitrary signal getting rms value

    Hello!
    I´ve got a .lvm file (attached as testpwm.txt) that generates a preview in Simulate Arbitrary Signal but shows nothing in the waveform graph. I would like to calculate the rms value and the duty cycle of the signal, but it doesn´t work together with the Express VI. I have also tried to build the waveform with Read waveform from file, but it doesn´t work either.
    any ideas?
    Attachments:
    testpwm.txt ‏24 KB

    Hi Dongre,
    What do you mean by "but value varries from 0 to rms which is not required. "
    If you are using EPS 2014, you should first identify the type of data acquisition cards you are using for your cRIO 9076 (SAR of Delta-Sigma), and then choose the examples with the corresponding type in name in the Power Quality folder. These are more ready-to-run than the examples in Basic Power Measurement which are for DAQmx, but which could also give you a straight forward view of how to measure RMS.
    You need to check the data acquisition modules on your cRIO for acquisition precision. If they are different from what's used in the examples, you need to manually modify a bit. Refer to the link below for how to adjust precision when you change for another module.
    http://forums.ni.com/t5/LabVIEW-Electrical-Power-Suite/Wrong-Voltage-Values-using-NI-9225-and-ELectr...

  • Simulate arbitrary signal VI

    Hi,I want to use simulate arbitrary signal VI to load the data and then output it to control the shaker motion, one problem is that when the VI outputs the data point-by-point, its time interval is not the real time step in the data, so how can I change the time interval, if this can not be achieved with simulate arbitrary signal VI, what VI should I use?
    thanks a lot,

    Hi all,
    I hope you are all fine. I am trying to generate the simulated brain sign. I got all the data set for the time and the value of y-axis but when i used cDAQ NI 9178 to interface my signal and see it on oscillscope, there is error. in the software it works ok but hardware can not .i dont know what is wrong,
    kindly can you help me in this issue.
    error is
    Error -200292 occurred at DAQmx Write (Analog 1D Wfm NChan NSamp).vi:3
    Task Name: _unnamedTask<14>
    Attachments:
    trial1.vi ‏1608 KB

  • Can i connect an external signal generator to the NI7344 to...

    Can i connect an external signal generator to the NI7344 to use its
    PID characteristics to precisely control the output
    I am using the flex motion board (NI7344) to control the force output
    of a linear motor. Using contouring and buffer operations i have
    successfully created a system which can output a controlled force
    which sinusoidal in form. I can achieve a reasonable output for
    waveforms of 10Hz, the use of higher frequencies is limited by the
    contouring operation ( a frequency of 10 Hz means i can only describe
    one period of a sine wave with 10 points ( 10ms between each point =
    10Hz). Can i therfore connect an external anologue wave generator to
    the NI7344 use and use its PID characteristics to output wave
    forms of
    higher frequency ??? .....could i output an anolgue wave form from an
    E-series DAQ via the RTSI cable to the NI7344 and control this ???.any
    ideas or advice would be much appreciated.

    Duncan,
    You can use a DAQ card to output an analog waveform, but it will be a software call not part of an onboard program. RTSI can be used to pass clocks and trigger signals, so if you want to route a clock signal to do the control you could.
    A. Talley

  • 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

  • Question about the customized FPGA signal generator.

    I connected the AO0 and AO1 ports to the oscilloscope. But I got nothing. What should I do?
    Attachments:
    Customized FPGA Signal Generator.lvproj ‏2159 KB

    Hi CZ_Kevin,
    When attaching a project, it might be best to zip the project folder, or attach your VIs, so that we can look at your code. As for the screenshot, it looks like you might be using too many resources on the FPGA but again it is hard to determine without looking at your code.
    Since you are using a myRIO, you might get better responses by posting to the Academic Hardware Products forum as this handles many myRIO questions.
    Also, there are many pre-built project templates and examples within LabVIEW that might be worth exploring as well as a project guide that includes many tuturials. You can find the latter here.
    David C

  • How do I read in a 1 Hz pwr level file and send it out at 1Hz to the signal generator?

    I would like to be able to read in a 1 Hz file and use the format into string and send it out at 1 Hz to a signal generator to vary the levels to match a timestamp. I was trying to use the format into string but I can't figure out how I could read in this file.
    00:00.0
    -113.586
    00:01.0
    -113.598
    00:02.0
    -113.61
    00:03.0
    -113.622

    If the file is a .csv file as you said in your other post, then you should just be able to use Read From Spreadsheet File, making sure to set the delimiter to comma rather than tab. If it's a small file, you can just read in the whole thing, then use a loop with a Wait For Millisecond Multiple node (the metronome) to send the data once every second.
    If the file is very large, and you don't want to read it all at once, you can tell the Read From Spreadsheet File node to read only one line at a time. Put the read node and the data sending node in the same While loop, and use a shift register to carry the Mark After Read value from one iteration into the Offset or Mark At Start terminal in the next iteration. That way, you start reading each line at the end of the previous one. Use some form of flow control (such as a Stacked Sequence Structure) to make sure things happen in the right order - read data, wait for the right time, send data. 

  • Labview 6 arbitrary function generator file format?

    Hi,
    I have old hardware (e.g. DAQcard1200) which I have to use with old versions of Labview (4 or 6) (as they run on "old" hardware - Pentium1 embedded boards with Win98 etc.). With Labview 8 I can load a file in .lvm format and use it as output for A0. But how is this with the "arbitrary function generator" from Labview 6 (benchtop.llb)? I constructed an arbitrary function manually within the vi and saved it to a file, but its format does not make sense - only "strange" characters are displayed, like dŸ¾ “£¾ˆt÷¾ VJ¾– ¾ ñ¾£úD¾ªÛ˜¾±¼ë¾¸ž, if I open the file with an editor...  
    Thanks!!
    ;-) Torsten

    I don't have LabVIEW 6.1, but if the example hasn't changed, then that example writes out a binary file, which is why you get all those "strange" characters. The file should be an array of SGL values. Thus, you can read it into LabVIEW using the Read From Binary File, and wiring an SGL constant to the "data type" input.
    Attachments:
    Example_VI_BD6.png ‏1 KB

  • Arbitrary Number Generated before Sales Order Document number is Generated

    I want to know which is the arbitrary number generated before the sales Order Document number is created. In which table the arbitrary number is stored?
    The Exit which triggers the arbitrary number in the transaction VA01?

    Hi
    You get the Arbitrary number throug the FM NUMBER_GET_NEXT.
    interne Nummernvergabe
            data: da_rc like inri-returncode.
            call function 'NUMBER_GET_NEXT'
              exporting
                nr_range_nr = da_numki
                object      = 'RV_BELEG'
              importing
                returncode  = da_rc
                number      = vbak-vbeln.
    And regarding userexit, there is
    perform userexit_number_range using da_numki statement in include MV45AF0B_BELEG_SICHERN.
    Regards
    Raj

  • System Identifica​tion Assistant Signal Generator

    Hello,
    I am using a GW Instek power source to heat a graphite rod within a vacuum chamber.  I am detecting the temperature with a K type thermocouple connected to a thermocouple input module.  I have written a labview program with a PID and have everything running, yet i force tuned the PID. I would like to use the signal identification tools labview provides to identify the transfer function and model the process.  I have used the system identification assitant in attempting to send a step signal and acquire a response, yet I have been running into difficulties.  The only way I can perform a step function is to manually generate an output of a specified power and then measure the response, as the signal generator within the system identification software is not identifying the GW Instek PSW 30-108 power source. With manual input and importing both input and output data i am able to get a parametric model, yet the transfer function provide me PID values which are 5 orders of magnitude greater then the ones i am currently using. Ideally i would like to use the software to generate the signal and measure the response continuously rather then using data i collect through my program.  If possible, I would also be interested in perhaps directly integrating VI's to perform signal analysis directly into my process program.
    Problems and what I have done:
    I have the drivers for the power source and my process program recognizes the device yet system ident assist cannot find the hardware. I have attempted to creat a task in NI-MAX yet the hardware is also non-identifiable. 
    Port module input works with VISA and this is how my VI is communicating with the power source.
    Goals:
    I would like to use the system ident assist to generate power ouput and collect temperature input, and generate a process model, so that I may tune my PID more accuratly.
    Also, I may be interested in integrating VI's directly into my process program, yet I am new to the LV language...
    I have attached  my Labview program below.  I would like to thank you in advance for your time and look forward to responses.
    Cheers
    Attachments:
    Test1_RT.vi ‏186 KB

    Double post, for further Information see http://forums.ni.com/t5/LabVIEW/System-Identificat​ion-Assistant-w-o-NI-Signal-Generator/m-p/3014731#​...

  • Displaying a graph from a signal generator

    I am extremely new to labview and I am still trying to navigate my way around the basics.
    How do I display a graph using a signal generator?  I am using NI USB-6251 and I have connected the signal generator to AI.0.  I used the input daq which turned into a task.  Used the read component and wired it to a graph indicator, but I am not showiing the waveform. What am I doing wrong?

    Hello eckhartp, 
    My recommendation if you are just getting started would be to begin with one of the analog input examples included with LabVIEW.  From within LabVIEW, you can select "Find Examples..." from the Help menu, which will bring up the Example Finder.  I would recommend taking a look at "Voltage - Continuous Input.vi", which can be found by searching in the finder.  You should be able to select your analog input channel from the pull down, and see your data on the graph.  Use one of these examples as a template for your project.
    Alternatively, here is a good reference page for DAQmx general information:  http://www.ni.com/white-paper/5434/en
    Feel free to post any follow-up questions you may have!
    Kevin W.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Upgrading from 10.28 to 10.3

    Does anyone know how I can upgrade my OS X 10.28 to 10.3? Thanks.

  • Contact folder in iPhone

    I've been having problems syncing my iPhone to my address book on my mac. Ive recently purchased an iPhone and am currently updating all my contact list & entering new ones. As a member of mobileme I am using the option of updating on the contacts on

  • SUN jre 1.6.0_04 under Forms 10.1.2.3 and IE7

    Hello, I get nuts about the SUN jre configuration in relation with IE7 (client side) and running under the Application Server 10.1.2.3 (server side). My problem is that I want to use JRE 1.6.0_04 on IE7 for Oracle Forms at the client side. On the tes

  • Display available ram memory in Terminal (no top) and WiFi info

    I am searching for something similar to "free" in Linux, to display the amount of free and used memory, and then incapsulate it into a shell script, so "top" isn't good. I already found the total memory output with "system_profiler SPHardwareDataType

  • Auth user in ORIG_MAIL_ACCESS or ORIG_SEND_ACCESS?

    The FROM_ACCESS table provides the authenticated user address, but I want to construct a mapping (for metermaid throttling) that applies to the RCPT TO stage of the SMTP transaction. Is there a way to expose the authenticated user address to the ORIG