Help in LabVIEW +ni 5640R

Hi,
I am Sreenivasulu.
I have started working on NI-5640R LabVIEW card.I am able to do simulations using
labview8.2. But I am unable to interact with NI-5640R to get the
output through output ports.I studied the manual given by NI. But I am confused fully
with the procedure and i did not understand.I tried the example projects ni5640R,but I
failed.
So please tell me the procedure to be followed, how the ni5640R card ADC and DAC
working(how to give I/P to ADC and how to get the O/P from DAC),and how to interface
host(my PC)and Target(ni5640R) using VIs.
Please tell me that how the signal flows(inter connection between)through the parts of
VI(both in HOST and FPGA modules).
Final my goal is i need to generate modulated(AM,FM,FSk,BPSK,QPSK Etc) signal with Fc
21.4MHz for providing as a input to other module(RAD-2,Pentaland).
plz tell me  can i get this by using  LabVIEWmathscript or modulation tool kit Etc.
I am using LabVIEW 8.2 and card NI-5640R(PCI based) v 1.1
           Thanking you so much sir.
Thanks & regards,
Sreenivasulu.O

Hi Sreenivasulu:
The example of the Getting Started Guide (manual), that probably you made has an updated version from April 2007 ( http://www.ni.com/pdf/manuals/371621b.pdf ).  This example is only designed to acquire a signal and visualize it, but it doesn't generate any signal through the output ports (read this very carefully cuz this are the basics which have to be totally understood).  You can try the Input Output example, which acquires and generates two independent signals.  I think the generated signal is a QAM which is totally unrelated to the input signal. You can also try the Frequency Translation or Sine Generation example.  Put special attention to the Local and DMA FIFOS, which transfer data between input and output (at FPGA level) and between FPGA and HOST respectively.
I also recommend a lot reading in this forum all the posts related with the probelms that other people had, and the possible solutions tha the comrades recommend.  Most of the time are common problems between 5640r users.  Good comprehension of the theory behind ADCs, DACs and FIFOS is also recommendable. Also there are some cool tutorials an videos in the NI's FPGA website, try them to understand the concepts.
OK, I'll try to explain how the dataflow works (as i have understood)
1) Analog data comes through the input and is converted by the ADC.
2) Digital data can be:
Manipulated at FPGA level: Once manipulated, the digital data is transported to the DAC (with the Local FIFO) .  The DAC converts the binary data to an analog signal, which then can be read throug the AO port
Transmited to the host to be manipulated or seen in the HOST (with the DMA FIFO
I hope this helps you
Cheers!

Similar Messages

  • Help Using Labview to control Kikusui power supply with a PIA4850 controller

    HI I need some help using Labview to control 4 Kikusui power supplies. We have a PIA4850 Kikusui power supply controller. I can use the visa test panel and see the PIA4850 but can see any of the power supplies. I have very limited use of Labview and only wrote a couple programs using GPIB. The PIA4850 is a USB controller and can control up to 32 PS. I can get it to work with a Excel demo software that came with the controllers so I know that it is working. Any help will be appreciated. I am using LabView 8.2 and have updated to the Ni-DAQ 9.0. I have a program that I need to incorporate the PIA4850 into once I figure out how to operate it. Thanks in advance.

    HI and thanks for the help. I did get one power supply to work but have another problem. I need to control 4 power supplies at the same time and can only operate the one that is addressed N5!C1. If I set the other to N6!C1 and so on I get an error stating
     “Error -1074135008 occurred at ki4800_2 Configure Voltage Level.vi Possible reason(s):IVI Error in the method "get_Item" in the component "Kikusui4800". E_IVI_UNKNOWN_CHANNEL_NAME: Unknown channel name (N6!C1)”
      I am assuming that I should be able to change the node number and that will change the supply that I need to use. Everything works great if I use N5!C1 I can change any of the supplies to address 5 and can control it with no problem. I can even have multiple supplies with the same address N5!C1 (don’t think I should do that) and change them all at once. I need independent control of each supply.
      I am in a pinch here and need to figure it out but could use some help. Any ideas will be greatly appreciated.
      Thanks
    GBlair
    Attachments:
    KIKUSUI PS.llb ‏179 KB
    Kikusui Ps Controller.JPG ‏63 KB

  • How to build FM radio receiver on PXI 5600 and PXI 5142 with help of labview

    How to build FM radio receiver on PXI 5600 and PXI 5142 with help of labview?
    PLZ TELL ME!
    Solved!
    Go to Solution.

    Dude,
    Your way of asking questions sucks!
    - Do not use such fonts!
    - Try to find things out yourself first (apparently GovBob was able to find info, so could you)
    - Have you asked GovBob if he likes it that you mail him for more questions?
    You ask for a complete solution on a project YOU have to do. (you dont learn of it if you dont try it yourself first)
    Hopefully you will ask questions in a less DEMANDING way next time.
    Good luck with your project

  • Help with LabView and Java

    Hi any help would be greatly appreciated: I have the following JAVA code:
    //File: Hello.java
    class Hello {
     public native void Steve();
     static {
      System.loadLibrary("steve");
     public static void main(String[] args) {
      Hello h = new Hello();
      h.Steve();
    It finds the loadLibrary fine, but I get the following error message:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: Steve
    at Hello.Steve(Native Method)
    at Hello.main(Hello.java:10)

    Okay......
    Where does Labview fit into this question?

  • Help for LabVIEW.

    Project to pilote ADC-12 form picotech:
    We are 2 students, and we 've a job with LabVIEW 5.0.
    We have an pico ADC-12 digital converter. And We should realise an driver
    for it with LabVIEW. We need some HELP how to create sub driver?
    Thanks for all

    You need to identify what operations you want the driver to perform (i.e.
    set the gain, set the triggering and read the current value) and decide
    whether you want to implement this as a single driver or if you want a
    sub-VI for each task. You then need to look in the manual and find out
    exactly what you want to send to the instrument and receive from it in order
    to do this- what I tend to do initially is write a "shell" so I can type
    things in from the manual and see the response, to make sure I understand
    it. Once you know what to send and receive, then you write simple bits of
    code to carry out each function.
    This is obviously vague; I don't know what the instrument is or how it
    connects. It sounds to me like it's a card, in which case I'd have thought
    drivers wo
    uld already be supplied.
    Matchak wrote in message
    news:[email protected]..
    >
    > Project to pilote ADC-12 form picotech:
    >
    > We are 2 students, and we 've a job with LabVIEW 5.0.
    > We have an pico ADC-12 digital converter. And We should realise an driver
    > for it with LabVIEW. We need some HELP how to create sub driver?
    >
    > Thanks for all

  • Need help writing Labview Program!!!!!

    I have a labview project that needs to be finished. I was not the original creator of the program and the guy who created no longer is involved with the project and I am left to finish it. Could you make the final adjustment so I can turn this into my professor and get the final grade. Thanks! Willing to pay! Negeotiable price!!!!!!!!

    Need help completing assignment! Could anyone assist me in this project!
    Attachments:
    dial tone detection.zip ‏1253 KB

  • Need help with LabVIEW code for motor control.

    Hi,
    My name is Sasi. I am a BME grad student working on my thesis topic of evaluating spine implants for low back pain. For this I am building a test machine that would apply pure moments to a spine specimen. I am using LabVIEW 8.5 to implement control of a brushless AC servo motor. My requirement is,
    Step 1: Initialize the motor.
    Step 2: Start moving it at a uniform RPM to the right (This RPM value too user can enter).
    Step
    3: While doin Step 2; simultaneously read torque cell data (Using DAQ
    asst.). DAQ o/p is from 0 V to 10 V; 0 V being -10 Nm n
                10 V being  +10 Nm
    Step 4: When Torque value reaches +10 Nm, i.e 10 V, the motor stops.
    Step
    5: From the position where motor stopped (i.e no need to reset to
    initial position) Start moving in the opposite direction at the same
                uniform RPM as in Step 2 while reading torque cell data.
    Step 6: Once again when torque reaches -10 Nm, i.e. 0 V, the motor should stop.
    Step 7: Repeat 'Step 2' to 'Step 6' 3 times.
    Step 8: Reset motor postion.
    Till now I have managed to get the motor to move forward n backward @ a desired vel, accl, n deceleration for 3 cycles. I am attaching my code. I am having problem inserting the code for reading DAQmx amidst all this. Can anyone help me out.
    Thnks,
    Sasi.
    Solved!
    Go to Solution.
    Attachments:
    Test_012609.vi ‏35 KB

    Hi Sasidhar,
    I took a look at your problem and I think I have a workable solution for you.  I definitely agree with Lynn's suggestion of using parallel loops.  This will allow the DAQmx portion to run uninhibited by the motion portion, and vice versa.  Plus, you only need to iterate the motion loop whenever the voltage level crosses a threshold.  So, by iterating on the motion code in the same loop that you are iterating on DAQmx code, you are essentially wasting processor.
    I created a VI that should do what you are wanting.  I tested it out myself and it works great.  You might have a tweak a few things to apply to your system (like motion board ID and DAQmx physical channel, etc.).  I used two parallel loops and event-based programming.  Basically the motion loop starts the motor spinning at the specified velocity.  Once the motor is spinning, it waits for the DAQmx loop to tell it that the voltage value has crossed the threshold.  When the voltage value exceeds the maximum threshold (which I set to a value slightly less than 10 to allow for jitter and saturation), the DAQmx loop signals the motion loop that it can finish its iteration.  The motion loop stops the motion, reverses the direction, and starts the motion again.  Once motion has started, it again waits for the DAQmx loop to tell it that a threshold has occurred, but this time, it is looking for a minimum threshold.  I used "Occurrences" to implement the event-based programming in LabVIEW.
    I have commented the code rather thouroughly, so hopefully the comments will answer any remaining questions.  The benefit of using event-based programming for this is that you save processor time, and your motion is more closely synchonized with the DAQmx.  Instead of iterating the motion loop as fast as you can, checking for updates each time, you just pause it, and wait for the other loop to tell you when to start up again.  In the mean time, the processor doesn't have to worry about iterating that loop over and over again.  Also, when the occurrence does occur, you catch it immediately, instead of having to wait until the next iteration.  Thus, you are more closely synchronized with the DAQmx portion of the code.
    I hope this will help you.  Please post back if you have any questions about the code or its implementation.  Good Luck!
    Message Edited by Wes P on 02-03-2009 05:18 PM
    Wes P
    Certified LabVIEW Developer
    Attachments:
    Motion and DAQ.vi ‏59 KB
    DAQmx Loop.png ‏24 KB
    Motion Loop.png ‏17 KB

  • Need help with Labview code for DAQmx

    I'm currently trying to write Labview code for some thesis research and am having problems.  I'm using the cDAQ 9172 with strain gage modules and two voltage input modules.  I'll be reading/recording a voltage from an external source on one channel, while recording strains and accelerations with the other channels.  I need to do all this simultaneously.
    Everything I've done to this point has been in SignalExpress so I'm not sure how to program any of this.  I also need to be able to calibrate the strain gages prior to each set of recordings.  Any help you guys could offer would be greatly appreciated.  Thanks.

    Hi,
    I'm not sure how much this will help you, but I've attached a screen dump of code from a project I did that sounds pretty similar to what you're working on. The code is from a subVI that I used to create the daqMX measurement task for my data acquisition. I was also using a 9172. This was written in 8.5, but the only thing that you may not have access to is the functions for null offset and shunt cal of the strain gage channels. Hopefully this will at least get you started on your way to setting this up.
    Andrew Carollo
    Attachments:
    create task.jpg ‏208 KB

  • Help In LabVIEW Mathscript

    Hi ,
        This is Sreenivas.I have started working on NI-5640R LabVIEW card.I need to generate some modulations(QPSK,GMSK,OOK and 4-FSK) with Fc 21.4 Mhz. Successfully i   completed all these modulation in MATALB.
        In  labview 8.2,  LabVIEW Mathscript future is there.
    Plz tell me how i have to use it.where i  need to write my matlab code in Labview Mathscript.Directly i can copy my m-code into command window or script editor.
    plz tell me procedure.
    I am using LabVIEW 8.2 and card NI-5640R(PCI based) v 1.1
    Thanking you
    with regards,
    Sreenivasulu.O

    Hi Sreenivasulu.O,
    Smercurio has provided some great information on this! He is right in saying that you have to use NI-DAQmx to acquire/generate data. Here is a link that gives you information on using MathScript to get you started with it. Here is another link that gives you information on transferring information from Matlab and vice versa.
    Good luck with your application!
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer

  • Need Help w/Labview

    I need urgent help on a program that I am suppossed to design using
    labview(5.1), in conjuction with circuit boards designed by national
    instruments. The program calls for controlling Eurotherm 818
    temperature controller and National Instruments ER-8 relay control
    board. Both controls use digital and analog I/O board designed by
    national instruments. I appreciate all the help I can get.
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    Check out the Functions>>Structures>>While Loop. You can set the
    condition and wire it to the stop, or you can use a boolean switch.
    Beware, though, if you use the latter, wire it to an inverter and then
    to the stop.
    Hope this helps.
    Jon A. Rinkenberger
    Atmospheric Physics Research Laboratory
    Physical Science Department
    Embry-Riddle Aeronautical University
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

  • The win32help.exe error when I use the help of LabVIEW .

    I had installed the LabVIEW6.0 under the win2000.My computer has intel 845 motherboard and P4-1.5G CPU. When I open a vi and right click on a function vi for help. Then there will be a error"winhlp32.exe".I tried to install the LabVIEW and win2000,but there is no result.I don't know how to solve it.
    I will really appriciate your help.

    It sounds like something bad happened during one of the installations that is causing the problem. You've tried re-installing both Labview and Windows 2000 but the same thing happens? Are you do any custom things in your installation?
    Matt Kisler
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Help about LabVIEW DSC Module 8.2 download

     Can anyone help for the LabVIEW DSC Module 8.2 download?
    i can not find evaluation version at NI webisite, but can find 8.6 version .
    Unfortuantately , my labview is 8.2 version ,can not run it .
    thanks a  lot.

    Internet resources are available to download DSC 8.2.
    Try Google.
    Best Regards,
    Tao Hou
    NISH

  • Help abt LabVIEW MathScript

    Hi,
    i am sreenivasuluI need to generate some modulated(AM,BPSK,QPSK 4-FSK and GMSK) signal.
    i successfully completed all these modulation in Matlab.how can use that m.file directly to this labview or any indirect method is there.
    tell me how i ahve to use that m files or tell me procedure to generate modulated signal using LabVIEW MathScript.
     actually i am working on LabVIEW 8.2 with ni 5640R(PIC) Hardware card.
    after generating this signal i can communicate with this card.if YES tell me procedure.
    if possible send me some VIs.
    Final my goal is i need to generate some modulated(AM,FM,FSk,BPSK,QPSK Etc) signal with Fc
    21.4MHz for providing as a input to other module(RAD-2,Pentaland).
    I am using LabVIEW 8.2 and card NI-5640R(PCI based) v 1.1
               Thanking you so much sir.
    Thanks & regards,
    Sreenivasulu.O

    Hello,
    The script you currently have in the MathScript node generates a real output.  If you wish to convert it to complex, you can simply drop the "To Double Precision Complex" conversion bullet located in the Programming >> Numeric >> Conversion palette.
    In looking at the second loop in your VI, you don't need to use the "Get Waveform Components" element because MathScript does not currently output a waveform datatype.  Simply use the vector directly.
    Grant M.
    Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments
    Message Edited by GrantM on 03-14-2008 09:14 AM
    Attachments:
    ToComplex.png ‏4 KB

  • I need an urgent help on LabView Coding

    Respected Sir,

    sir, can you please bulid a VI for me that-
    1]From Relay Off to On Position-
     can initiate a timer (When 'x' is ON), as well as turn ON a Numeric Indicator that displays the corresponding input voltage and when ('y' is ON), stops both the timer as well as the indicator and they both hold their values and must have a reset button to reset the values...
    2]From Relay On to Off Position-
     Also, now when ('x' and 'y' both are ON), when 'x' goes OFF, the timer should initiate and the indicator should display the corresponding input voltage and when 'y' goes OFF, both the timer and the indicator should stop, and they both hold their values and must reset their values..
    Sir, will it be possible to use two use timers and two indicators for this purpose.. sir, please help me out, me in a complete mess...

  • Ask for help with LabView Daq and Tek VX4244 VX4101

    I use NI VIO-MXI-64XE-10, Tek VX4101 and Tek VX4244 to acquire data in one
    Tek 1410A VXI mainframe connected a PII 350/64M computer with MXI2
    cable.these modules are used for three independent applications,the datum
    are acquired and through preliminary computation, then sent to three TCP/IP
    ports the computer served in real time. the burden of the system will be
    very heavy because the 64XE-10 need to use up the 100K sample rate
    continuously dealed by 50 channels,and the VX4244 need about 30Hz for all 16
    channels.
    64XE-10 is easily detected by NI software, and I can use LabView Daq
    intermediate analog input VIs to acquire data in background, read 50 samples
    and compute the mean for each channel,then packa
    ge the 50 mean and send to
    client end with 40 times a second. I found the speed is satisfactory.
    As for VX4244 and VX4101,I can't use LabView Daq VIs,and the driving
    functions for LabView with the product are difficult to understand, I want
    to know how I can get data and send out efficiently,how to get data in
    background,and how to use FDC ?
    And for 64XE-10, although the speed is satisfactory, but it use much more
    CPU resource, I want to use advanced analog input VIs to build the code,I
    want to know where I can find examples using the advanced analog input VIs ?
    Best Regards

    I use NI VIO-MXI-64XE-10, Tek VX4101 and Tek VX4244 to acquire data in one
    Tek 1410A VXI mainframe connected a PII 350/64M computer with MXI2
    cable.these modules are used for three independent applications,the datum
    are acquired and through preliminary computation, then sent to three TCP/IP
    ports the computer served in real time. the burden of the system will be
    very heavy because the 64XE-10 need to use up the 100K sample rate
    continuously dealed by 50 channels,and the VX4244 need about 30Hz for all 16
    channels.
    64XE-10 is easily detected by NI software, and I can use LabView Daq
    intermediate analog input VIs to acquire data in background, read 50 samples
    and compute the mean for each channel,then packa
    ge the 50 mean and send to
    client end with 40 times a second. I found the speed is satisfactory.
    As for VX4244 and VX4101,I can't use LabView Daq VIs,and the driving
    functions for LabView with the product are difficult to understand, I want
    to know how I can get data and send out efficiently,how to get data in
    background,and how to use FDC ?
    And for 64XE-10, although the speed is satisfactory, but it use much more
    CPU resource, I want to use advanced analog input VIs to build the code,I
    want to know where I can find examples using the advanced analog input VIs ?
    Best Regards

Maybe you are looking for