1/0 Signal Generator

Does somebody know if there is a 1/0 signal generator in Labview 5.1 where I can specify the length of the durtion of 1(true) respectively 0(false)?

Hi,
if I understand you right you can use "Pulse pattern.vi" or "square wave.vi" from "functions->analyze->signal processing->signal generation" palette. Set the value of amplitude to 1 and you will get what you want.
Good luck.
Oleg Chutko.

Similar Messages

  • 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

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

  • 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

  • Calibrating Agilent N5183 Signal generator for specific output level

    Hi,
    Newbie to labview enviornment!  I am trying to write a VI to calibrate Agilent N5183 to a specific output.  For e.g. if I want to have -4.5 dBm output from my setup (as displayed on my power meter) I will have to set the sig gen to say 7dBm taking into account my losses etc.
    Any pointers how do I start tacking this?  I think I will have to create a while loop to check power levels, however I do not know how to increment and decrement the sig gen amplitude and stop at the desired level!
    Thanks in advance for any help.
    PS: Using Labview 2013, on win XP machine!
    Solved!
    Go to Solution.

    mkossmann wrote:
    3. Adjust pout to sign Gen to desired level while monitoring power on power meter
    Why do you need that step at all ?  Its not clear from your description what makes the difference between the readout of the power meter and the output level setting of the sigGen.
    I have had to do this plenty of times.  Especially in the RF realm, you want your tests to have a certain power level AT THE UUT.  So you have to adjust your signal generator to overcome the losses in the couplers, cables, etc.
    For this, all you need to do is set your signal generator to the level you want.  Then measure with the power meter.  Subtract the measured from the desired and add that much more to the set output.  Repeat as needed.  I would recommend using a conditional FOR loop so you can easily set a limit to how many times you adjust (I have been in endless loops due to weird situations here).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How interface N5181A MXG signal generator with labview by using LAN Interface????????????

    hai every one ...i have a doubt how  to interface N5181A MXG signal Generator with Labview by using LAN Interface???? and
    how to find IP Address of N5181A MXG signal Generator????????
    when i connect instrument with labview it shows that no instrument connected and what are the requirements for LAN interfacing with that instruments in labview and please help me?????? 

    You can set the IP Address on the instrument.  You may need to be in the same subnet of your controlling computer, so you may need to set your computer's IP Address to something static.
    Use VISA.  It makes life easier if you decide to use another bus (like GPIB, USB, serial, etc).  In MAX, create a network session with the static IP address you set the instrument to and use that as the VISA Resource.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Using labview to operate a signal generator

    Hey everyone,
    My name is Jake, I currently work in a lab at my university where we are trying to develop medical imaging via thermoacoustic tomography
    The problem I am facing is that we are trying to use LabVIEW 2010 to "talk" to an SML-01 Rohde and Schwarz signal generator. I have very little LabVIEW experience anmd have basically been teaching it to myself for the past month. I have downloaded a driver for the sig gen and have a GPIB cable to run from an oscilloscope (which we run labview on) to the sig gen.
    Would anyone be willing to help me figure out how to do this?

    An existing Instrument Driver exists here
    Edit{ ahhh you have the driver}  What  exactly are you having trouble with?
    Jeff

  • LabVIEW drivers for Agilent Noise Source 346B and Signal Generator E8257C-520

    Could anyone please tell me where to find LabVIEW drivers for Agilent Noise Source 346B and Agilent Signal Generator E8257C-520. I did not find them on NI's web site. Thank you!

    To my knowledge, the Agilent 346B Noise Source is not a programmatically controllable instrument and therefore we can't create an instrument driver. I suppose it is possible to be controlled through an instrument (like the PSG) but I don't see any documentation on this.
    As for the E8257C, we are insterested in providing a LabVIEW driver for this instrument series. Let me know if you are interested in assisting our development effort by loaning us the instrument.
    Jason Hobbs
    Instrument Drivers

  • Agilent signal generator and labview code

    Hi all
    I have Agilent 33220A Signal Generator.I want to generate square signal and convert this signal to a graph in labview with proper code but i dont know how to do.Please help i have limited time
    Regards

    sgirgin wrote:
    Hi all
    I have Agilent 33220A Signal Generator.I want to generate square signal and convert this signal to a graph in labview with proper code but i dont know how to do.Please help i have limited time
    Regards
    Limited time on your part is not our problem.
    Learning how to program in LabVIEW isn't something that can be done overnight.

  • Using external RF signal generator

    Hello.
    I would just like to ask how do I remove the frequency offset if I use an external RF signal generator (instead of the NI PXIe-5652 RF Signal Generator module). I understand that in the case of using the NI to generate RF signal, frequency offset is removed by setting the same reference clock source for the transmitter and receiver (setting the reference clock source to PXI_CLK in the front panel of both generation VI and acquistion VI).
    Thank you very much.
    Solved!
    Go to Solution.

    Hello, Sir!
    In that kind of setting, what master reference clock source should I set in the front panel? I tried both the onboard and RefIn and I got  some errors (see attachments). And do I still have other adjustments/settings to make?
    Thank you.
    Attachments:
    onboard.jpg ‏141 KB
    RefIn.jpg ‏135 KB

  • 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

  • Recording Using Binaural Head Using Signal Generated by Loudspeaker

    Hi guys,
    I am new to this software and my question deals with mainly setting up the measurement using a binaural head (basically just a coupld of microphones) to record a signal generated by a loudspeaker.  I would like to generate a signal within Adobe and send it through the sound card to the loudspeaker and then record it using the head.  I have all the hardware for this (amplifier for microphones and loudspeaker), VXI sound card, etc.  This is for a school project, I would really appreciate any feedback on this.
    My specific question is how to set up this recording in the multitrack view in the Main menu (how to set up input channels for recording and an output channel to send signal to the loudspeaker).  As I said, I am really a beginner so any details/tips would really be appreciated.  Thanks guys.

    Ah, so that's a Digigram card rather than one from VXI.
    I assume you have got the output from the card feeding to the loudspeaker from, say, track 1, which would be loaded with the source audio file.
    I haven't used one of these cards with the current version of Audition, but it ought to work fine. I believe it has ASIO drivers, so it ought to be just a question of selecting the correct recording source (Edit->Audio Hardware Setup) to the correst single track if you are aiming for a stereo file, or two mono sources to 2 tracks if you want 2 separate mono files.  In the Audio Hardware Setup, you need to set the Audio driver to the Digigram first, then lower down check that you have entries for mono and stereo for input and output. I'm not sure whether you need to hit the Control Panel button here for this card, but that might be necessary.
    Arm the recording tracks and start recording.
    I have a feeling that you may be asking something more complicated than I am describing.

  • Controlling signal generator, spectrum analyzer

    Hi,
         I want to automate 8656B signal generator(HP make),8590A spectrum analyzer(HP make) using labVIEW 8.6.I'm using GPIB interface to connect the instruments.Do I've to install drivers for signl generator and spectrum analyzer?what should I do?can anyonet ell me from scratch.
    Thanks
    kiranmayi

    You should also get both the programming manuals for the instruments. Remember that Labview drivers is not really drivers. They are more a program for controlling some instrument. The are seldom complete, regarding all instrument functions. Use them as a base for your own application
    Steps:
    1 download the driver
    2 Unzip to a separate folder
    3 Read the documentation
    4 Test the "driver"
    5 Good Luck, post again if you are stuck
    Message Edited by Coq Rouge on 08-14-2009 09:49 AM
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

Maybe you are looking for

  • Print Layout Designer question

    In Trial Balance there is a checkbox that I can select to "Hide Titles", but this same checkbox is not available in the Trial Balance Budget Report. How can I hide the titles for Trial Balance Report in Print Layout Designer? (Hide Titles is variable

  • How do I create an auto page height with nested divs

    I am using DW4 to create a website and am using nested divs to create the auto widths for the browsers How do I make the height auto adjust for differing amounts of content? Different pages have different amounts of content so I want that height to a

  • Color Correcting Multiclip

    I have alread compiled my multiclip and I am wanting to color correct one camera angle to match the other two. I've read you are supposed to do this before you edit the multi clip but alas I didn't do that.  So is there an easy way to correct this on

  • OSB: Configuring business service for JMS Queue

    Hi, I want to produce messages into a JMS queue from OSB proxy service. I have created business service for the JMS queue. I also want to return Status code=200, Status Messgae=Success if the message is successfully inserted into the Queue. Kindly le

  • Sync not working and I can't reset, delete account or ANYTHING!

    Sync is not working, says server isn't configured right. Have tried to reset sync and it doesn't work. Have tried to delete account and it won't. Tried to sign up for new account but it says my email is already in use. NOTHING I can do to use Sync!