Using Labwindows CVI Version 10.0.1 USB communication with FTDI FT2232D to unit under test.

Communication with unit under test works fine in hypterminal after I downloaded virtual driver from FTDI site.
Never done any USB communication before in LabWindows CVI. What functions can I use in labwindows CVI?

Since the device presents itself as a COM port (pretty standard with the FTDI chips) you should be able to use the RS-232 library in CVI.  OpenComConfig() will open a connection to the device, ComWrt() will write data to it, and the various ComRd() functions can be used to read the responses back.

Similar Messages

  • Usb ni-6008 with LabWindows/CVI version 5.0

    Hello,
    I would like to use USB NI-6008 with LabWindows CVI version 5.0. The hardware comes with DAQmx version 9.3.5, which does not support CVI v.5.0.
    Any ideas how to use this CVI version with USB NI-6008?
    Many thanks..

    Hi there,
    Like you said, DAQmx is only officially compatible with LabWindows/CVI 7.0 or later. This link has more information on this compatibility: http://zone.ni.com/devzone/cda/tut/p/id/2931
    In addition, USB-6008 is only officially compatible with DAQmx (previously, the plaform was Traditional DAQ). You would need Traditional DAQ to work with CVI 5.0, but the USB-6008 doesn't officially work with that.
    Someone here might have an alternative solution, but though it seems you need to use CVI 5.0, is it possible to upgrade this?
    Ravi A.
    National Instruments | Applications Engineer

  • How do I send e-mail to a distribution list using LabWindows/CVI?

    I need to be able to send e-mail to a user-defined distribution list using LabWindows/CVI? Has anyone done this? Any ideas where I could look?

    I commented on something similar to this awhile back.  My issue was that I had the base version and didn't have the Internet classes.  So this external app worked like a charm
    It has a lot of command-line inputer options to use as well.
    http://forums.ni.com/t5/LabWindows-CVI/Need-Help-for-Sending-Email-with-LabWindows-8-5-or-9/m-p/1095...

  • How to access the result list in teststand after execution using labwindows​/cvi

    I am developing a user interface in labwindows/cvi that runs multiple teststand sequence files and would like to combine their reports (generated in teststand) into a single file at the end of a UUT. What is the best way to do this? At the moment, I'm trying to access the result list local variable after the execution has ended using API calls from labwindows/cvi and an end-of-execution callback event but those run-time variables do not exist anymore. How do I get a hold of the result list array at the end of an execution? I would like to grab this variable and pass it along from sequence to sequence using labwindows/cvi and not teststand itself. Is this possible? Any help would be great.
    Thanks in advance,
    Luis

    Hey Luis,
    Check out the response to this thread at the NI TestStand board here!

  • Documentation on How to Develop an OPC Client Using LabWindows/CVI?

    What documentation is there on how to develop an OPC client application using LabWindows/CVI?  What tutorials, if any, are there?  What reference manuals, if any are there?
    I am completely new to LabWindows/CVI.  I will be starting soon with the tutorial, "Getting Started with LabWindows/CVI".  However, our application needs to communicate with an RSLinx OPC Server.  Any documentaiton on how to learn to do this would be very much appreciated.

    http://www.ni.com/white-paper/4626/en/  Just did a quick google and this came up, Labwindows CVI and Labview are quite different but I usually look at Labview examples then try take the general idea from the example and apply it in CVI, hope this helps

  • Configure PXI-2567 to Trigger on Rising Edge using LabWindows​/CVI

    I need some help configuring the trigger edge for a PXI-2567 using Labwindows/CVI.  I have been able to successfully create and execute a scan list using both the ni-switch and daqmx APIs.  However, currently the PXI-2567 triggers on the falling edge of an input trigger.  I need to configure it to trigger on the rising edge of an input trigger.  Every function I could find in the daqmx API for configuring the trigger edge gave a non-fatal runtime error, and I could find no such functions in the ni-switch API.
    Any help configuring the input trigger edge on the PXI-2567 using Labwindows/CVI would be appreciated.
    Thanks

    Hi JonRice,
    You can configure the scan list to execute on the rising edge of an input trigger.  Here are the Labwindows/CVI and LabVIEW functions you would want to use to retrieve, specify or verify the edge of a digital signal that advances to the next entry in a scan list.
    NI-DAQmx C Property: More >> Advance >> Digital Edge >> Edge
    You can get/set/reset this property using:
    DAQmxGetDigEdgeAdvTrigEdge
    DAQmxSetDigEdgeAdvTrigEdge
    DAQmxResetDigEdgeAdvTrigEdge
    NI-SWITCH C Attribute: NISWITCH_ATTR_TRIGGER_INPUT_POLARITY
    You can get/set/check this attribute using:
    niSwitch_GetAttributeViInt32
    niSwitch_SetAttributeViInt32
    niSwitch_CheckAttributeViInt32
    NI-DAQmx LabVIEW Property: More:Advanceigital Edge:Edge
    DAQmx Trigger Property Node
    Short Name: Adv.DigEdge.Edge
    NI-SWITCH LabVIEW Property: Trigger Input Polarity
    niSwitch Property Node
    Short Name: Trigger Input Polarity
    Hope this helps!  Let me know if you have further questions.
    Chad Erickson
    Switch Product Support Engineer
    NI - USA

  • LABVIEW programming USB communication with TDS2004B scope

    Is there anyone who has already programmed USB communication with Tektronix TDS2004B digital scope in LABVIEW?
    If that is the case, could it be possible to send me a basic vi that works?
    Thanks.
    João.

    National Instruments has a great library of drivers for various instruments. Most of these include programming examples.
    The drivers are searchable at www.ni.com/devzone/idnet
    The driver for your instrument is available here.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • USB Communication with Cygnal Kit C8051F320-TB

    Hi i am using Cygnal development kit C8051F320 - TB.
    I want to communicate it with LabVIEW.
    Some members in discussion forum earlier have posted queries regarding communication with LabVIEW to USBExpress development kit from Cygnal.
    My question is, " is it possible to use same DLL (sif32xusb.dll) supplied with USBExpress with this kit ? " .
    If anybody has tried then please send me vi along with firmware.
    Thanking you
    Ishant

    Hello Ishant,
    Based in the excerpt from the USBXpress programming guide, you should be able to:
    "The Silicon Laboratories USBXpress Development Kit provides a complete host and device software solution for
    interfacing Silicon Laboratories C8051F32x microcontrollers to the Universal Serial Bus (USB). No USB protocol or
    host device driver expertise is required. Instead, a simple, high-level Application Program Interface (API) for both
    the host software and device firmware is used to provide complete USB connectivity."
    It looks like aa1982 got it working on this post:
    usb communication with silicon lab c8051f320
    And both are using the C8051F32x series controllers, you may want to get in contact with the owner of that thread to see if he encountered any problems.
    Xaq

  • USB comunication with a device using LabWindows CVI 7.1 or more late.

    Hello Partners.
     I am try to  get information about USB comunication with a device using CVI 7.1 or more late, I will need to developed a aplication for comunicate with a device but I  have not  idea of How do this. I know how comunicate with the serial port in CVI, but I never have developed any application using the USB port.
    Do you know which are the requirements for do this??
    I have read some information and I am seeing that I needed the driver of device for do this but I do not know what is the command line that will need to send in the aplication for comunicate with my device.
    Somebory knows how can I do this in my application??
    Somebory has some exemplo code in where I can see the commands that I needed to send to the USB port?
    Thanks a lot for your help.
    I will be to hope some suggestion.

    hi,
    think there are three possibilities:
    1. the product comes with an own driver & api
    2. the product comes with an FTDI-device to communicate over
    2.1 you can talk with the device over a virtual COM (rs232)
    2.2. you can talk with the device over  the D2XX-layer (look at the FTDI-webside: "D2XX Programmers guide....")
    best regards
    Simon

  • TCP using LabWindow/CVI ? ?

    Hi !
    I'm looking for ways to learn & use "TCP" communication ( Client /
    Server ) together with LabWindows/CVI.
    ( all examples at your site are for LabView only )
    Can you please let me know where to find an TCP Client / Server
    applications examples for LabWindows/CVI ??
    If posible i'll like the exact addresse of pages contains this
    examples/information !
    Also if posible i like to know if there is something about Ethernet or /
    and Lan ( Local Area Network ) in the LabWindows/CVI.
    I want to add that i know about the TCP Client/Server example in the
    LabWindow/CVI - Samples, but it is not complete - it is only a skeleton
    which not explain
    it all.
    I also want to know about the hardware i need to establishes a TCP
    connection !!
    Which cable should i use to connect the Server & Client computers ?
    Where exactly should i connect the cable in the computer ?
    It very importent for me to get full answer as soon.
    Thank you very much !!
    Regards
    Noam G.

    I would also like to see these examples, but I can help you on some of this. You don't really need any hardware (since you are accessing this site, I assume you have an ethernet card). For a cable, if you are connecting both computers to a LAN or the internet (direct or via a hub) use a RJ-45 ethernet cable. If you are connecting the computers directly to each other, you must use an ethernet crossover cable. The cables just connect into your ethernet port (where your internet access is plugged into now).
    Go here for more info on a crossover cable:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/38528df7b4d1feae86256dcf0069b14d?OpenDocument
    Derek

  • Test NI cDAQ-9188 using LabWindows/CVI

    I am looking for help to create test for cDAQ-9188 with DIO and AIO modules.
    Would you please advise with information as follow:
    1. Adding device driver to a project.
    2. Sample of UI.
    3. Sample of test script for DO (AO) control.
    4. Sample of test script for DI (AI) acquisition.
    Thank you.
    Sincerely,
    Sam.
    [email protected]  

    There is a tutorial on using DAQmx with LabWindows/CVI here: http://zone.ni.com/devzone/cda/tut/p/id/2931. That is probably a good place to start.
    Another good article to check out is the NI Ethernet Data Acquisition Overview here: http://zone.ni.com/devzone/cda/tut/p/id/7374.
    As far as examples go, there are several text-based examples (as long as you have DAQmx installed) located at: Start Menu >> All Programs >> National Instruments >> NI-DAQ >> Text-based Code Support >> ANSI C Examples. 
    National Instruments

  • How to write to MS Word using LabWindows/CVI

    HI all
    is there any toolkit available to write to MS Word in LabWindows/CVI. like the report generation toolkit in Labview is there any option in CVI.
    regards
    Regards
    Solved!
    Go to Solution.

    Hi,
    there is an instrument driver (toolslib\activex\word\wordreport.fp) and several examples are shipped with CVI, i.e. word2000demo.cws

  • How can I use LabWindows/CVI do Roulette Wheel ?

    This is LabVIEW's example.
    I want use cvi to like it. (push  start button & picture will be whirl)
    How do I create an image and Rotate it ?

    The LV program does not rotates the image: it recalculates and redraws it instead. You can observe that numbers are not rotated but are always drawn horizontally.
    You could replicate this behaviour using a canvas control and the appropriate functions to draw text and arcs and paint them. You can look at canvas.cws and piedemo.cws examples. They are already installed on your machine in samples directory: use the example finder (Helo >> Find examples menu function) to locate it.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Usb communication with silicon lab c8051f320

    hi
    I want to communication with the silicon lab c8051f320 use the usbxpress development kit he provide
    there is many example using vc vb,but it did not have any example use labview
    for the host (pc), it provide a dll (see the appendix),
    I have tried many method, but the labview always crashed when the dll is called
     does anybody who have used c8051f320 can give me a advice.
    the dll and usbxpress development kit are in the appendix.(the sif320xusb.c is a dll, please change its Postfix from c to dll) 
    i really need your help
    Attachments:
    SiF32xUSB.c ‏64 KB
    USBXpress_ProgGuide.pdf ‏84 KB

    I investigated this a bit further.  SiLabs latest version is version 3.0.3 and if you are using this, LabVIEW may not work properly.  After many failed attempts to get this working, I reverted back to version 2.4.2 which I am able to get working in LabVIEW just fine.  You cannot download older versions directly from their website however.  The primary difference between version 2.4.2 and 3.0.3 is the function prototype.  SI_Write and SI_Read v3.0.3 have an additional OVERLAPPED pointer parameter that you may have to add to the library call.  However, I found this out after I reverted back to 2.4.2 and haven't attempted again to make 3.0.3 work.

  • Commands to FTDI virtual COM port via NI VISA interfere with communication with FTDI chip using D2XX drivers

    Hello!  
    I am trying to communicate with a DLP Design module DLP-USB1232H which uses an FTDI chip.  My program uses the D2XX drivers.  It works, but...
    In another program that runs at the same time, I'm communicating with another instrument via a virtual COM port (VCP) that uses an FTDI UART.  In this program, I use the VISA Serial Port functions.  It works, too, but...
    The first program has the capability of listing all the FTDI devices in the system prior to choosing the right one to communicate with.  When the VCP is plugged in, it lists it (FT232R USB UART) along with the DLP-USB1232H and communication with the latter device works.   But as soon as the second program sends a command through the VCP, the first program no longer "sees" any FTDI device.  It stops working.
    I have tried 2 different FTDI VCPs; one a standalone cable and the other built in to the instrument.
    I’m using Windows 7 32-bit.  My programs are both LabVIEW 8.5 executables. 
    Is VISA "taking over" the channel to the DLP-USB1232H?  Does someone who understands NI's implementation of VISA have any ideas on why VISA is doing this?  Or if something else is going on?
    I'm also interested in workaround ideas.  I've tried a "Prolific" VCP, but most drivers don't work and the one that doesn't give an error in Device Manager doesn't communicate with the instrument.  
    Cheers
    Halden
    Solved!
    Go to Solution.

    Halden,
    It really sounds like you have a resource conflict. That occurs when two programs or parts of programs try to use the same device or port at the same time.  Your Get Device Function probably tries to open a session with each port (as you increment the index). When it hits a port which is being used by the other driver, it cannot open the session and stops working? Have you examined the errors returned by each program? The VISA drivers will return an error when the port is in use.  I do not know about your program or drivers, but I would expect some kind of error.  Automatic error handling in LabVIEW will not catch errors from a driver if it does not translate them to LV error clusters. So do not count on automatic error handling, if you use it, to display all possible errors.
    Lynn

Maybe you are looking for