Could I use ni6723 to generate square signal?

I just want to use the AO port of NI6723 to generate square signal with frequency between 10kHz to 500khz. The duty cycle should be 50%. The maximum voltage will be 10V and I want to change the minmium voltage between 0V to 5V.Is that possible?Could you give me an example?Thanks a lot!
Best regards!
Ciyuan Qiu

For generating periodic waveform, you can look for Regeneration mode. Topic like Glitching might be of interest to you.
Try below example.
DAQmx AO Regeneration - Dynamically Updating User Buffer Data
I am not allergic to Kudos, in fact I love Kudos.
 Make your LabVIEW experience more CONVENIENT.

Similar Messages

  • Problem using counter to generate gate signal

    Hello,
    Is there a way to have a counter output a logical high for n input pulses and a low for the rest of the time? I am running into problems implementing this simple task due to idle-state behavior of CreatePulseChannelTicks and CreateCountEdgesChannel.
    The output of the counter is used to gate the device that generates the pulses that are being count. As long as the gate is 'low', no pulses are generated. I run in the following problem:
     When I configure a counter with CreateCountEdgesChannel and use ExportSignals.ExportHardwareSignal to export the 'CounterOutputEvent', the initial state of the output is low. However, I need it to be high to start pulse generation.
     When I configure a counter as a one-shot pulse generator, I have to configure an idle state, delay-, high- and low-count. I tried two combinations:
    idle state low, delay 0, in high the pulse count I want, and low-count very high. However, despite the 'delay=0', the initial output state is low. Thus, my device does not start generating pulses.
    ide state high, delay set to the number of pulses I want, and low- and high-count very high. This does generate the desired gate signal. However, when I stop the counter task, the gate is set 'high' and my device again starts generating pulses. This is undesirable.
    Is there a way to set the IdleState when using CreateCountEdgesChannel? Is there a way to have daqmx to ignore the initial delay and immediately start with the counter output in the inverted IdleState?
    Thanks,
    Maarten van Kampen

    Short update:
    I found the method to set the IdleState when using CreateCountEdgesChannel: .ExportSignals.CounterOutputEventIdleState = CounterOutputEventIdleState.High.
    Howerver, now I run into the same problem with CreateCountEdgesChannel as with CreatePulseChannelTicks: when stopping the task, the output of the counter is always set high. And I want it to remain low when stopping the counter.
    Regards,
    Maarten van Kampen

  • I want to use the Function Generator VI to send command signals through the NI 7344 motion controller. This will be a closed loop servo valve system. I want to be able to change from say a square wave to a sine wave on the fly. Idea's?

    I am going to run tests that require an actuator to move using various types of arbitrary waveforms such as sine or square. The NI 7344 is hooked to the UMI that is going through a driver for a servo valve. The loop is analog and it is closed. I have played with some of the examples but can't get it to work. I have used the function generator VI to generate a signal but I think I am using the wrong input VI to the motion control board. When I use what I have it moves the servo and then stops. It doesn't continually generate the signal.
    I would love to use the controls on the function generator vi to control frequency and amplitude ect. Any help or pointer would be helpful. Thank you in advance.

    Hello,
    I'm not clear on exactly how you want to use the generated data but I'm assuming they will be used as your target points.
    There's a built-in example for motion called 'One-Axis Contour Move.vi'. This example demonstrates how to provide your target points as 1-D array. All you need to do is to replace the input array with the output of the function generator. In order to have it run continuously, use a while loop. You can further program your application so that it'll change the waveform on the fly by monitoring the user interface but this might be little little tricky as you will need to reset the move and load the new generated points while keeping track of your current position.
    I hope this helps. Let me know if you have further questions regarding this
    application.
    Best regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • How to generate two signals using NI myDAQ

    Dear Sir:
    I designed a circuit to generate a sine wave successfully using Labview. What I want is using NI myDAQ to generate another 3V DC signal as a power supply. I can do this seperately but when I add them together there is an error:  NI Platform Services:  The specified resource is reserved. The operation could not be completed as specified.
    I would like to use A01 to generate a sine wave and A02 to generate a DC wave, could you please check my file and tell me how to solve this problem. I found a solution which generates two signals together but what I need is to control these two signals seperately and using two channels.
    Kind Regards
    Jeff 
    Attachments:
    signal gen and acquire.vi ‏126 KB

    Thanks very much for your kind reply.
    No. I tried for a long time, change the samples of each simulate signal to the same but the warning also came out. Could you please check my file and tell me how to solve this kind of problem?
    Kind Regards
    Jeff 

  • Generate Square pulse Using DO module with cRIO 9022

    Hello,
    I want to generate square pulses of 400Hz using NI 9401 for cRIO 9022. I want to control the frequency from 1- 400Hz from PC using LAbview.

    Hi Mekel,
    most CompactRIO applications use three separate processors—a Windows PC, a real-time OS controller, and an FPGA. The CompactRIO controller uses the LabVIEW Real-Time OS instead of Windows. The FPGA does not use an operating system because the code is implemented directly in hardware.
    The common tasks for the Windows host VI include the following:
    • logging data to the PC
    • accessing databases
    • integrating with enterprise systems
    • providing a human-machine (user) interface (HMI) and display
    • supporting supervisory control.
    The RT controller VI tasks typically include the following:
    • processing data
    • control
    • logging data on the RT controller part of the CompactRIO system
    The FPGA VI tasks include the following:
    • I/O
    • hardware-based timing and triggering
    • low-level signal processing
    • control
    Communication between I/O modules and FPGA is digital because signal conditioning and ADC is done in the modules. Communication between the RT controller and FPGA uses the PCI bus in the CompactRIO. Communication between the Windows host VI and the RT controller VI normally occurs over the Ethernet.
    Serena

  • Generating PWM signal using Signal Express

    Hi,
       Would anyone help in generating PWM signal usinf Signal Express 2.5.1.   I am using a cDAQmx and connected NI 9472 to the slot number 6 to output the PWM signal. Also I have connected a NI 9421 to the slot number 5 to acquire the PWM signal, so that I could verify the signal.
       So would you please let me know how could I generate a PWM signal using Signal Express without any LabVIEW Programming. Please help me out.

    HI Aamruth,
    I atached a project, where you can see how to do it. I hope this helps.
    Regards, Mona 
    Attachments:
    PWM.seproj ‏29 KB

  • Using excel to generate signal in labview

    Hi there
    I am having a trouble in generating a signal in labview using excel and then plotting it as waveform.
    In excel file, I have 2199 rows and 9 columns with time in second and I want to plot time against other columns except column 1. In rows, I have text in first one.
    Any help much appreciated.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Data File Modified.xlsx ‏554 KB

    smercurio_fc wrote:
    You haven't shown us any code, so we don't know which columns you're using. However, you should be aware that Excel and LabVIEW use different epochs: https://decibel.ni.com/content/docs/DOC-8733.
    Thanks smercurio the link appears to be broken so anyone who tries just remove the "." at the end.
    The best solution is the one you find it by yourself

  • 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

  • Could I use PCI-6601 to generate a 200Hz clock based on a external 40kHz clock?

    Could I use PCI-6601 to generate a 200Hz clock based on a external 40kHz clock?
    That means I want to use PCI-6601 as a frequency divider. (40KHz->200Hz)
    Is it possible? Is there any example I can refer to?

    1. Yes it's definitely possible to make such a frequency divider.
    2. Here are a couple links that may help:
    http://forums.ni.com/ni/board/message?board.id=40&message.id=3607&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=170&message.id=78359#M78359
    http://forums.ni.com/ni/board/message?board.id=40&message.id=4232&requireLogin=False
    -Kevin P.

  • Permanent square signal

    Hi all,
    I am working with the PCI 6221. I am using it to generate a square signal of a determined frequency. The problem comes up when the computer where the DAQ is plugged into becomes unstable, freezes up,... then i think that the DAQ stops generating the signal. Is it possible????
    Is it possible to make the device independent???, i mean something like to save the instructions inside the board and make it not depend on the state of the computer. I am generating the signal with:
                          DAQmxCreateTask("",&taskHandle);
            DAQmxCreateCOPulseChanFreq(taskHandle,device + "/" + counter,"",DAQmx_Val_Hz,DAQmx_Val_Low,0.0,Frequency,DutyCycle);
            DAQmxCfgImplicitTiming(taskHandle,DAQmx_Val_ContSamps,1000);
            DAQmxStartTask(taskHandle);
    Thank you beforehand
    JRF

    Gracias Jaime,
    I had a look at those examples long time ago and just from your reference it is where I took the code i posted. My PATH is a little bit different but i hope the examples are the same (C:\Archivos de programa\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Counter\Generate Pulse\Dig Pulse Train-Cont), this means my examples are in C, i couldnt install solution for visual studio 8.0.
    Getting to the point, with this solution you are pointing to me I think it is not possible to make the task independt on the computer where the DAQ is plugged into. That means that if for some reason, the computer is "frozen" the task could stop...
    Thank you anyway!!!
    Jrojfer

  • How to generate GPS signal continuous

    Hi,
    I encountered a problem recently and I need your help. A customer used a PXI-5671 to generate GPS signals to test a receiver. The problem was like this:
    1) When we used actual GPS signals instead of simulated signals generated from the PXI-5671, the receiver functioned normally.
    2) When we streamed bin file to generate signals repeatedly using the PXI-5671, the receiver could receive correctly for the first time, while at the rest of it the receiver couldn't receive the signals nor display how many satellites there were and what the signal strengths were.
    I supposed, that this was due to the reason that the timestamp for the second time was earlier than that at previous time. How do we generate GPS signals continuously with the timestamps updated?

    Hi,
    When you stram from a bin file repeatedly, it will run first time but will lose lock because when it comes tothe beginning of the file, its time suddenly jumps and the receiver does not accept this. For example, lets say your bin file is from GPS time t1=0 to GPS time t2=30000s. When you loop back around the file, the time increases from 0 to 30000 and then jumps back to 0 and that is not acceptable by receiver. You will need a direct streaming from 5671.
    I can put that up for you soon if you want.
    Regards, 
    Sastry 
    Sastry Vadlamani
    RF and Communications Software R&D
    National Instruments

  • Send a square signal

    I have a PCi lab card 6025. i need to control one pump, by sending a square signal, between 0 and 5 Volts. I need to send a signal in intervals of 1 second. Could anyone tell me something about this?

    Hello;
    That is a simple application which has several examples you can use as your start point. As you weren't specific on what programming language you are using I can't point you to a specific example.
    As you need one point per second, you just need to specify the Update Rate of your code to be 1, and then change the data points of the array to be written to the output channel to meet your application needs.
    Hope this helps.
    Filipe

  • Generate continuous signal via audio output

    Hi, I would like to use the create a square wave and send it to the output of the soundcard.
    I managed to do it via the waveform generators, but the the waveform is not stable, nor continuous, as I am watching it via the oscilloscope. What I see is just packets of waves, buffering into the VI chart.
    Shortly, the idea is to use this waveform ( 2kHz and 1V output) rather than using a signal generator, to control some piece of equiment here.
    Thanks
    A.S.

    I think you might want to post your actual VI ... or a snippet of it.  Then we can provide more advice.

  • Elvis: Is It possible to use the Function Generator and the Oscilloscope simultaneously?

    Hi,
     We are using the NI Elvis to output a function or a sine wave at a certain frequency and using the oscilloscope on the same board/elvis to read a modified signal. Is this possible? Can we use both the Function Generator and the oscilloscope at the same time? Please help. The oscilloscope would be reading signal from an accelerometer. Thank you in advance. We have no VI as we do not know which to use and if they are possible.

    Hi,
    There is no problem using the Function Generator and Oscilloscope
    at the same time with NI ELVIS. Using the NI ELVIS soft front panels (Start
    >> Programs >> National Instruments >> NI ELVIS 3.0 >>
    NI ELVIS – see picture attached –‘NI ELVIS soft front panels.JPG’), you can choose
    to open more than one instrument at a time. We do this by opening one
    instrument, allowing it to begin, and then opening another. We can also program
    in LabVIEW using more than one instrument at a time by placing down multiple
    Express VI’s taken from the NI ELVIS pallet on the block diagram (see picture
    attached – ‘ELVIS Express VI's (LabVIEW).JPG’). One note when doing this,
    please see KB 41ODPHX1 
    for an example of how to program in parallel. If you do not wire the ‘stop’
    terminal of the express VI’s, you will get the error described.
    David L.
    Systems Engineering
    National Instruments
    Attachments:
    ELVIS Express VI's (LabVIEW).JPG ‏74 KB
    NI ELVIS soft front panels.JPG ‏56 KB

  • The limit to imagination for what we could achieve using Labview

    Hiya
    I would like to create a user interface by customizing front panel so it could be used as an oscilloscope. This oscilloscope allows user to do following selections.
    Analogue or digital signal
    which channel
    raw binary data or scaled measurement
    enter mathematical formula
    and then it displays the signal. There are some knobs which could be used to zoom in or alter display to ficilate analysis. This is just imagination, Is it possible to achieve this on Labview. What are the steps please??
    Your help is much appreciated.
    Ta

    You can download and install the NI-SCOPE driver, which includes the NI-SCOPE Soft Front Panel, an oscilloscope application written entirely in LabVIEW.  This will give you an idea of what is possible (essentially anything even vaguely reasonable, plus a lot more, limited only by your imagination and skill).  Unfortunately, the driver is very large.  If you want a picture, check this out.
    The underlying architecture of this application is virtually identical to the architecture given in this post.  However, you would probably be better off following Ben's suggestion to hone your LabVIEW skills, then dive into the xylophone example.
    <fullDisclosure> I am a National Instruments employee. </fullDisclosure>
    Message Edited by DFGray on 01-28-2010 08:52 AM
    This account is no longer active. Contact ShadesOfGray for current posts and information.

Maybe you are looking for

  • Application builder subvi

    I'm just learning to use the application builder, my interest is in creating a stand alone application & installer.    Is it possible to generate a single executable file which contains the top level VI as well as all of its sub-Vis ??  If the answer

  • Function Module RH_UPDATE_INFTY throwing odd error

    I am trying to update a relationship using this FM, however I keep getting the error "No input help is available" which I assume is a false-negative. I have traced the code through and the error is being thrown here:     PERFORM RE777Z_RA(MSTT777Z) U

  • When i am installing the OBIEE 11.1.1.7  Creating domain is stuck

    can you please help me guys..... INFO: Environment Variables: INFO:      ORACLE_HOME = INFO:      PATH = C:\app\chinna\oracle_home\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Wi

  • Singleton Class using a constructor not a get Instance method ?

    Hi, I have a class with a couple of contructors, the class is instantiated many times in the application. Is there any way by which I can return a single instance of the class when the contructor is called ?. I dont want to declare a get instance met

  • Tools/Options is missing

    Running Firefox 3.6.10 Suddenly the Tools menu contains only a couple of options and sometimes opens blank. I seem to remember being able to click Options to set my tabs as the current addresses. Obviously I cannot do this now. The problem seems to h