Good info USB - Serial

OK so I just spend a day of debugging an application that has a race condition insidieous and thought I'd share a little.

The system communicates with a DUT using an adapter USB - series with theFTDIser driver installed.  what I saw was sub - vi that each finished well on their own but by pressing the "test" System I saw some timeout errors.

Addition of the delays had a limited effect but the two breakpoints and the problem resolved property nodes (if of course I knew, I was crazy)

So, I came across this interesting post.  and yes - I used async calls for VISA and VISA Write reading.  AHhhh async calls do NOT force the behavior of async async behavior only request!  so I looked in the latency of the driver, ftdi here and here.

with asynchronous calls, I managed to run followed VISA calls starting the second function, BEFORE the first completed and locked in the interface.  Breakpoints and nodes of property HAVE a switch e UI thread and asynchronous calls carried out synchronously.

The VISA by replacing with synchronous calls saved my bacon. (to a time penalty)

Steven T says:

Jeff,

I am sure others will find this very informative information and others will save in this community some time!

Thanks for the post!

Steven T.

Yes, and I found a great place to save links to technical documents that I would also of hours looking for when I need to get down to this level again (for example in 2-3 years)

Tags: NI Hardware

Similar Questions

  • I need to control and communicate with a cell - Mecmesin Multitest 2.5 k - via USB/serial - ideas?

    Help!

    I am currently working on a project where I apply force on a hardware - software (non-associated labview) who is provided with the tool (Mecmesin Multitest 2.5 k) allows to control but (of course), I want to control it using LabView, as well as plot data using LabView.

    This issue has developed several years on these forums, but it was never a good answer. I'm suitable for use of LabView for the simplicity of programming (loops, arrays, sorting data etc.), but am a newb in most other respects--unless companies have subVIs!

    The tool is now using a USB-serial connection (PC - end is USB). I think I could use rs232-rs232, but someone in the dept said it still doesn't work, which could mean that the cable series is cheesy. I wish it works however, USB, as ideally something else is connected to the serial port currently.

    Is this possible? If Yes, can anyone help?

    The next step is to open the manual for programming the instrument. Determine the commands that you need to send to the device and to understand how the device sends information. You can use the signs VISA for that test or program such as Hyperterminal. To send something to the instrument, you use an entry VISA (tab ViWrite) and for the data, a VISA read (ViRead).

  • Name of resource VISA get does not have USB serial ports

    We built an application on a computer that had a built-in serial port - COM1.  We have the option to change the COM port in the application.  We have installed the application built on a computer that has no serial port, but installed a USB serial Converter which records as COM3.  LabView does not see this port, even with a test application to return only the names of VISA resources.

    We have verified that the port is good with another program (a Modbus Simulator) and installed the last TIME VISA v4.41 separately without result.

    Any suggestions for more troubleshooting would be extremely useful.

    Joe T.

    My main of the application still does not work, but now the little test ones are.

    Here's what I did:

    1. update my LabView 8.5 with the last VISA - 4.4 runtime.  This update the installer as well.

    2. added the install MAX for the build.

    3. adding the Support of Configuration of NI-VISA for construction

    4. uninstalled the app and reinstalled with the new volume of the system.

    When I run MAX, COM3 appears.  He also appears in the application of test resources.  The simple test Modbus to write the program works, too.  I have a sneaky feeling that COM1 can be hardcoded somewhere in the parent application; our next task is to find where communication breaks down in our code.  The bottom line seems to be a lack of experience with the demand of our manufacturer.

    Thanks to all who participated!

    Joe T.

  • Converter USB/serial for Satellite P100-112

    Hi, I need to buy a converter usb/serial for my P100-112. The one I have, I can't make it work with my current machine. Tips for what to buy would be appreciated.

    Hey Buddy,

    I googled a bit around and found an example for a converter that can be useful for you:

    http://www.ramelectronics.NET/HTML/usb_serial.htm

    Please give some feedback what you need exactly, maybe find us something better...

    Welcome them

  • Tecra A11-126-USB-Serial Controller driver with Docking Station

    When we run a new install with Win 7 (64-bit), Device Manager marks as missing driver USB-Serial controller. I need this driver not not not for installation from (msi file) device manager - not an additional tool (exe file).

    Where can I get it?

    Post edited by: PWTosh

    I put t know what you mean with exe or msi, but have you installed the chipset utility?

  • Satellite L30 - required USB serial controller driver

    Hello everyone,

    I can't find the driver for USB-serial controller C for my Satellite L30.
    Needs in order to connect my Samsung mobile.

    Thanks in advance,

    Jacob

    To be honest I had never heard about USB-Serial Controller C.

    The windows operating system contains drivers own controllers USB (USB port).
    This means that you will not find any special drivers for USB controller.

    If you have some connection with the cellphone problems then I recommend to install the software that was supplied with the mobile phone. There is always a CD with the software.
    Before installing this software, you must uninstall the previous software.

    By the way; You can delete the C USB-serial controller in Device Manager and reboot the laptop. Then check if the windows will recognize this controller again.

  • USB Serial Controller driver for ProBook 4530 s

    Hello world

    I need driver for USB Serial Controller for ProBook 4530 s. I him have not found anywhere.

    Thanks in advance

    DOOH!  Found.  Checking validity of fingerprints.  I have looked for the id and got HP toot sweet response.

    Are ' thank you all for your kind cooperation.

    da signing.

  • HP 15-g049au: USB Serial Controller Driver for windows 7 64 bit

    USB Serial Controller Driver for hp 15-g049au windows 7 64-bit

    Hello

    Install the drivers for the Chipset on the following link and restart.

    http://support.AMD.com/en-us/download/chipset?OS=Windows%208.1%20-%2032

    Kind regards

    DP - K

  • Tracer USB Serial Driver for USB 2.0 need to connect... Help!

    My old computer died and now my vinyl cutter does not connect to my new. I said needs 2.0 USB Serial Driver which he cannot find. Help!

    It sounds as if you have an old vinyl plotter of a series and (b) interface has at one point bought a USB to serial adapter or cable.

    If the above is not correct, what is the brand and model of your plotter?

    If you can't find the CD that came with your card and cannot identify it (so you can search for a driver on the Internet), your simplest solution is to buy a new USB cable or serial adapter that comes with its own driver.  They seem to run from $ 10 to $ 20 or more.

    Do yourself a favor and read the comments in places like Newegg, TigerDirect and Amazon before deciding that one to buy.

    Another alternative (that some of the negative reviews on the cables/adapters mentioned) is to buy a serial port PCI card (assuming that you have a free desktop/tower with a PCI slot computer).

  • USB-Serial Cable Driver for Windows 7 64 bit

    This question has been previously answered with a pointer to a url which seems to no longer work; for example,.
    http://www.prolific.com.tw/Eng/downloads.asp?ID=31 I'm a generic HTTP 500 Server error today, March 2, 10.

    Any ideas on where to go to get the driver for USB - Serial interface under Windows 7 64-bit?

    Hi RyeBob,

    It seems that the link you mentioned previously work now and watch PL2303 drivers for Windows 7 64 bit.

    http://www.prolific.com.tw/Eng/downloads.asp?ID=31

    I hope this helps! Debra
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Java USB serial port connections

    I was not able to open a serial port usb using "comm: / dev/ttyUSB0 '. BaudRate = 9600' connection uri. Pouvez USB serial ports available through java?

    Hello!

    What version of Java are you using ("Ai2" or "ai2 last developer version ')? In the latter case, you would not be able to open the serial port using Connector.open.

    In case if it is just ai2 it should be possible. An adjustment to the installation, you should do, however. In the file jwc_properties.ini please change the property deviceaccess.uart.prefix of/dev/ttyAMA/dev/ttyUSB (Please note that there is no '0')

    Kind regards

    Andrey

  • Prolific USB-serial controller: driver does not not in Windows XP

    Mac OS X 10.6

    VMware Fusion 3

    Windows XP

    ABCProducts-USB-Serial controller

    USB-Serial controller is detected by the MacBookPro as shown in system information:

    USB-Serial Controller:

    Product ID: 0 x 2303
    Vendor ID: 0x067b (Prolific Technology, Inc.)
    Version: 3.00
    Speed: up to 12 Mb/s
    Manufacturer: Prolific Technology Inc.
    Location ID: 0 x 04100000
    Available current (mA): 500
    Current (mA): 100

    Start the merge.

    Invited to connect prolific Series USB for Mac or Windows

    Select Windows

    Check in Windows Device Manager

    "The drivers for this device are not installed. (Code 28)

    To reinstall the drivers for this device, click on reinstall the driver. »

    Have restarted MacBookPro, Fusion, Windows XP

    Followed the steps of http://communities.vmware.com/message/1073352 , but there is no extensions to unload

    At a loss what else to try

    Try to download the relevant driver for this unit from its http://www.prolific.com.tw/eng/downloads.asp?id=31 Web site, and then install this driver in your client operating system to Windows XP.

    When VMware Fusion then redirects the USB device to your guest operating system, you should be able to see the device.

  • Need Vista driver for a USB-SERIAL converter

    I tried to plug in the USB-TO-Serial but it seems that there is a problem with the driver I bought the USB-TO-Serial converter without Vista driver.

    Could you please tell me to do?

    Kind regards
    Sultan
    salkharji@FastMail. FM

    It could be a good idea to find the drivers right to the website of the manufacturer of the USB-To-Serial adapter for Vista drivers.
    Otherwise I think there's not much you can do right now.

  • USB serial adapter works once for each reboot...

    I have a serial adapter USB to connect to the CONSOLE of the switch/router port and I use 'screen' inside the Terminal to connect. Recently, I found that the "screen /dev/cu.usbserial 9600" works only once for each restart of the system. Steps to reproduce:

    1. the output of "ls/dev / * usb *" shows the right device.

    2. connect to the console of the machine with 'screen /dev/cu.usbserial 9600 '.

    3. press on "Ctrl + A, Ctrl + K" to exit the screen

    4. (optional) disconnect/reconnect the usb to adapter series laptop OR disconnect/reconnect the cable to the device console target.

    5. the output of "ls/dev / * usb *" shows again the device.

    6. try to connect to the console with "screen /dev/cu.usbserial 9600", the process of the screen will hang. Once what is happening, the screen process cannot be killed by 'sudo kill-9' and only be solved by turning off the power full. BTW, the laptop will hang also when the start/stop, until I continue to press on the button / stop...

    7. When hanging them screen, the output of "ls/dev / * usb *" would show nothing.

    Once the notebook starts up again, I can connect with the same command screen and the same scenario for step 2-3 above...

    I have Mac OS 10.11.3 and adapter Micro Innovations brand (prolific chip). I downloaded and installed/re-installed driver from the prolific site and no difference...

    Any idea?

    Still questions... help!

  • What advantage is there in using the NI USB-232/4 on a standard USB Serial Hub?

    What advantage is there to use the NI USB-232/4 on a shift to USE of concentrator series?

    I have an application that requires LabVIEW control of 19 instruments that communicate via RS - 232.

    I have read the Datasheet for the NI USB-232/4, and I see no benefit of spending $528 for this unit (five times) on a standard USB to Serial hub for half the price.

    Can someone tell me if there is an advantage for the NI USB-232/4 or if they have had experince with one?

    Thanks in advance.

    Agile wrote:

    Thank you, NYC for the quick response.

    Why you prefer that your desktop with taken PCI card in charge of ports series? The space? COM stable #s?

    COM stable #s, harder to disconnect randomly, don't have to worry about the bus power, do not have to worry about Windows randomly powering buses as a feature, reliability, often less expensive energy saving...

Maybe you are looking for

  • partial or full update does not work

    Hello I'm trying to upgrade to the latest version of Firefox (v.37) but (both part-time as full update) I can only see the window asking to run or save the program installation and after that '' nothing. '' Setup of the file "Firefox setup Stub 37.0.

  • Need drivers for Satellite A200 - 1 M 8 Vista

    I bought a Satellite A200 - 1 M 8 PSAE6E last week and loaded a copy US version under licensee of Vista Ultimate bought via Microsofts web site. The laptop came with a Russian version of the Vista OEM. I have most things working fine with the new ver

  • Satellite M70 - button of Intermittent gluing

    I have a Satellite M70-169 and the * button control * out of nowhere part starts to act as if it is pressed permanently, what happens at random and may persist even after you restart the laptop, it happens also during the HDD password screen * before

  • The ThinkPad P70 CD tray ejects intermittently when the power is plugged/unplugged

    Hey all,. I am some problems on a ThinkPad P70 with Windows 7 Professional and have met a strange. When the connection from the computer to the power or unplug, sometimes the CD tray ejects on its own. It happens not every time, but it is somewhat co

  • My laptop turns on, but screen remains black.

    My laptop turns on, but screen remains black.  Then it turns off by its self. Please tell me how can I fix?