Simulate signal controlling problem

Hi
I have this signal controlling problem. In 10,20,30,40,50 the sine wave stops. How can i avoid that?
Attachments:
PWM.vi ‏251 KB

I'm more concerned about the Wait inside of a Timed Loop.  That is totally unnecessary.  Change the timed loop into a normal while loop.
As far as the Simulate Signal, I have no clue.  The settings look find as far as I can tell.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • How to control the variables in 'timing' in simulate signal palette by user numeric control?

    is there a way to control the timings of the simulate signal function (i.e. samples per hz, num of sample, etc) by user input (numeric ctrl)? You could easily do so for amplitude, freq, etc but not the timing.
    Many thanks,

    Are you referring to an Express VI?
    I don't typically use the Express VI's because they do not offer the customization that I need or want.  They are configured by double clicking the icon and all settings are from within.  You already know that.  Some Express VI's do offer more controls.  But this one has only the error in control.
    However, you can right click it and select "Open Fron Panel". 
    It will ask you if you want to convert the Express VI to a standard sub-vi. Select Convert.
    You will then have a subvi that has all the input controls that you need
    Message Edited by Ray.R on 03-14-2009 10:32 AM
    Attachments:
    SimulateSignal.PNG ‏2 KB
    SimSignalOpenFP.PNG ‏7 KB
    SimSignalConvert.PNG ‏4 KB

  • Simulate Signals DAQMX

    I am using Simulate Signals which is generating a 125hz square wave with a 10v amplitude, then sending that singal to DAQ Assistant for an analog out.  Somehow the frequency seems to be changing to the DAQ Assistant analog out, therefore I am not running 125hz.  I notice this when the samples per second (hz) in the Timing section of Simiulate Signals is increased or decreased.  Is this just a sampling miss match??  I am sampling analog in data with another DAQ Assistant to capture data at 10,000 samples/sec(trying to capture accurate data of a very fast valve), then writing to a spreadsheet.  Thanks for any help

    Hi TMDATA-
    What type of DAQ card are you using?  How are you verifying that the output frequency is not the rate you specify?
    I have tested with the attached VI and seen good results when measuring digital frequency on a counter of my MIO M Series card.  You will notice that I have chosen "Use Timing from Waveform Data" in the DAQ Assistant Express VI.  This ensures that the timing information requested in the Simulate Signals VI is passed to the DAQ Assistant for task timing control.  I have verified that the actual output frequency closely follows the frequency requested using the Simulate Signals Express VI.
    Please give this method a try and if you continue to have problems please let us know how you're verifying the output frequency.
    Hopefully this helps-
    Message Edited by Tom W. on 09-08-2005 04:30 PM
    Tom W
    National Instruments
    Attachments:
    AO Test Frequency.vi ‏235 KB

  • Sound File not creating from simulate signal

    I am trying to create a white noise sound file.
    100 Hz to 8000 Hz 100ms long with a 10 ms ramp up and 10 ms ramp down.
    I have been able to create the signal and sound in this vi.
    Create sound - 8000 hz white noise
    High pass filter - remove noise below 100 hz
    ratio window - causes ramps
    turn back into waveform - why oh why
    normalize after filtering - for some reason the filtering changes the height of the whole waveform, if you have a solution to this......
    play back sound
    write sound to wav file.
    The problem is, I can only get a file as short as 500 ms.  I did this by changing the simulate signal options selecting 8000 samples at 16000 Hz.
    If I select 1600 samples (the number of samples needed for 100 ms) some error occurs in the writing process, and the file thinks it's still open by labview.  If I close labview, the file still does not work.  How can I do what I need to do?  Why can't I just reduce the number of samples to 1600 and get a 100 ms long waveform?
    -Regards
    eximo
    UofL Bioengineering M.S.
    Neuronetrix
    "I had rather be right than be president" -Henry Clay
    Attachments:
    white noise generator.vi ‏169 KB
    White noise generator.PNG ‏40 KB

    The Labview sound system is something that NI do not care much about. They actually neglect it. Errors reported in version 8.6 are still not fixed in Version 2010. And if they fix errors you can be sure some new errors will be introduced. What you can try to do is using the old sound system (used in 7.x) for writing your data to file. In your case it should have much to say. You will find the old sound system here ..\National Instruments\LabVIEW 20xx\vi.lib\sound\sound.llb
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Simulate Signal Express VI is sending two periods of the wave per loop iteration - how can I reduce this to one period?

    Hello,
    I've been trying to use the Signal Generator Express VI and DAQ Assistant in order to generate an output waveform, as seen in this NI tutorial video:
    http://www.ni.com/academic/students/learn-daq/generate/ (timestamp is at 2:07 for what I'm trying to do)
    For background, I'm trying to move a piston device using Labview. The sine waveform is intended to move the piston at a smooth speed. For every loop iteration, the Simulate Signal VI running into my DAQ Assistant moves the piston to its maximum displacement and back twice. I cannot determine why this is occuring.
    The settings in my "Configure Simulate Signal" tab are as follows:
    Frequency: 1Hz
    Phase: 90 deg
    Amplitude: 2
    Offset: -2
    I would like my piston to only reach its maximum displacement and return for every iteration of the loop. I've tried adjusting all of the settings within "Configure Simluate Signal" but I can only work in even numbers - sending the piston back and fourth two, four, or eight times, ect.

    The Simulate Signal VI is set for integer number of cycles and the default frequency set in the Cycles per Second control is 3.75 Hz. That results in the signal containing three complete cycles and the data array contains 8000 elements, not the nominla 10000 specified in the Express VI dialog.
    If you only want one cycle, you need to specify the signal so that you only get one. Either reduce the frequency or reduce the number of samples.
    As you have noticed Express VIs do one thing exceedingly well: They obscure what is going on inside.  I pulled your signal generation code out into a separate VI and then created a generator which will generate the same signal but allow you to select the number of cycles. It uses the Sine Waveform.vi from the Signal Processing  >> Waveform Generation palette.
    I also recommend that you change the structure of your program. The use of sequence structures is discouraged in LabVIEW  because they defeat dataflow are very inflexible when changes need to be made. A Producer/Consumer Design Pattern plus a state machine would probably be a good choice. This will allow separation of the daq acquisition from the saving to file so that the timing of one does not constrain the timing of the other.
    Setting the Analog Input Read to read multiple samples simultaneously and using the hardware timing of the data acquisiton device will get data faster and the timing will be precisely (compared to software timing) controlled by the hardware.
    Writing to the same file in parallel loops probably results in some strange behavior such as differing numbers of writes from acquired data compared to generated cycles. As the file grows, the writes may slow down due to the OS needing to fragment or reallocate space for the file.
    Lynn
    Attachments:
    Signal generator.vi ‏49 KB

  • Labview crashes when selecting simulate signal

    Each time labview 8.6 crashes after I selected the simulate signal function. I get an error message about ivanlyss.dll. The message is in Dutch and it's hard for me to translate but there seems to be a problem initializing the dll file.
    I asked a collegue to send me a vi containing simulate signal and the same thing happened: labview crashed.

    Hi Stefan,
    I can't post a vi with the simalute signal since labview always crashes as soon as I select this function. I guess you are right and the best thing I can do is reinstall labview.
    Ronald

  • JTree - Simulate that control key is down.

    I am working on a global functionality for the whole application that simulate the control keyboard button is down. For a JTable the changeSelection method can be used to simulate the control key down, but are their any similar method for JTree or some other solution to the problem.

    Thanks,
    but I am going to implement a toggle button in the toolbar that are going to work globally. You must be able to toggle on and of and it is going to work in different frames.
    -Patrik

  • Calculate max, min of simulate signal

    I'm using Ampitude and Level Measurements to calculate max min and peak to peak of simulate signal but these values ever change.
    why this application return all of value of function??
    how can I resolve this problem
    Thank you

    Ocramm,
    the point is in the way you configure the "Simulate Signal" Express VI. If you remove the while loop in your example, you will see that it will generate only the first part of a sine wave. And not an entire cycle. This is because you have configured it to generate 100 points at 1000 Samples/s. Putting this in a while loop generates 100 points continuously, describing a sine wave but the processing is always performed on the 100 points generated in the same iteration.
    Remove the While loop, and you will see what I mean.
    If you open up the Simulate Signal Express VI, modify the number of samples generated and put in 1000, so that it will generate 1 entire cycle. The measurements will be as expected.
    AlessioD
    National Instruments
    (btw: si sono italiano)
    Attachments:
    TutorialGenAnalyzeDisp%201[1].vi ‏235 KB

  • Simulate Signal phase shifting loop

    I am trying to use a loop to phase shift a simulated signal across 360 deg. My loop will change amplitude, frequency, offset, but it won't change the phase, does anyone know how I can do this? I have attached a code that shows the fundamental problem.
    Solved!
    Go to Solution.
    Attachments:
    SimSigPhaseShift.vi ‏34 KB

    When you wire a graph to it and set the graph to ignore timestamps, you see the phase shift. If you wire a chart to it, wire a true constant to the reset input of the simulate signal.

  • User Account Control Problems with Premier Elements 7 32 bit in 64 Bit Windows 7

    I found User Account Control Problems in other forums but didn't see much in Premiere Elements, so I hope this helps others who may be having problems with 32 bit programs in a 64 bit computor. When I first got my 64 bit I didn't have problems.
    Back in February I bought a Quad Core Desktop with Windows 7 64 bit. Haven't been on the forum for 7 months since I wrote in regarding importing video with the Pyro AV Link (Premiere Elements Tips and Tricks). I was having problems importing video which started after March 28 sometime, as that was the last time I didn't have a problem importing VHS. Took me a few months off and on to find out what worked.
    I started uninstalling Windows updates and any programs I had installed back to that point in time. Checked after uninstalling each item. The capture screen would come up on a delayed basis but clicking on capture did nothing. Although no driver is required for IE1394 (so they say) I read where some people using the Legacy driver had fixed some problems, so I switched to the Legacy. Seemed to work great (for a few minutes).
    I had even uninstalled and reinstalled PE7 but no difference. Finally I noticed a shield in the PE7 Desktop icon. Thats weird. Never had that before. Just decided to show up after I had done all of the stuff I mentioned. Turns out at some point in time since I've had the computor Windows 7 decided to flag my 32 bit program as misusing the 64 bit system. User Account Control. I never bothered too much with UAC and just clicked on the yes box wen it popped up asking if I wanted this or that to take control of my computor. I tried using the minimum setting for safety reasons, and then finally turned User Account Control off. Bingo! PE7 capture works again and still working.
    While I am not recommending that people arbitrarily turn UAC off, this appeared to be my problem. I would recommed that they try turning it off before uninstallin a bunch of stuff. Having a restore point may or may not have been a fix for me. I think one of the Windows Updates caused the problem but I am not going to uninstall any more stuff at this point, I have not been back on the internet or installed any more updates in my desktop. I am going to use my laptop for internet and used the desktop for video.
    I am guessing this could be a problem for any 64 bit systems trying to use 32 bit programs. IE: XP,Vista,Windows 7 64 bit. In Vista there is also Data Execution Prevention (DEP) which you can turn on or off, supposedly to prevent misuse of memory (as I understand it), but Win7 either doesn't have it or I haven't found where it's located.
    Maybe this has been covered in the forum somewhere and I missed reading it. Hope I am not too confusing. Anyway, whatever feedback you guys have would be great.  

    John,
        Thanks for your answer, and I did check out the link you suggested. However, I have Windows 7 Home Premium as most people have I think, and the XP program was not available. I started with Vista and now have Win 7. I never could navigate around in XP anyway so am content to just leave User Account Control off.
        Interesting side note to turning UAC off is that my desktop seemed to be using more of the CPUs, where half of them were "Parked" as I wrote in also about 7 months ago when I 1st got my desktop. I am pleased to say that video processing seems to go quicker with UAC off. Have to observe things some more to confirm.
        I just thought if others were having problems after installing Windows Updates and leaving UAC off worked then they could possibly pinpoint a problem.

  • How to use the discrete unit delay function with the simulate signal as the input?

    Hi there,
    I want to use the simulate signal as the input. First, i downsample the input with the downsampler.vi. Then I want to feed the output of the downsampled signal to the discrete unit delay block and display the delayed signal on the graph.
    Somehow I can't use the delay block properly, do anyone know how to fix that?T_T
    thanks!!!!
    Ivy
    please see the attachment
    Attachments:
    test.vi ‏164 KB

    Hi nozombie,
    In your VI the Delay VI only delays the measurment for one interation of your simulation loop.  What are the results that you hope to see?
    Regards,
    Mike Altmann
    LabVIEW Platform PSE
    National Instruments

  • Control problem

    I create a swf by Flash locally which point to a flv in a
    remote flash media server, FLVplayback component included, it work
    fine locally. Uploaded to FMS3, played without the control problem,
    such as Play/Pause, seek bar.
    Is it something I need to configure in FMS, or in Flash.
    Please advice.
    Thanks!

    Between version 1.0 and 2.0 the API in the JBCL controls has
    changed. We are actually moving away from JBCL completely (please
    do send feedback if you have a comment on that) to a Swing and
    Infobus standard based library of visual JavaBeans.
    You will still be able to use the JBCL controls in JDeveloper
    2.0. The best thing to do is to take your 1.x based application
    AND the 1.x based JBCL.ZIP file into your new environment. This
    way you will be able to continue to use these apps and
    components. Taking the 1.x JBCL.ZIP file will make sure you have
    the same version of the JBCL library that you were used to in
    version 1.x.
    Hope this help,
    -Roel.
    Hans Duijn (guest) wrote:
    : Hi,
    : I developed an applet in v1 that worked fine. I tried to
    rebuild
    : the applet in v2 but some problems occured. One, The
    : ChoiceControl populated with the method
    : 'ChoiceControl1.setItems' but in v2, this does not work till a
    : explicitly called 'queryDataset.open'. Is the way to do it or
    do
    : I have to use special properties for the
    dataset...and...second,
    : I'm using an listControl that, in response to a selected item
    in
    : the ChoiceControl, changes frequently. No new list appears till
    : I update the applet the hard way (hide it and bring it to
    front)
    : or click the mouse on the hidden items. 'listControl.repaint()'
    : has no result. Am I doing something wrong? It worked in v1...
    : and third...when can we expect the final version 2?
    : Thanx.
    null

  • How can I get the time for a simulate signal express vi waveform?

    I tried converting to an array and then indexing, but every index I try only gives me the y value. See attached VI for clarification on what I mean.
    Attachments:
    simulate signal.vi ‏49 KB

    You will have to keep track of that yourself.  You are sampling at 360kHz.  This means that each sample is ~2.8us.  You can easily get the time by taking that dt (2.8us) multiplied by the sample index and adding the time at which the first sample was taken.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Je n arrive  signaler un probleme sur l appli dans l apple store

    je n arrive pas a executer une appli que j ai achetee. je ne trouve pas la fonction "signaler un probleme" sur l appli dans l apple store
    merci

    Quel est ton accès au réseau ? Un accès wifi de type freewifi, par ex., autorise assez mal les téléchargements conséquents.
    Après échec, as-tu détruit les fichiers partiels téléchargés ?
    Si tu as un Apple store près de chez toi, tu peux télécharger Mavericks gratuitement, et avec un bon débit.

  • Signaler un probleme sur vidéo !

    où signaler un probleme sur une vidéo acheté SVP ?
    Falco saison 1 épisode 3 =  fige d'image durant environ 1 minute à la fin de l'épisode !

    Bonjour,
    restait il suffisament de mémoire disponible sur le disque au moment où l'erreur s'est produite?
    Quand vous parlez de temps indéterminé, est ce un temps relativement long ou le problème peut se produire très rapidement.
    Avez-vous de nouveau été confronté à la même erreur depuis le reformatage?
    Avez-vous pu tester le même exemple sur un autre PC?
    Merci pour les informations complémentaires.
    Cynthia Arickx
    National Instruments France

Maybe you are looking for

  • Check if a user has a specific role

    Hello, Is it possible to check if a user has a specific role in MII 12.0? For example if the user has the role "xmii Developers" I would do something more in a transaction than if the user doesn't have this role. Thank you for your help. Regards, Mat

  • Managed server throws error on start up

    Randomly, while starting a managed server, the following exception is logged in the log files. What does it mean, and how can I resolve this. I am using Weblogic Server 7.0 Sp1 with JDK 1.3.1_08. Exception Trace: The WebLogic Server did not start up

  • PDF viewer for style

    Looking for PDF viewer that is compatible with style 9670 . please recommend

  • Moving Iplanet Temp dir. to another drive

    Hi, I would like to move the temp directory that Iplanet creates on c:\winnt\system32\netscape to another drive. This is on NT box. I appreciate all of your suggestions. Rafael

  • Launch the SQL*Loader From Stored Procedure???

    Is it possible to aaunch the SQL*Loader from a stored procedure? Please help!