Lock in Amplifier on Single Board Rio 9636

Hey Guys,
I have to program a lock in amplifier for an analog signal i get from a microphone with a high SNR.
I have Labview 2012 SP1 and FPGA/RT 2012 and a SBRIO 9636.
I found an example: https://decibel.ni.com/content/docs/DOC-1762
LIA_IPnet_LabVIEW2009.zip
Now I am trying to understand the mostly uncommented code.
Question 1:
Can I use this program with my SBRIO? I prefer this to the SBRIO version on the same page because it is a dual phase LIA.
Question 2:
I added my own zip file were I added some comment boxes (orange background) but I commented in german. Maybe you can tell me if I am right so far. (Mainly in the HostLIA.vi and FPGA_LIA.vi)
Question 3:
Can someone help me to understand the subvi on the FPGA named "costa loop"? For example: What exactly is the code doing in the VCO subvi?
Question 4:
Can someone give me a link to a good document/website which explains the mathematic details of the decimation in a LIA?
(german or english)
If someone has another good working lock in program, please tell me.
Thanks for your help
Stefan
Attachments:
LIA_IPnet_LabVIEW2009.zip ‏3530 KB

Hello Slev1n,
here is some documentation about the Lock in Amplifier (mathematically):
http://www.thinksrs.com/downloads/PDFs/ApplicationNotes/AboutLIAs.pdf
in general it is possible to configure a cRIO project to a sbRIO project. You just need to configure a new target.
Regards, Elli

Similar Messages

  • Single Board Rio: sleep mode unavailable

    Hi,
    I bought a Single Board RIO 9636 which is to be used in a battery-powered system. Hence, power consumption is critical.
    I hoped I could use the sleep mode that is mentionned here (p29) and here but the "sleep I/O item" does not appear in the Labview project.
    Do I have to do something special to make this I/O appear in the FPGA I/O?
    Does my SBRIO support sleep mode?
    Any idea of the kind of power consumption I can achieve with sleep mode on? Is there a big difference compared to regular mode?
    Best regards,
    peper

    Peper,
    You are actually referencing the previous generation of sbRIO's manual in this post. It is a bit confusing at that manual was labeled 963x. If you go to the sbRIO-9636's product page, you can select "Resources" and get to the prodcut manuals from there. Here is the sbRIO-9636's manual.
    The Sleep I/O item allows C Series module to enter a sleep mode, not the sbRIO controller itself; therefore, the sbRIO-9636 does not have a Sleep I/O item under the FPGA target in the LabVIEW Project.
    If you want to go into a lower power state, you can stop the FPGA bitfile from running which should lower the power consumption (you can do this with the FPGA Abort invoke node with the FPGA Interface that runs on RT). 
    Tannerite
    National Instruments

  • NGSA2 c code in my single board RIO

    Hi,
    I want to introduce several c code in order to have an intelligent controller in my single board RIO. I have read that i have to put it in a shared library in the VxOS of the RIO, but the instructions to do this are quite "dirty". Is not there any other solution??

    Peper,
    You are actually referencing the previous generation of sbRIO's manual in this post. It is a bit confusing at that manual was labeled 963x. If you go to the sbRIO-9636's product page, you can select "Resources" and get to the prodcut manuals from there. Here is the sbRIO-9636's manual.
    The Sleep I/O item allows C Series module to enter a sleep mode, not the sbRIO controller itself; therefore, the sbRIO-9636 does not have a Sleep I/O item under the FPGA target in the LabVIEW Project.
    If you want to go into a lower power state, you can stop the FPGA bitfile from running which should lower the power consumption (you can do this with the FPGA Abort invoke node with the FPGA Interface that runs on RT). 
    Tannerite
    National Instruments

  • CANopen with single board RIO sbRIO 9606

    Hello,
    I am searching for any support considering  CANopen functionality applied on single board RIO sbRIO 9606.
    There are some tutorials for cRIO using FPGA, but is it possible to translate the known PDOs or SDOs to the format which can be than used with the available Embedded CAN for sbRIO?
    Thank you in advance for any comment!

    Hello Jesse,
    that the embedded CAN driver doesn't have the CANopen functionality is clear, but according to the fact that the lower level protocol implementing is usually (CAN) it should be possible to write VI which will allow the usage of CANopen commands combined with the embedded CAN driver for single board RIO. Or?
    There are some examples for RIO which do allow CANopen functionality using the CAN module.
    Can you please send me additional information considering the basic CANopen master functionality.
    Thank you in advance.
    zolee

  • R series intelligent DAQ, NI-Compact RIO , NI single board RIO

    Hi,
     I'm in the phase of choosing an FPGA to use in programming some DSP modules. The thing is that while I'm reading about the different technologies to be used, I find it difficult to know how will these devices be connected to my PC and programmed. For example, when using R series intelligent DAQs, do I have to get a compact RIO as well , or can I get a PCI-bus  R - DAQ and connect it to the PC.
    Some clarification of how to use each of these devices will be appreciated.
    Thanks,
     Walid

    Just to elaborate on what Venkatesh said
    With a compact RIO you will connect your PC to the RIO using Ethernet, direct through a cross over or through a network hub.
    This introductory video will teach you how to install, configure, and program the latest NI CompactR...
    A PCI R series card, just plugs straight into your Windows computer PCI slot.
    A PXI card will plug into a PXI chassis and will give you one of 2 programming options
     1. If you have a PXI system controller running Windows XP with the appropriate drivers and version of LV you can program the FPGA directly in the PXI chassis
     2. You can connect to the PXI chassis through Ethernet and program the FPGA from there.
    Compiling and deploying your program will work the same no matter what connection you use.
    -Hunter

  • Is it possible to make "autorange​" on SB-RIO 9636

    Hello,
    I want to know, if it is possible to make a kind of "autorange" for the analog inputs of the SB- RIO 9636 board.
    The mean is to increase the accuracy, if small voltages are used.
    But I am not sure, if the will be something destroyed, if I apply a high voltage in a sensitive range.
    Do you have any hints or tips?
    Best regards, 
    Ruedi
    Solved!
    Go to Solution.

    All,
    The sbRIO-9626 and sbRIO-9636 has the ability to set the gain of the programmable gain instrumentation amplifier (PGIA) within the LabVIEW FPGA Block Diagram using the 'Voltage Range' Property Node.
    You may be used to setting these settings in the LabVIEW Project by right-clicking the AIO and selecting Properties then changing the Voltage Range before compilation. When you set this property within LabVIEW FPGA, it will override the LabVIEW Project setting once called.
    You can implement in your LabVIEW FPGA code to first use +/- 10V (widest range) and check the voltage for each channel to see if the voltage range can be adjusted to a smaller value. For example, if you are using the +/- 10V range but are reading 1.156 V for a specific amount of time, then you can change the voltage range of that channel to be +/- 2V range. It may be benefecial to only autorange when you press a button or are needed so there is not the overhead of checking and adjusting before actually taking the readings. 
    Each channel can be independently selected as the PGIA is downstream of the multiplixer as shown in Figure 22 of the Operating and Instructions Manual.
    The manual also states the input range and resolutions for the sbRIO-9636 (+/- 10V, 5V, 2V, 1V). I think Sam_Sharp may have been thinking about the sbRIO-9623 or sbRIO-9633 which has a fixed input range of 0-5V.
     The LabVIEW Help also has more information on the Voltage Range Property Node:
    http://zone.ni.com/reference/en-XX/help/373197D-01​/sbriohelp/sbrio_9636/
    Tannerite
    National Instruments

  • Lock-in amplifier uncertainty

    Hi,
    I am using a NI labview lock-in amplifier, "Multichenel locl in-DAQmx", to read AC signals from 50Hz to 500Hz. Now I want to know how acurate the phase and amplitude are, or to say the uncertainty of the lock-in amplifier. My card is NI PCI-6035E and I am using labview8.2. The lock-in amplifier is download from Download the FREE NI LabVIEW Lock-In Amplifier Start-Up Kit last year.
    thank you,
    Nan

    Hi Nan,
    As the lock-in amplifier toolkit is
    purely software, the only inaccuracies you need to worry about are those of the
    board being used in conjunction with the lock-in amplifier. The specifications
    for your PCI-6035E can be found in the NI
    6034E/6035E/6036E Family Specifications manual. 
    Please post back if you have further
    questions.
    Mark E.
    Precision DC Product Support Engineer
    National Instruments
    Digital Multimeters (DMMs) and LCR Meters
    Programmable Power Supplies and Source Measure Units

  • Lock-in Amplifier and DAQmx

    I've downloaded the NI Lock-in amplifier toolkit (llb file), and I have
    a PXI-4472 board. The toolkit looks to be based on traditional DAQ, not
    DAQmx. Did I miss the DAQmx version, or has no application engineer
    posted one yet? Please let me know if there's a timesaver out there
    before I just start to convert it on my own.
    Thanks,
    Rob

    Thanks. That version doesn't work with LabView 7.0, by the way. I had a tech support person email me with a version that would.
    Here's an update from my end: I have it setup and running. Only, it seems to burp at the PLL sub-vi. I KNOW that have the correct data going into that sub-VI and that my DAQ board is working b/c I've put probes and indicators in the path and such. The problem is that it doesn't calculate the correct reference info. If I place a probe at the "reference info" output, it returns a constant output of fr=1 and phase =0. This is bizzare. I've changed every parameter I can think of (sampling rate, block size, offset parameter, column value, time constant, etc.) but it yields no positive result.
    Any ideas or suggestions? I'm at wits end.
    BTW, my board is the 4462, not the 4472 I mentioned previously. And, my refrence signal is a TTL square wave from 0-4 Volts, operated anywhere from 10Hz to 2KHz. That's working correctly as shown by my scope. But according to the PLL VI, it is always 1 Hz!
    Thanks,
    ROB M.

  • Lock in amplifier for PCI-6035E?

    Is there a LabVIEW lock in amplifier available that is suitable for use with the PCI-6035E card? I downloaded the LockInDEMOSimple and LockInDEMO VIs from the website - are these suitable?

    You would need a DSA-Board or a S-Series board to program a lock in amplifier.
    Because the M_series boards are multiplexing all there channels to one A/D converter, it is not possible to program a lock in amplifier with a M-Series device. You need a board that can sample multiple channels simultaneous, like a S_Series board or a DSA device.
    Check this link out for more details:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/3b2936e1afe39ac286256c2f00746422

  • How to use lock in amplifier start up kit?

    Hi,
    I am now given a project which is Frustrated Total Internal Reflection (FTIR). Basically there is a lot of way to extract the information signal from IR sensor like DC approach, AC approach, transimpedance amplifier. I found that Lock In Amplifier is suitable for me to use in my project because the voltage across the IR receiver part will be small like mV and the noise will be high since the ambient light or sun light able to disturb the light wave emitted from IR emitter. Currently i download the NI lock in amplifier VI and i try to translate into DAQmx version. The VI can run but I am not sure that VI was translated correctly or not. Can just help me to check it out? Now I am using NI USB6366 to do the lock in amplifier as well. Here are some questions that i want to ask:
    1. From the NI lock-in amplifier start up kit user manual, for the configuration section on PAGE 13/20, I found that the first channel in the channel list should be used for the signal and the second channel in the list should be used as the reference input. I am confusing with this because i just able to create a channel for acquisition puspose and the channel is used to wire the input of DAQmx start.vi. May I know another channel where should i put?
    2. If USB 6366 able to use with lock in amplifier VI, how to acquire the signal from the IR receiver? I wire the A0+ to anode of IR emitter and A0- to cathode of IR receiver, is it correct? this wiring is used for the signal or the reference input?
    3. The generation of signal to IR emitter also can be done inside the lock in amplifier start up kit? As i saw the signal generator function inside there but I am not sure what the function is.
    4. lock in amplifier able to amplify my IR receiver's signal? or I need to build up a new circuit to amplify my signal then just feed it to the lock in amplifier VI?
    Thanks for all the reply. Really need help on this. thanks
    Attached will be my modified VI for NI lock in amplifier start up kit.
    Attachments:
    lock in modern.llb ‏460 KB

    Claudia,
    thanks for the version mentioned.
    I would like to change the lock-In to one with a reference signal
    instaed of PLL, and a few other changes.
    I tried to understand how your sample works , but as soon as I'm
    reaching the VI's on a deeper level I'm running into code protection.
    Why are these VIs not public?
    Thanks
    Urs
    Claudia schrieb:
    >Hello,
    >
    >Another person was also asking for a Lock-In Amplifier Start-Up kit
    >that would not expire, and I published it in the following Discussion
    >Forum:
    >
    >href="http://exchange.ni.com/servlet/ProcessReque​st?RHIVEID=101&RPAGEID=135&HOID=506500000008000000​...
    >
    >Hope this helps,
    >
    >Claudia Lorente
    >Applications Engineer
    >N
    ational Instruments
    >http://www.ni.com/ask
    >
    >

  • SR510 Lock-in Amplifier Repeated Data Output Command Problem

    Hi,
    I'm using LabVIEW version 7.1 with an SR510 lock-in amplifier connected through GPIB-488.2. I've gotten past most of the hurdles, the device appears in MAX and I can send and recieve data using the VISA test panel. My main goal is to be able to have a VI where I am continuously asking the SR510 to output a voltage number while the data recieved is then saved in a .txt document and graphed as a function (simple x-y). The issue I am having is that the SR510 will not take more than one "q" command to output data. I can clear the settings of the lock-in with a "z" command, and then give it a "q" command and it will output correct information but if I try to run it continuously I get an error. I've tried using variations of the same "q" command (e.g. adding a needed carriage return, \r, \n) but none of them produce any different results. I should also mention that this issue only occurs with the "q" or output data command. Other write/read commands can be issued multiple times in rapid succession without any issues. I would be greatful if anyone had any advice as to why this might be occurring. Also I apologize if some of my terminology is incorrect as I was only just introduced to LabVIEW a few days ago.
    Thank you for your time,
    Sal

    If you are brand new to LabVIEW, I would recommend looking at the VISA/GPIB shipping example to familiarize yourself with the different functions and how they interact.  Go to Help»Find Examples... to open the example finder.  The GPIB example is located in Hardware Input and Output»VISA»GPIB-VISA.vi.
    When you say " I can clear the settings of the lock-in with a "z" command, and then give it a "q" command and it will output correct information but if I try to run it continuously I get an error." do you mean that you try and continously give it a "q" command and then a "z" command and it errors, or you just give it a "q" command?  It may be possible to alternate between a "q" and "z" command inside a while loop to continuously output and then clear the settings and output again.  It may also be that this device is not capable of continous output.  I would check the user manual to see if this kind of operation is possible, and if so how to accomplish it.  Let me know how it goes and if you have any more questions.
    Regards,
    Chris L
    Applications Engineer
    National Instruments
    Certified LabVIEW Associate Developer

  • Implementing a Lock In Amplifier using a PCI-6034E DAQ card

    I am looking for a lock-in amplifier and have read about the Lock-in Amplifier kit provided by NI. I am wonder in is it possible to implement a solution with a PCI-6034E DAQ card instead of the 4472? And if so what would be the limitions of using the 6034 for this application?

    The requirements for the Lock In Amplifier are contained within the document linked bellow. The S series can be used with the Lock In Amplifier but not the E-series.
    http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/ebaadbd271adfec586256c86007b63f9?OpenDocument
    Regards
    Jon Bowers
    Applications Engineer
    NIUK

  • Connecting lock-in amplifier to USB-6009/6211

    I am working on re-setting up a labview environment in the lab I work at. We are using a SR810 DSP lock-in amplifier and want to bring the data into labview. The labview code says that in the past we used a USB-6009 to read in data from the lock-in amplifier. The output ports on the lock-in are an RS232(DCE), a IEEE-488 port, and a preamp port. Is there someway to feed one of these outputs into the DAQ that we have. Thanks

    An RS232 or GPIB connection directly to the computer would be best, but if you insist on using the 6009, run a line from the CH1 outut BNC on the front panel of the lockin into the DAQ device. Note that this is a -10 to 10 V output and that the mapping to the actual LIA voltage depends on the sensitivity setting of the lockin (see pgs 4-2 and 4-12 of the 810 manual). 

  • Driver disturbs lock-in amplifier?

    The LabVIEW driver for the Stanford Research Systems SR830 Lock-in Amplifier, downloaded from the NI web site, does not produce accurate readings of the measured voltages(Channel 1 or Channel 2). It appears the phase has been offset, but no offset was programmed into the device, and the values fluctuate. When the device is programmed either from its front panel, Visual Basic, or other languages under the same conditions it produces accurate results. Can you identify and correct the bug in this driver?

    Hello-
    Be sure the display and output and ratio settings for each channel are apropriate. If this doesn't help, would it be possible to list the values are being used for the SR830 Example.VI? It's probably easiest to enclose a screenshot? Also, please state the expected return values from the instrument (possibly a sample from what VB returned).
    Randy Solomonson
    Application Engineer
    National Instruments

  • MSI 9643 / Super Q965 Single Board Computer

    I have an MSI Super Q965 Single Board Computer.   It will work with an E2200 (800 Mhz FSB) processor.  But it wont work, is dead, with a Pentium® Processor E6300 (2.80 GHz, 1066 MHz FSB)  The bios version is 1.3 the lastest from the web site.  The specs say it will support 1066 MHz FSB.  Is that a type-o error?  Any body have any info about this SBC (single board computer) ?  Is it a bios problem?  Can someone at MSI give me a new bios? 

    It will support FSB-266-MHz Processors.  However, that E6300 (2.80 MHz) is a rather new 45nm CPU and BIOS v1.3 is a year old.  A 65nm processor (e.g. E6600) should work properly. 

Maybe you are looking for

  • How do you stop texts coming to your ipod touch from going to your iphone

    I have an iPod touch that I just bought. My husband has an iPhone 4 that he's had for a little while. We both use the same iTunes account. Today, I attempted to use the text feature to text my sister, who also has an iPhone. The response went to me,

  • Xmonad fresh install: xmessage says 'Error in xmonad.hs .....'

    Hi all I've installed xmonad with pacman: pacman -S xmonad xnomad-contrib dmenu dzen2 and then i executed it via my .xinitrc #!/bin/sh # ~/.xinitrc #exec openbox-session numlockx & exec xmonad But it keeps spitting out error messages when starting X

  • Level-2 GPU published for IOS and Box2D/WCK    Does this fall under the revenue share requirements?

    WCK uses the Box2D Alchemy port and therefore uses "Domain Memory".  Part 1 of premium features usage. Does publishing to "Level-2 GPU" constitute use of Stage3D?  Is this now part 2? Does our project now fall under the revenue share requirements? We

  • Windows 7 help with acrobat 6.0

    I have Adobe Acrobat Profesions 6.0 standard and get a message that it is incompatible with this version of windows. Help what do I need to do to use the program. I'm computer stupi so need plain language directions THANKS so much

  • Cannot open pkg files

    I am trying to install Neooffice and Macscan, but when I double click on the pkg file I get a notification stating: Ther eis no default application specified to open the document "MacScan Installer.pkg". Choose Cancel choose application