Ni lock-in startup kit PLL problem

Hi all,
I'm trying to create a lock-in amplifier by using the LockinPLL.vi, lockinDemodulatorSettings.vi and LockinDemulator.vi which
 comes with the NILock-inStarupkit. The problem is the PLL part. I can't get the frequency or the phase information of the reference signal. If the PLL is updated the output frequency is 1e-6 and phase is NaN. If the PLL is not updated the frequncy is 100 and TC is 0. The attached PLL_tester.vi is a simlified version of the code but the priciple what I'm using is the same.
I have the NI-USB6343 DAQ and the output sampling rate is 500k.
Another question: Why the LockinPLL has to be run twice before the output is updated?
Thanks is advance.
niiraka
Attachments:
PLL_tester.vi ‏59 KB

Hi Dimitris,
sorry for late reply. I was on summer holiday.
Yes. The sampling frequency fs of the DAQ is the same as the sampling frequency fs I put in to the PLL. Attached the vi in 2010 version.
Niiraka
niiraka
Attachments:
PLL_tester (1).vi ‏34 KB

Similar Messages

  • Problem in signal extraction from ELVIS using biomedical startup kit

    hi,
    i am using executable version of biomedical startup kit 3.0. i want to use ECG signal. the problem is that i am using ELVIS for signal extraction from biomedical kit. but when i connect it with ELVIS, connected osciloscope with channel A0 and A1, but it showed no signal on osciloscope. can anybody tell me what can be the reason for that??? 

    Support for the Biomedical Toolkit is provided on our Biomedical User Group at www.ni.com/biomedusers
    Visit the NI Biomedical User Group at:
    www.ni.com/biomedusers

  • Problem of installing biomedical startup kit 3

    hi. I have installed labview 8.6, runtime engine and biomedical startup kit 3 on Windows 8.1. Why can I not find the biomedical kit on functions panel in labview8.3? I also installed labview 2012, but cannot find either. please help me with that.

    What exactly did you install and in what order? What is LabVIEW 8.3?
    Also note that LabVIEW 8.6 and LabVIEW 2012 are not officially supported in windows 8.1 (details).
    LabVIEW Champion . Do more with less code and in less time .

  • Simulate ECG Signal Source will not install from BME Startup Kit

    Hi, I'm having a problem getting all the VIs that are supposed to be provided with the BME Startup Kit to install, namely the Simulation ECG Signal Source VI. I have the two toolkits, Vision, and DAQmx driver installed. When I go to try to used the VI, there is a large question mark where the selection button normally is for a VI, and the VI does not show up in the Biomedical pallette directory. Can someone please give me some insight as to what might be the problem? If you need more information, I'd be happy to provide it.
    Thanks!!

    i have download biomedical startup kit for labview 8.5 and i use professional development system versions but i can't  access Simulate ECG Signal.vi they just only ? simbol (look attachment files). why i can't access them maybe someone can explain that and help me to solve  this problem  cause  i really need that. can labview 8.0 professional development system versions use biomedical startup kit if yes can someone tell me what is the address.tanx
    Message Edited by marp84 on 06-09-2008 09:29 PM
    Attachments:
    ecg.JPG ‏58 KB

  • Wrong Phase using the Lock-in Tool kit

        Hi!
    We have been using the NI Lock-in toolkit. To test it, we have connected it to a system under test, that simply consists of a R/C low pass filter. This is useful, since we can calculate the exact response in advance.
    The amplitude (gain) response is correct and is always the same, however, when looking at the phase response, the first section is looking good but then it produces seemingly random and erratic results everytime.
    The phase response jumps around and produces 180 and 360 phase shifts.
    Has anyone ever had that problem? Any explanations for this behavior? Any remidies?
    Thanks,
    Markus Tarin
    movimed.com
    www.movimed.com - Custom Imaging Solutions
    www.movitherm.com - Advanced Thermography Solutions

    Hi Manfred!
    Our setup is very straight forward. We are using a generic M-Series board to generate the stimulus signal as follows:
    Output frequency for x-number of cycles - measure gain/phase response.
    To sample the response, we are using an S-Series board. All of it is done using DAQmx drivers, which again, I don't think makes any difference, since we are experiencing the same problems with a 'pure' software simulation.
    Our unit under test is comprised of a resistor and a capacitor, which represents a simple low pass filter with predictable gain/phase response.
    It appears to us that the erratic phase response at higher frequencies is a result of 1pi versus 2pi phase wrap or flip, which may not be handled correctly by the lock-in tool kit.
    We were thinking of "unwrapping" the phase, but I wanted to find an explanation for this behaviour first, to ensure that we are not dealing with a software bug.
    Also, where can we find the unwrap phase.vi?
    Thanks,
    Markus
    www.movimed.com - Custom Imaging Solutions
    www.movitherm.com - Advanced Thermography Solutions

  • Hello My ipads Power button is not working properly when I press it once it shows option to turn off instead of locking and some other display problems like it suddenly lockes down or display disappears ...Please help. Thank You

    Hello My ipads Power button is not working properly when I press it once it shows option to turn off instead of locking and some other display problems like it suddenly lockes down or display disappears ...Please help. Thank You

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • Mail locked up because of sending problem.  How do I stop the send function?

    Mail locked up because of sending problem.  How do I stop the send function?

    Didn't help.  Wound up talking to A Support & deleting the cache in my Library Mail file then restarting.  Thanks anyway.

  • Why i can not see the biomedical palette on the function palette when i run biomedical startup kit 8.5 on labview 8.6

    Hi. I am trying to install biomedical tools on my labview 8.6. when i run the biomedical startup kit 8.5, it installs correctly, but when i go to see if the biomedical palette exsists on the function palette i dont see it.
    can somebody help. 

    Howdy Boulos,
    I looked into this issue a little and found that you have also emailed into support.  I'm going to work with the engineer assigned to that request, but you can expect your primary source of information to come through email.
    The quick answer to your question is that the Biomedical Startup Kit you downloaded is for LabVIEW 8.5, while you have LabVIEW 8.6 installed. I'm checking to see if there is a way to port the VIs over manually into the LabVIEW 8.6 palette, but I'm not confident this will work at this point.  
    We will let you know through email what we find out, but the official answer at this point is that the program you've installed is not supported under LabVIEW 8.6.  Thanks, we'll keep you updated.  
    Sincerely,
    Chris G in AE

  • Help, I am about to pull my hair out, can't get into a locked drive and Time Machine problem

    I've screwed everything up, I think.  I had Time Machine doing backups to an external 500Gig drive and somehow it got locked.  I went into Get Info to try and change the access but it won't allow me.  On top of this problem, my original drive died and I can't get into Time Machine to restore.  When I click "Enter Time Machine", nothing happens.  I created an eDisk and a startup disk to another external drive that I'm using now, but since everything that's been backed up is on the other drive that I can't access.  When I try accessing the drive it gives:  "The folder “G-DRIVE ” can’t be opened because you don’t have permission to see its contents."  I'm not knowledgeable enough to work from the command line, so if I need to do that to access the drive, please walk me though it.  As for the Time Machine problem, I have no idea how to recover anything since it won't even come up, it just sits there.  Outside of blowing my brains out, I don't know what to do.  Any help would be greatly appreciated as I can't afford to take it to Apple to let them try and fix it.

    Hello, not sure how this might affect a TM drive, or not, but...
    Here is what i needed to do for my drive "320GB HD", the last command is just for clean up
    Open Terminal and type these commands carefully with the spaces & change 320GB HD to the name of your drive.
    sudo chflags 0 "/volumes/320GB HD"
    sudo chown root "/volumes/320GB HD"
    sudo chmod 1775 "/volumes/320GB HD"
    sudo -k
    That said, these should be sufficient to do the job:
    sudo chflags 0 "/Volumes/320GB HD"
    sudo chmod a+rx "/Volumes/320GB HD"

  • Windows 8.1 number lock on startup

    I had to refresh my system and now I cannot have my number lock on upon startup.  I have changed the registry initialkeyboard number to 2 and is still not functioning.  Please help

    If none of thesse solutions work there is nothing else you can do.  It is a security feature of Windows:
    http://www.vistax64.com/tutorials/91086-toggle-keys-startup.html
    Please mark my post as SOLVED if it has resolved your problem. It helps others with similar situations.

  • Does Lock in amplifier kit work with DAQpad 6016

    Hi all,
    I have DAQPad 6016 (USB). I am trying to develope Lock in amplifier and I found Lock in Amplifier start up kit. So I am wondring that this tool kit works wit DAQ 6016? Moreover, DAQ 6016 does not support treditional DAQ. And this tool kit is with traditional DAQ so Can i change this traditional DAQ to DAQmx or any update available for Lock in amplifier start up kit?
    Thank You  

    Hi N.K.,
    I found an example which is using DAQmx. Have a look at:
    Multi Channel Count Lock-In Amplifier with DAQmx
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=042319214C65627AE0440003BA7CCD71&p_...
    Also please look here, because I the 6016 does sampling not simultaneous!
    Lock-In Amplifier Startup Toolkit Compatibility with Non-DSA Hardware
    http://digital.ni.com/public.nsf/websearch/EBAADBD271ADFEC586256C86007B63F9
    Regards,
     Andi
    ~~~ Logic is a systematic method of coming to the wrong conclusion with confidence ~~~

  • Qosmio X505-Q870 Hard lock on startup

    Approximately 1 out of 10 startups, I get a hard lockup while windows is loading. My machine is only about two weeks old. I've seen others with lockup issues with these models but only after startup. Anyone else having these issues?
    I have no errors being reported on the computer that I know of.

    No one else is having this problem? Guess I'm just lucky.

  • Power mac G5 dual, startup and fan problem

    Dear macpeople,
    I have a Power mac G5 dual, 1.8 ghz, ramm 4.5GB. I guess from 2004. Only added more Ram three years ago. Never had any serious problem till a week ago. I have read a lot of similar questions and responses on my problem in this forum but till so far i have not been able to solve it.
    Since a couple of weeks my mac sometimes did,nt recover from sleep. Starting up gave me some trouble because the fans were racing like **** and i had to restart several times to be able to boot normally. In the beginning just the upper fan next to de CD player ran fast and loud but now all of them get crazy at start up. Very rare times G5 is able to recover this (fans slowing down) and boot up, but this only in the safe mode.
    I have cleaned the mac
    i have resetted PRAM
    i have used utility disk, all ok
    i have unplugged for 40 min, reset in the machine, safe start up.
    Checked memory
    The only way to boot is in the safe mode. The fans start blowing fast but after 4 min. they slow down then the blue screen appears and mac builds up normally. But when i leave it for more than 1 hour in the sleep mode it will not recover, although i hear the normal sound of awaking/ accelerating disc. The screen keeps black and after a few minutes fans start blowing at full speed. Pushing 4 sec. the on/off button pulls it off.
    I hope that someone can help me to solve this problem (me not being a tecnician at all) or that someone can give me a kind of diagnostic so that i can check  the costs of profesional reparation. And start saving money for a new machine.
    Any one any clue? Help would be very apreciated
    Thnks

    See if the Disk is issuing any S.M.A.R.T errors in Disk Utility...
    http://support.apple.com/kb/PH7029
    Open console in Applications>Utilities, check the system log for the date/time of the last problem  & the Startup right after that for clues.
    Get Temperature Monitor to see if it's heat related...
    http://www.macupdate.com/info.php/id/12381/temperature-monitor
    iStat Menus...
    http://bjango.com/mac/istatmenus/
    And/or iStat Pro...
    http://www.islayer.com/apps/istatpro/
    If you have any temps in the 70°C/160°F range, that's likely it.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • [MBA original] startup and disk problems

    My old faithful Air has started to have some serious problems.
    A couple of months ago, it started to behave sluggishly, beachballing in all applications, and then when I tried to restart, it wouldn't get past the logo/catherine wheel screen. I could get it to boot into Lion Recovery, where disk utility said that the disk could not be repaired. At this point I zeroed the disk (level one secure erase), restored from my Time Machine backup, and was up and running again - for a couple of days. Then the same symptoms recurred again, with the same results.
    I began to suspect a failing hard drive, and had it replaced with a new one.
    The Air worked fine since then, until a couple of days ago, when the sluggishness and beachballing recurred, followed by failure to start up. Again, I booted into Lion recovery, and ran Disk Utility again. This time it found many many problems with missing catalog entries, invalid nodes etc, and told me the disk could not be repaired. Once again I erased it (the new disk this time) and restored from a back. Last night, the symptoms recurred again. This time, though, when I got into Disk Repair, it found a similar list of errors, and it claimed to have repaired the disk (green status), but still it would not restart. I tried starting in safe mode, and the progress bar got about 1/3 of the way across, then disappeared and the machine would not start up. I tried starting with the D key held down but couldn't get hardware diagnostics running.
    I'm beginning to suspect sofware causing disk issues rather than the disk itself, so I tried performing a clean install of Lion from Recovery. The machine started up OK after the clean install, (with my user account and files still intact, which suprised me - I was expecting to have to use Migration Assistant to get them back). At this point, I plugged in my Western Digital USB drive into the Air and copied all my documents and files onto it, in case I need to get at them without using the Time Machine backup. Then I shut the machine down.
    This morning it has started up OK again, and I'm typing this on it right now.
    Does this sound familiar to anyone? Any advice if you managed to fix it permamently?
    Is it possible to run the hardware diagnostic from the original install disks for the Air system software? _Should_ I be able to get to hardware diagnostics by holding down D on startup on this model? If I've got Lion up to date installed, can I get to the internet version of hardware diagnostics via Lion Recovery, like on newer Airs?
    If it happens again, my last ditch effort is going to be zeroing the disk, doing a clean Lion install on the erased disk, then just copying back my documents and reinstalling key applications (Office, Photoshop) from the original install disks/images. Does that sound like a sensible approach?
    Otherwise, I'll have to try and talk my boss into letting me get a new one!
    best regards,
    Matt

    If DU reports errors it cannot repair you will
    need to use a utility like Tech Tool Pro or Disk
    Warrior
    DU can't repair and I got these errors:
    "Invalid B-tree node size"
    "Error: The underlying task reported failure on exit (-9972)"
    DU didn't show the SMART status. But I saw it in Disk Warrior and it said the disk was ok.
    I tried Disk Warrior and it's just be stuck at the same place. This never goes away and so I just killed it:
    "Rebuilding directory ...
    Step 5: Locating directory data ..."
    In DU when I highlight disk0s3, I get this in the lower left hand corner:
    "Mount Point: not mounted"
    So maybe I just need to re-mount disk0s3?
    Anymore ideas, guys? Thanks.

  • Mac startup disk memory problems

    Hello Apple Community.. I have a trouble starting up my mac and I thought entering startup disk mode would solve my problems.. There are two disks named Untitled, placed the one under the other. The first one says that I have 19 MB (!!!) available and the second one 388 GB.. What have I done?

    Thanks for your immediate response!
    This is how my disks appear.. Is it normal? I had my disk changed on Monday, but still the same numbers..
    Did I do something wrong?
    I'm using a MacBook Pro from mid 2012 with a 2,5 GHz i5 Processor and 4GB RAM
    Thanks a lot!

Maybe you are looking for