Sine.vi clicking when used for realtime output with DAQ Assisstant.

What I'm Trying to Do: Stepped sine analysis. The program outputs from the DAQ device each of the frequencies entered into the array constant on the left (see VI) in order, taking a measurement of the magnitude of the signal input to the DAQ device for each frequency. The program only takes a measurment and moves onto the next frequency once it has decided that the magnitude of the input signal is stable. Stability is defined by the stablility upper and lower limits labelled in the lower double nested loop (see VI). The program measures the inputs magnitude 10 times as second, and calculates the difference between the current magnitude and the last magnitude each time. The difference must be within the stability limits 20 times in a row for a measurement to be saved and the frequency changed.
The Problem: phase of sine.vi is resetting each time round the loop for some (not all) frequencies, even though it's set not to, causing clicks (number of clicks per seconds depends on block size). This doesn't happen if the lower nested for loop (the one that checks for stabliity, labelled on the attached VI) is removed. I thought that maybe the two DAQ Assistants (one for output and one for input) were interfering with eachother, but the problem occurs even when the DAQ Assistant Input is changed to a signal generator.
Thanks in advance for any help,
Christian
Message Edited by crnbaker on 12-08-2009 05:00 AM
Attachments:
steppedsine_forum.vi ‏116 KB
steppedsine.JPG ‏74 KB

Hi Christian,
I have been looking into this problem though I must warn you that since I don't not have your exact hardware configuration I can not exactly recreate your problem. I have also carried out some research to determine whether there are any known instances of this problem, and unfortunately there are not.
The fact that the VI runs OK when the lower loop is deleted suggests to me a problem in this lower loop. Have you tried initialising the shift register. An uninitialised shift register could explain such inconsistent behavior. Symptomatic of this kind of problem would be the VI running correctly the first time you run it and then producing unexpected behavior subsequently.
Best Regards,
Christian Hartshorne
Applications Engineer
National Instruments

Similar Messages

  • Why should we select all key fields when using for all entries

    Hi,
    Why should we select all key fields in our select query when using for all entries statement?
    I read about for all entries but this point was not clear in any post.
    Please explain me
    Regards,
    Subhashini

    Dear Subhasini,
    It is because FOR ALL ENTRIES deletes the duplicate entries before populating the target internal table.
    Please do an F1 on FOR ALL ENTRIES & read the SAP documentation.
    I mean how duplicate entries will not get deleted when we use this?
    Quite simple, if you select  all key fields then each entry will be unique & there will not be any duplicate entries to delete !!
    BR,
    Suhas
    Edited by: Suhas Saha on Oct 16, 2009 9:41 AM

  • Live type files look grainy and do not fill the background when used for green screen backgrounds.

    live type files look grainy and do not fill the background when used for green screen backgrounds. Ideas?

    What I want to do is somehow make my entire iMovie project smaller by compressing it somehow but without losing any footage or audio or quality. At the moment the project is a 56GB iMovie project lasting approx 1hr. I have a mixture of miniDV footage, titles created in Live Type (they are better quality than anything available in iMovie) and audio.
    The miniDV footage is automatically compressed when it transfers from my camcorder to my Mac, no worries there.
    The LiveType titles contain a motion background (imported into LT) and then text which appears and disappears at set points. The titles vary in length but are about 5 seconds each.
    The file size for the LT titles is approx 180MB per clip, the movie requires about 20 or so of these clips, making a very large file size overall.
    Is there a way that I can save something in LT so that the file size is smaller yet still keep the quality and use the clip in my iMovie ?

  • Siri does not work when used for calling a contact function

    Siri does not work when used for calling a contact function

    Very strange, try to turn off/on your iPhone. Or make a reset (home+power button)...
    If it continues try to restore it.

  • Is it possible to build a project with Labview 2010 on a Windows XP system, that is useful for a system with windows 7 on it?

    Hi there,
    I am planning to use Labview 2010 in a short time.
    But before I'm going to use it I have some questions.
    I know it is possible to run Labview 2010 in an XP environment. But is it also possible to, when running Labview 2010 on a XP system, to build a project to a version that is useful in a Windows 7 environment?
    Or do I have to run Labview 2010, when I want to build a project that is useful on a Windows 7 system, on a system with Windows 7?
    Please give me some information.
    I hope to hear from one of you soon.
    Regards,
    Kenny
    Solved!
    Go to Solution.

    Is it possible to build a project with Labview 2009 on a Windows XP system, that is useful for a system with windows 7 on it?
    Thanks.
    Philippe B.
    Certified Associate Developer / Dépt Moyens d'essais
    www.ingenia-system.com

  • When using facetime having difficulty with video, sound is ok.screen says reconnecting.

    When using facetime having difficulty with video.msound is ok. Screen says reconnecting

    There have been numerous reports of FaceTime problems for the last several days and it is unclear what the cause if. Following is one of many discussions of the issue: https://discussions.apple.com/thread/6096640?tstart=120

  • LabView (8.2) hangs when using I/O operations with traditiona​l NI-DAQ 7.4.4 after aborting LabView program

    Hello!
    We have the following problem:
    LabView (8.2) hangs when using I/O operations with traditional NI-DAQ 7.4.4 after aborting LabView program
    We freshly installed LabView 8.2 (2006) and NI-DAQ 7.4.4 on a PC running Windows XP (Service Pack 3). We built a larger vi that remotely controls a traditional NI-DAQ card (AT-AO-10) on a second PC via NI-VISA 5.0.3. We were successfully running this program until a power failure caused the first computer to crash. After this crash we were unable to start the program again: LabView freezes while loading the vi. LabView itself can be started but freezes when adding I/O operations from the NI-DAQ palette to a block diagram.
    We have tried to re-install NI-DAQ 7.4.4, but it did not help. We then re-installed all NI software, but still no improvement. In the end we decided to reinstall ALL software, first Windows XP, then LabView and finally NI-DAQ 7.4.4. This worked. However, after a few days of running the program we had to abort LabView via Windows Task manager and afterward we again experienced the same problem as before: LabView freezes when loading the program.
    Obviously, we cannot afford to reinstall Windows every time. Are there any known Windows XP / NI-DAQ issues that might cause the freezing of LabView? We would be very grateful for any idea.
    Best regards,
    Matthias

    Hello Sprice,
    Browse the shipping examples according to “Directory Structure” and then select
    DAQ to find the Traditional DAQ examples. 
    There a lot of examples that are written for counters (Counter >>
    daq-stc.llb >> Count Edges (DAQ-STC).vi). 
    What kind of signals are your photons creating?  Are they TTL compatible at a certain
    frequency?  You don’t care about overwriting
    your buffer?
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • How to numberformat when using sql:query alogn with c:forEach JSTL tags

    Is there anyway to format the numeric values returned from the database when using <sql:query> alogn with <c:forEach> tags
    Here is my jsp code
    <sql:query..../>
    <c:forEach var="row" items="${queryResults.rows}">
    <tr>
    <td><c:out value="${row.COL1}" /></td>
    <td><c:out value="${row.COL2}" /></td>
    </tr>
    </c:forEach>
    Col1 values are numeric without any formats Eg: 1000, 10000, 1000000 etc.
    how can i format them to 1,000 , 10,1000 , 100,000 etc

    It is polite to mention what your answer was. These posts are not just here for you to ask questions, but to be used as a resource for other people to find answers. Saying "I solved it" with no details helps noone.
    I presume you discovered the JSTL <fmt:formatNumber> tag?

  • When using printer Epson R1900 with Aperture 3 and if I mistakenly choose the wrong paper such as, epson's luster instead of glossy, does that change the exposure? Like make it too dark one or two stops!

    When using printer Epson R1900 with Aperture 3 and if I mistakenly choose the wrong paper such as, epson's luster instead of glossy, does that change the exposure? Like make it too dark one or two stops!

    Hi,
       If you choose the incorrect settings for printing, yes - the print quality will be affected.
    Different papers absorb the ink differently, so you can end up with prints that are too light, too dark, or have a colour cast if you make incorrect choices in your Aperture or printer settings.

  • Where can I find a mapping of the Mac Powerbook version number (e.g., 3.1) to the dates (e.g., "late 2007") that Apple uses for indicating compatibilty with OS upgrades?

    Where can I find a mapping of the Mac Powerbook version number (e.g., 3.1) to the dates (e.g., "late 2007") that Apple uses for indicating compatibilty with OS upgrades?

    There were no PowerBooks made in 2007. By then Apple had switched over to Intel and they were making MacBook instead.
    If the MacBook is what you really want try http://en.wikipedia.org/wiki/MacBook
    Allan

  • HT201178 when using apple bluetooth keyboard with iPad, hitting the enter/return key while typing in iMessage only adds another line not 'send' the message? is there a setting to change that somewhere?

    when using apple bluetooth keyboard with iPad, hitting the enter/return key while typing in iMessage only adds another line not 'send' the message? is there a setting to change that somewhere?

    Everywhere that I've checked it is not possible to do this. I would like to even do this using the vkb. I hate having to stretch my thumb all the way up just to send a message. It's messaging, not a report or email. Seems backwards. Hopefully some day Apple can add this option.

  • Sand Box has stopped working error when using System Exec.vi with wait until completion is true

    I get the following error message in Windows 7 "Sand Box has stopped working" when using System Exec.vi with wait until completion set to true, if I set it to false there is no error message.

    Hello JJVerdi
    mmm well System Exec.vi simulates a DOS command window, can you run the sandbox from the cmd window using the same commands without any errors? 
    you may take a look to this KB, it may be related to your issue:
    http://digital.ni.com/public.nsf/websearch/2393462​BD57B854186256C4F007B706A?OpenDocument
    Regards
    Mart G

  • When using i-Cloud PAGES with another shared person, how to you shift ownership control of the file to the other who started as a collaborator?

    When using i-Cloud PAGES with another shared person who is a collaborator, how to you shift ownership control of the file to the shared person who started as a collaborator and needs to take over file ownership responsibilities?

    Thanks, but I have searched here but have not found or heard a direct answer to my question as stated above...

  • AC Power stops when using s-video output

    This only happens when using the s-video output. It usually takes about an hour before the ac power adapter stops working then the powerbook switches to battery power.
    For all other times when not using the video output, it would work normally [ i could leave the ac power plugged in for weeks without this problem occuring ].
    Is there a way to fix this when using the s-video output.
    Powerbook G4 1.33 GHz   Mac OS X (10.4.6)  

    If you know someone with another 65W power adapter I would try using it to see if it does the same thing. If it doesn't then you know to buy a new power adapter.

  • User exit to change vendor e-mail address used for PO output via e-mail...

    We have two vendor e-mail addresses for a particular vendor. Ignoring output determination, it looks like I will need to control which of the two e-mail vendor addresses is used when the PO is output via e-mail.
    The default is the first one e-mail address, but for PO's I would like to force the second vendor e-mail address.
    There are tonnes of exits available for PO output by the looks of it so I am trying to discover which is relevant for what I am trying to achieve.
    Jas
    Edited by: Jason Stratham on Apr 30, 2009 5:53 PM

    Thanks Martin,
    I guess that's the same path that I took earlier when using SPRO and looking at the Purchasing->Messages. In my case it's ZMEDRUCK, but that does not help me in regards to controlling the vendors e-mail address being used. When sending the PO as an e-mail it uses (by default) the first e-mail address of the Vendor, whereas the vendor could have multiple ones. In my test case my vendor has two addresses but it always defaults to using the first. I know that I need to modify this behaviour somehow, but how I have no idea as I can find no Exit routine.
    Jas

Maybe you are looking for

  • Problem while creating a ABAP Quarry report for material master

    Hi Friend, While I am trying to create a Quarry, certain warning message is coming and while I am executing single material is coming too many times in report with all currencies. Picking the data from Table: MARA, MARC, MARD, MAKT, MBEW, QMAT, AND T

  • Low res SD video on widescreen HDTV... again g

    Have read a lot of comments about taking 1280x768 output from FCP and making an SD DVD. With the SD only having a maximum of 768 wide when it tries to show on a widescreen tv it looks low resolution (ie crappy!) What I am looking for is any help with

  • Oracle 11g Express Edition with Default Apex 4

    Hi, I recently installed Oracle 11g Express Edition, It came by default with apex 4 installed in it, I did not install apex in my system since it already had apex 4 in build. Next I created a schema and tried to import some of the application develop

  • Windows 8 Scanning to pdf

    How do I scan a doc to pdf using Windows 8 that is not one of the options in the embedded software?

  • How to download older version

    sorry, developers, i seriously do not like the new look of Firefox. it is too convoluted to find anything in it. how do i download an older version of Firefox? i was smart enough not to upgrade one at work, and it works fine for me. thank you.