Timeout of read with USB-serial adapter

Hello world

Sorry to post this kind of question again, but I spent 2 days to navigate on this forum, the forum of The Mathworks, and several web pages, I still cannot find the thing that will solve my problem

I'm trying to control an Agilent 34970 A (with 40 channels 34908 A module) to read values of temperature thermocouples. I use a laptop (win7/64) and an adapter USB-to-serial (MCT U232-P9, who uses the Philips P87C52X2BA, not the FTDI chipset in case it makes a difference) and I installed the driver for this card. The adapter is recognized by Windows and appears as COM4.

I put the COM port settings in Windows as they are on the unit (9600 baud, parity: none, 8 data bits, flow control: Xon/Xoff; the stop bits are not specified on the device).

And... TADAAA... it does not work!

I tried to use NI MAX (version 5.5), LabView (2013/32-bit version) and MatLab (R2012b) to send the * IDN? command and read the response. The part 'writing' is fine (at least it does not generate an error, but I don't know if the command reaches the instrument), but there is no response from the unit. If I try to read the COM port, I get the 1073807339 error (time-out before the operation ended). I tried to see if there any bytes that will be read at the port, but there is no...

In LabView, I put the Xon and Xoff characters to those specified in the manual of Agilent (0x11 for Xon and Xoff 0x13), but there are a few other settings that I am not so sure: "Activate termination Char" (should be on or off? Tried both - no change) and the tank itself ending (I left it to the default '\n').

I know this isn't really a problem NOR / Labview, but given that so many people in this community seem to have experienced this problem, I would be very grateful if someone can help solve me this problem!

Thanks in advance

Mathieu

Yes.

Tags: NI Hardware

Similar Questions

  • 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!

  • Read the USB Serial entry

    I'm reading the entries of a parser to communicate with the computer via a USB port.  I tried to use the RS232 DASYlab input module, but he always says he's waiting for a signal.  I have attached the Protocol for the parser.  Can what settings I change to display these values?

    Basically, if your device is equipped with a USB adapter and the adapter is not simulating a RS-232 port, you have only two choices:

    (1) the manufacturer will provide you with a driver DASYLab in the same way that it could provide one of a LabView

    (2) the manufacturer as a programming library with, at least, a C or Python library.  In this case, you can write your own driver in Python using the script module in 13 DASYLab

    If the unit has a RS232 Simulator, then you need to look in your manual and use the correct symbol.

  • photodiode of reading with USB-6009

    I'm reading the voltage output of a photodiode using the analog inputs on a USB DAQ 6009 of Labview.  I am able to read the voltage of the batteries using data acquisition, but when the photodiode is connected with the acquisition of data, I get a noisy signal (see photo).  The photodiode works fine when I connect a voltmeter (voltage response IE with light).

    This could be a problem of air conditioning or impedace signals between DAQ and photodiode (attached sheet).

    Any suggestion would be appreciated.

    Thank you

    You can also consider your signal filtering if there are too many 60 Hz noise.  You can put a simple filtering on the input circuit or use one of the many digital filters applied to your data shipped with labview.  This could help depending on the nature of the desired signal (pulse of IE, DC, curves of decomposition...)

  • Communication problem series with USB serial Hub

    Hi, I have a communications problem when I use an NI USB - 232 (778472 - 01) adapter to control a pressure sensor. There are a lot of posts about it in the forum, but I calmly something a little different. I can't use MAX to control the instrument with the VISA test Panel. So I guess that the USB-232 driver is correctly installed. However, in labivew, even if I choose the instrument source of visa name, it always returns an error (-1073807339) when I run the program. The screenshot of the labview program is attached. Could someone kindly help me with this problem. Thank you very much.

    The system is XP SP 3 Pro.

    The version of Labview is 8.6.

    The MAX version is 4.5.0f0.

    If port by default windows settings exactly match the settings you need for communication, you can get lucky and it will work.  If only one parameter is different, it won't work.

    It is always better to define the parameters in your code.

    Shane.

  • Driver in Windows 7 USB-serial adapter problem

    Hi all

    I had the same problems as bbartko but under windows 7 64-bit.

    I bought a Sweex CD005. with ID USB\VID_067B & PID_2303 & REV_0300.
    I tried different drivers, official of Sweex, prolific drivers and also a few other drivers on the web, non of them seem to work.
    Most of the questions are
    -Unsigned drivers: If windows does not accept.
    -Driver will not work: whenever a different error code.

    Large,

    René van Dorst.

    Hi vDorst,

    It is the responsibility of the production prrovide drivers for their hardware.  I suggest that contact the manufacture of the adapter for the correct drivers. Thank you for using answers Forum. Please let us know how it works.

    Joseph
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Ativa usb to serial adapter won't install can't find drivers online this work. __

    Any experience with this issue?  Website of the Activa doesn't have the correct driver.

    It is a plug n play device. These devices require no driver. I suggest you to check if you are able to use this device on another computer and after return of the State.

    USB plug-and-play may be, but all devices always needs to have a driver.  No version of Windows comes with drivers for USB serial cards.

    hellofariday - please proceed as follows:
    (1) open Device Manager
    (2) right click on the USB serial adapter
    (3) select Properties
    4) click on the Details tab
    (5) look at the hardware ID

    Then do a search online for any value USB\VID & PID you see there.  You can leave the part REV.

    For example, if you see USB\VID_0409 & PID_005A & REV_0100, you would search online for USB\VID_0409 & PID_005A.  You may be able to find the drivers for a similar device that works with yours.

    Good luck
    Mark

    Want to know if your hardware current & software will work with Windows 7? Click on these links: *Windows 7 Upgrade Advisor * *Windows 7 Compatibility Center*.

  • 10.11.3 USB series adapter

    Hi guys, I have a serial lindy USB adapter I used on my MBP successfully for a few years... until I upgraded 10.3.11 on my computer... now have updated drivers it will see not the com port when I try to log in series.

    does anyone have a solution? or even got a USB serial adapter that they use with the OSX above?

    happy to buy a new one if I have to

    Here is what has been the Keyspan USB serial adapter. The product page claims in favour of El Capitan.

    See ace http://www.tripplite.com/keyspan-high-speed-usb-to-serial-adapter-microsoft-surf ~ USA19HS /

  • The Apple Magic Keyboard can operate without bluetooth when connected to an iPad with the lightning to the USB camera adapter?

    The Apple Magic Keyboard can operate without bluetooth when connected to an iPad with the lightning to the USB camera adapter?

    I love the Apple Magic Keyboard to be very light (I want it with me everywhere). I also like that I can choose the layout of the keyboard I want (Canadian multilingual), which is not available on any keyboard for any brand, with the exception of Apple iPad (and I did a ton of research). I have problems with the old model of keyboard Apple Wireless because of the Bluetooth connection: I often have trouble connecting. I want a reliable keyboard. I don't like having to plug the keyboard on the iPad, and I think that a wired keyboard can more reliable and safer than a wireless keyboard. And a wired keyboard never had battery problems.

    I read that the Apple Magic Keyboard can work wired with a Mac without bluetooth. And I read that some USB keyboards work with lightning to the USB camera adapter. There are several keyboards with a cable (Belkin or Logitech) lightning, but none with the available Canadian multilingual.

    So, if I buy a magical keyboard Apple and a Flash to the USB adapter of the camera, according to my needs, I'll be satisfied or I'm going to be disappointed?

    A better solution would be to have a male-male cable lightning between the keyboard and the iPad, but I don't find any of these products anywhere.

    Thank you.

    It will not work. And where did you read that the keyboard works wired with a Mac?

  • 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).

  • PCAN USB with NI-CAN adapter

    Hello

    I intend to communicate that LabVIEW with a controller to motor through the CAN network by using an adapter USB-PCAN system Peak. I wanted to know if NI-CAN be able to send and receive commands through devices that are not National Instrument (in this case, it will be the USB PCAN-adapter of the system Peak). Can anyone who knows something about this topic help out me please?

    We used the PCAN USB with the LabVIEW RIDGE driver provide. I don't think you can use NI-CAN or NOR-XNET to talk directly to the network using the PCAN USB CAN but we use the conversion functions of NI-XNET to convert between the CAN messages and signal/data value and vice versa, and then use the driver PCAN LabVIEW for read/write messages.

  • How to: get USB drivers Serial Adapter for Windows7

    Please where can I get USB drivers Serial Adapter for Windows7.

    I was using this adapter under Windows XP normally. But it does not work with Windows7, even if I installed the software on the CD that came with the adapter.

    Kind regards!

    Arthur

    It is the responsibility of the manufacturer/peripherals to create drivers for their products for operating systems, the manufacturer wants their products to work with. Therefore, it is suggested that you contact the support site of the device manufacturer to obtain the latest drivers for Windows 7, if they are available.

    Kind regards

  • Is it possible with the serial number of an Xserve to read the configuration and the year of production?

    Is it possible with the serial number of an Xserve to read the configuration and the year of production?

    This will show you the model and year: https://checkcoverage.apple.com/

    If a specific configuration (like the 1 TB disk instead of 500 GB for ex) will not be determined. You can only learn by starting the Xserve (or open and look into it.)

  • 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?

  • Iconia W4-820 will not charge with the power adapter USB Std

    Bought my W4 Iconia four weeks ago, a demonstration model, the last of them. It was packed in the box with a micro USB x adapter USB OTG cable and a power adapter. Back at home I discovered that the power adapter has been to Asus, possibly mixed in the shop. The prospective buyer of the Asus Tablet demo likely will get the Acer adapter. Adapter Asus with micro USB male connector works fine; specs are 5.2V - 1.35 amps; seems to be a STD USB adapter. The Asus adapter has a connector to USB female port to connect to a USB x microphone cable to USB adapter (with cable power adapter came in the box). Bought a 2nd power with USB 2 socket adapter to connect my W4 Iconia and my Garmin Zumo390 browser to an adapter. Specs are 5V - 3.5 amps.
    The Zumo works very well with the new card, but does not work my W4. Charge light stays off. USB ports switched to he Zumo and the Iconia W4, but same result. Zumo fresh, but W4 not. Borrowed another power adapter USB, 5V - 2 mines anti-personnel and new Zumo accusations, but the W4 still does not work. Also tried different USB adapter cables, but the same thing; Zumo invoice, W4 does not work.
    How is that possible? I can't tell the difference of 0.2 V between the Asus adapter and a USB adaptor STD would make the difference. But maybe I'm wrong. Wanted for adapters for the W4 Iconia and found several, but all the 5V as expected.
    Can anyone help.
    Will go to the shop again next week, but if I need an adapter V 5.2 I should order with Acer. 5.2 V adapters do exist not (readibly).

    Resolved issues. A dark and humid Sunday afternoon back to the store with the Tablet and all the bells and whistles. Changed the card Asus for the original Acer 5V - 2Amps (10W). Took the time to find the Acer adapter in the store. Demonstrated the adapter 2nd with 2 output USB ports and it wouldn't work with the Tablet W4. Tried another and found to be ok. 2 USB ports have a different power, a port for a smartphone and the other port is one tablet. Total power rating of the adapter is 17.5W (5V - 3.5Amps); some 2.5 and 1Amps. A happy man is back home again.

Maybe you are looking for

  • All my photos have been deleted icloud!

    I have a photo library of approximately 87 000 photos stored in iCloud. Yesterday I deleted about 10 of the most recent photos, has crashed two times more Photos... I now seem to have no. PHOTOS IN MY ICLOUD! I looked in system preferences > iCloud w

  • Impossible to upgrade to El Capitan 10.11.2

    Have tried several times to upgrade to 10.11.2.  Whenever it comes to the recovery, I get a box that says that the available updates have changed, please click "View details", but after clicking, the details never present themselves.  I went through

  • DV7-6199us is not put into hibernation when battery low - just died

    Some time in the last month or two, my laptop properly leave off when the battery is low.  It's supposed to the hibernation when the battery reaches 10%: It used to work properly, but now he dies suddenly (off, lose all my work) when the battery is a

  • software malware windows 7

    I scanned my laptop with Mcafee (a full scan) antivirus software. the result is 0 problems found. However, I have pop ups of pub of active transactions while browsing the internet using google chrome.  Pchelpandsupport asks I am calling to delete the

  • How to determine the size of the file and the pixel of an image?

    How to determine the size of the file and the pixel of an image?