FTDI With FPGA using labVIEW

Hi,
    I am have got FT245 RL and i need to get the data tranmitted from an FPGA.The data is going to be an 8 bit data.I am doing the conversion using FPGA itself.I now want to read the data from the FPGA.I am new to FTDI and i am struck.Can some one please help me out?Aslo please tell me as to which 2 pins should i short to check the loopback .
HELP!!!
Message Edited by muks on 03-10-2008 08:08 AM

hi,
I have a little problem, maybe someone can help me.
I want to communicate between FPGA and USB using Labview 8.2.
I'm using ALTERA Cyclone II FPGA and
FT245BL USB from FTDI and I tried to test the write-read routine
(labview example) from FTDI website (see the link below):
http://www.ftdichip.com/Projects/CodeExamples/LabVIEW.htm
The
write function is working (the bytes are written in the paralel
port).The function FT_GetQueueStatus returns a parameter Bytes Waiting
which is zero, so this means there are no bytes to read from FTDI
device.My question is:
Is there any protocol already implemented in Labiew and a website from
where I can download it to do the communication between FPGA and USB?
I have the VHDL code downloaded from ALTERA website and I installed all the
required drivers related to my FTDI device model. The drivers were downloaded from
the www.ftdichip.com
website and also the D2XX _functions_7.0 for Labview.
Regards,
Leo

Similar Messages

  • How to start with FPGA and LABVIEW when you do not know any computer language? Only have exposure to Windows OS.

    Myself is an Electronics Engineer. But I don't have any exposure to any comp language like C or whatever. I do not have any exposure to Labview as well. I've been involved in design and developing Digital Circuits like interlock units, Position monitoring and display systems etc. Now I want to work upon FPGA based circuits. Can anyone suggest me plz that how to start with?  

    Hi BNarendra;
    Here are some resources that can be useful, the first is an introduction to LabVIEW and the other ones are for LabVIEW FPGA.
    LabVIEW
    http://zone.ni.com/devzone/cda/tut/p/id/5247
    LabVIEW FPGA
    http://www.ni.com/swf/presentation/us/labview/lvfpga/default.htm
    http://digital.ni.com/public.nsf/allkb/0697A6F4BFC6E152862570FA0072153A?OpenDocument
    http://zone.ni.com/devzone/cda/tut/p/id/3261
    I hope the information is useful.
    Good Luck!
    Francisco Arellano
    National Instruments Mexico
    Field Systems Engineer - Energy Segment
    www.ni.com/soporte

  • FTDI FT4232HQ automation using labview driver

    Hi,
    I am working on FTDI chip .I want to communicate FTDI chip using labview driver and i have downloaded driver of FT 4232.But i am not able to read and write with that .Can anyone help me out or send me some VI or video ,so that i will be able to communicate.
    Thanx in advance 
    Regards
    Shweta

    Hi Dennis,
    I am using D2xx driver for FTDI.As i want to write and read back data from FTDI FT4232 chip.I hav connected loop back wire between TX and RX buffer of UART port of FT 4232 chip. I m using  FTDI's D2XX drivers to find a device, open it, write data in a byte-array format, read data in a byte-array format and close the device from http://www.ftdichip.com/Support/SoftwareExamples/CodeExamples/LabVIEW.htm example 1.
    My device getting detected ,but i am not geting the read data back.
    Is that example having some error ? or i have to add something else?
    thanks in advance
    Regards
    Shweta18

  • Data Acqusition with TLA7016 using Labview

    I want to acquire 16 bit digital data with Tektronix TLA7016 using Labview7.1 on Windows 7 OS. I am  unable to get driver for TLA7016 on ni.com/LABVIEW. So please help me regarding driver for TLA7016 using Labview with some Examples. I tried NI VISA but its not connecting to TLA7016
    Regards
    SAMEER KAWTHALE

    Mihir_s wrote:
    I am using LAN(TCP/IP)  interfce also  getting Reply from TLA7016 when pinged.I tried MAX TCP/IP interface in devices and interface section but  also unable to connect..
    "unable to connect" is too vague. What did you try? In MAX TCP/IP instruments don't show up automatically. You have to create a TCP/IP instrument connection. What were your steps? Did it perform a search of the subnet? Did the instrument show up?
    If there is no ready instrument driver for TLA7016 or any other TLA series  driver can be used for TLA 7016 with LabVIEW?
    As noted, there is no ready-made instrument driver for that specific model. As I said, this means you have to modify an existing one, or create your own. Do you have the programming manual for the instrument? If not, get it, as you'll need it. Check to see how you're supposed to communicate with this instrument. Check its programming syntax. Is it message-based. I.e., do you send human-readable strings to it to tell it to do something?
    Which version of LABVIEW is compatible with windows 7 ?
    Did you try a search? Windows Version Compatibility with LabVIEW

  • How can I view/debug via probes with TestStand using Labview Vi's?

    Hello, I would like to debug a Test Stand Sequence that uses Labview Vi's. Anybody know how?

    Hi,
    You cant use the vi probes in TestStand. But you can set breakpoints in TestStand and then step in the labview VI's.
    TestStand 3.x has improved debugging capabilities over TS2.0.1.
    You can also set you break points in your Labview VI's and when your test code is executed the VI will stop when your break point is reached. Then you can use your probes as you would normally do in your labview.
    In TestSTand you also have the ability to set up watches on your teststand variables and to beable to modifiy these as well.
    I think the TestStand User Manual will help explain in more detail.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Implementing Differential Equations using Labview fpga modules on PXI-7811R

    Dear,
        I am working on   implementing dynamic systems modeled ordinary  differential equations on PXI-7811R FPGA using labview FPGA. Is there any body who can help me how to implement differential equation on PXI devices uding Labview FPGA, please? Is there any integrator in Labview FPGA, module. I used Discrete Integerator in LAbview FPGA  module in Maths palette, but i hesistated if it really works . I really appreciate your help,
                                        Gammee

    Thank you for posting on the discussion forum.
    You can solve differential equations using LabVIEW FPGA but you may run into some significant difficulties in doing so. If you are not tied to using FPGA, you could try using LabVIEW real-time, which may make things much easier. But if you would like to stick with FPGA, see the link below for a list of examples that may be helpful:
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/ssnav:ipn/q/differential%20e...
    Below is a link that you can review to better understand the functionality of the discrete integrator should you choose to go that route:
    http://zone.ni.com/reference/en-XX/help/371599B-01/lvfpga/discrete_normalized_integrator/
    I hope that helps.
    Best,
    Rachel
    Rachel D.
    Applications Engineer
    National Instruments

  • Using FPGA and Labview without RIO board.

    Dear Sir
    I am a student. I want to connect my own FPGA and make a program on labview and then transfer to FPGA.I do not want to buy RIO.Is it possible to work
    like that without purchasing RIO.
    Thanks a Regards

    Hooovahh wrote:
    Yes NI supports programming FPGAs using LabVIEW without RIO boards I've been doing it for years and it works great.  Here are a few non-RIO products I've used LabVIEW FPGA with.
    PCI-E Version
    PXI Version
    USB Version
    The PCIe and PXI cards you mentioned are specifically RIO.
    But you managed to program a USB-6225 with LV FPGA?  I'm not even sure there is an FPGA on there to program.  It is an M series DAQ board.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • DC to DC converter basics using Labview on FPGA Control with VHDL

    DC to DC converter basics using Labview 
    I am fairly a novice, that is why simplifications required, before I begin thanks in advancefor them who will response  
    I am designing a DC to DC (Intermediate Bus Converter, a step down BUCK converter, of 24 v input and output 9 v and 5 amp current output), using FPGA controller, I need to program this using VHDL, for which I take LabVIEW, but as I am new so do not have any idea as what are the steps that I need to take for implementation, what types of function that FPGA does in this so that it can generate 24 v and what other mechanisms that have to control inside or outside of FPGA programming and designing that it can give the desired output voltage, if you have any idea about this then I would be glad to receive the steps that are necessary to complete this

    NI supports two Spartan 3E products through either LabVIEW FPGA or MultiSIM, the Digital Electronics FPGA Board (http://sine.ni.com/nips/cds/view/p/lang/en/nid/207​010) and, if you are in academia, the Xilinx Spartan 3E XUP starter board (as linked by Dennis_Knutson).
    Also note that if you wanted to implement some logic in VHDL and have access to that logic in a LVFPGA diagram, you could utilize the Component-level IP (CLIP) fuctionality (http://zone.ni.com/reference/en-XX/help/371599G-01​/lvfpgaconcepts/using_component_ip/)

  • How can I install (download) a Labview FPGA code onto Altera FPGA chip using Labview FPGA module?

    Hi there
    Guys i'm a very new labview user (PhD student), my project is about ( design and implementation of a high speed-yet sophisticated system using Labview environment then install this project's code (using Labview FPGA module) onto Altera-made FPGA chip).
    so kindly, can any body help me in this?...is there any way to connect labview with Altera FPGA?...please anything would be said 'd be of great benifits
    thanks a lot in advance.

    as previously mentioned, labview fpga only supports national instruments targets utilizing xilinx fpgas. the hdl generated by labview fpga is encrypted and cannot be used to synthesize a design outside the labview fpga design flow. 
    however, if you must use labview for your project, it might be possible for you to design the system in labview and use one of the labview embedded modules ( http://www.ni.com/embedded )to generate c code which you can then port to systemc and compile for the altera fpga. i'm not saying it will be easy, but it should be possible. 

  • Using LabVIEW to simulatenously control 256 Outputs on FPGA

    Hello,
    I am a first year graduate student classically thrown into learning LabVIEW, so I would much appreciate some help with the code I am trying to work out. To give you an idea I started watching the tutorials on creating loops in February. For reference I am on LabVIEW 2014 and using a CRio-9066 with 8 modules and 256 total digital outputs.
    The goal of the code is to 1) generate on/off times for the state of the outputs on the FPGA VI and 2) to communicate this with the FPGA VI in real time. The reason the code is on a computer VI and not contained on the FPGA is because I need to use a normal distrbution function (which has inputs mean and standard deviation and outputs a value accordingly) to determine the timing. This is easily achieved on the computer, but not so easily achieved on the FPGA interface. It is essential that each output follows it's own unique timing function for my purposes.
    The way the code works is that each output has it's own while loop containing a two-frame timed loop (see attached.) A sub-VI I made (with a sun icon, see attached) outputs a timing value each time it is called, and this value delays the next iteration and during this delay sets the value of the local variable as true or false (on or off.) The state of the local variable is continuously communicated with the FPGA VI using a read/write control elsewhere in the program. The FPGA VI itself is a very simple VI which has boolean switches attached to each desired output.
    This code works very well for 128 outputs. However, when I try to use it for all 256 outputs it does not work. The VI does not report any errors, however about half of the loops are apparently not executing. My suspicion was that there is a limit to the number of processors that can be simultaneously utilized to execute loops in a VI, so I split the VI into two parts, each with 128 outputs communicating with the same FPGA VI. Again, I had the same issue. I am not sure if this is due to processor overuse or UI latency in labview (since the front panel is rather cumbersome.) Any suggestions would be greatly appreciated.
    One thought I had to work around this is to create a VI which generates timing values and stores them in an array. Then I could create a simple VI on the FPGA which reads these values and assigns a true or false state to the output accordingly. However, when I pasted the array into the FPGA VI I was returned the following error: "The FPGA module does not support variable-sized array on the front panel of the top-level VI." Any suggestions for working around this would be greatly appreciated as well.
    Any thoughts, comments or insight would be greatly appreciated. I am new to this so I realize my code is probably inefficient and such, so any tips would be awesome. Thank you.
    Attachments:
    Timing_Loop.PNG ‏15 KB
    FPGA_error.PNG ‏116 KB

    For the array error, check out: http://zone.ni.com/reference/en-XX/help/371599H-01/lvfpgahelp/creating_fixedsize_arrays/  Do you understand why a variable sized array causes problems with FPGA fabric?
    You're right about loops on either the RT side of your cRIO or your computer requiring cores and that cores might have to share threads if you have too many loops.  Loops on the FPGA itself will be routed otherwise.
    When you say computer, are you talking about the PC or the RT side of your cRIO?  Is there a reason you've got locals all over the place instead of shared variables?  Are the values meant to stay with the PC only or shared to the FPGA/RT?

  • I am trying to integrate simulink model (.mdl) file with SIT of Labview for RCP and HIL purpose. I am using Labview 8.6, Simulink 6.6 with RTW 6.6 and RTW embedded coder 4.6 ,Visual C Express 2008 and Visual C++ Express 2008.

    I am trying to integrate simulink model (.mdl) file with SIT of Labview for RCP and HIL purpose. I am using Labview 8.6, Simulink 6.6 with RTW 6.6 and RTW embedded coder 4.6 ,Visual C Express 2008 and Visual C++ Express 2008. I have selected system target file as nidll.tlc,make command as make_rtw and template nidll_vs.tmf. When I try to generate .dll file I get the following error.
    Attachments:
    SITProblem.JPG ‏101 KB

    Hi,
    No . I could not solve the issue. Presently we are using microautobox (from Dspace)for doing the RCP.
    Himadri 

  • Do I have to use LabVIEW Real Time with a reflective memory node?

    For reference with an external data system that will be temporarily installed at a customer's site, they have asked that I tie into their data network to record data from their control system.  They apparently use a reflective memory network for data sharing.  I have no prior experience with reflective memory, but all references to it involve real time systems.  I do not need absolute determinism to acquire this data, I can be late by several milliseconds with no problem.  Do I still need to use LabVIEW Real Time to interface with the PXI reflective memory node?

    Hi AEI, 
    I have worked with that card briefly before. It has a Visa based driver and RT isn't required. However, I haven't worked with the card on a non-rt system and am not sure if there any issues to be aware of. 
    A lot of work has gone into integrating support for the card into Veristand, it may save you enough development time to use at an RT-Veristand system to be worth the extra cost. 
    Jesse Dennis
    Design Engineer
    Erdos Miller

  • I need to program a Hittite Fractional​-N Synthesize​r Evaluation Kit with a HMC702LP6C​E an external YIG oscillator​. Not sure how to use Labview to control the PLL.

    I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator.  Not sure how to use Labview to control the PLL.

    Here is how to use the PLL. But I don't know of how to interact with that device
    http://zone.ni.com/devzone/cda/tut/p/id/3781
    And for thouse who don't know what a PLL is a free bonus link is here:
    http://digital.ni.com/public.nsf/allkb/07BC8D77D4E​9AE258625708B007CE74F?OpenDocument
    and a second one on what that device is: http://www.hittite.com/products/view.html/view/HMC​702LP6CE
    Now we are all caught up to speed.
    Sam S
    Applications Engineer
    National Instruments

  • I have written a binary file with a specific header format in LABVIEW 8.6 and tried to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I have written a binary file with a specific header format in LABVIEW 8.6 and tried  to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I can think of two possible stumbling blocks:
    What are your 8.6 options for "byte order" and "prepend array or string size"?
    Overall, many file IO functions have changed with LabVIEW 8.0, so there might not be an exact 1:1 code conversion. You might need to make some modifications. For example, in 7.1, you should use "write file", the "binary file VIs" are special purpose (I16 or SGL). What is your data type?
    LabVIEW Champion . Do more with less code and in less time .

  • How to use labview with the handyboard

    Hi,
    how to use labview with the handyboard
    Thx...

    I'm assuming you're talking about this, since you didn't provide a link for those of us who don't know what you're talking about.
    As the other poster said, you didn't say how you want to use LabVIEW with it.  If you want to write LabVIEW programs than run on the microprocessor, then you're out of luck.  If you want LabVIEW to interact with it, then you've got a couple of options, SPI probably being the best, but it also has DI and AI that you could use to communicate with it - the DI's could be used as a parallel interface.
    Message Edited by Matthew Kelton on 12-17-2007 02:21 PM

Maybe you are looking for

  • XSLT mapping tool

    Hi All, I am abap consultant, so its difficult to write a XSLT mapping program. Is there any XSLT mapping tool available on net to use free? Which can take source XML & Target XML and upon doing graphical mapping it generates the XSLT mapping program

  • How do I save files from my HD onto Time Machine?

    If I delete files on my hard drive to free up space (i.e., movie files that I want to save in an external harddrive), time machine will not keep these files for me on my external harddrive, since time machine just backs up what is in Macintosh HD. Ri

  • TS3988 How can I sync photos from my Iphone5 to my Ipad Mini???  Thanks!

    How can I sync phots from my Iphone5 to my Ipad Mini?? Thank you!

  • Data entry in the table

    Hi All, I havae a scenario.. I have one ztable with the foloowing fields: 1. enum 2. Ecnum 3. Add 4. Date 5. erole what I did is I made enum and ecnum fields as the key fields in the table and rest I didn't make as key fields. Now when I tried to ent

  • Reg : Passing multiple rows of table data to the RFC

    Hi, I am passing one row of data from webdynpro table to table of RFC. How to pass multiple rows of data. Please help me out. Thanks Risha