DAQCard6024e & USB-RS232 Conflicts?

Has anyone had problems using both a DAQCard-6024E in a notebook computer
that also uses a generic USB to RS232 converter? We've had several
instances in different computers and different USB-RS232 converters where
not long after installing and using the USB-RS232 converter the computer
locks up and will not reboot, even after removing power and the battery!
It does not seem likely that these two devices would conflict but we cannot
find anything else common that would cause the problems we are seeing. If
there is a conflict and buying an NI USB-RS232 converter would solve the
problem then I'd be willing to spend the $150 for the NI converter but I'd
like to know that this will fix the problem first.

Duplicate question. See post at http://forums.ni.com/ni/board/message?board.id=250&message.id=11456#M11456

Similar Messages

  • CRIO 9067 to recongnize SiLabs USB RS232

    Hello,
    I have a cRIO 9067 and would like to interface to an instrument that has a SiLabs USB-RS232 converter.  I can comminicate with this instrument easily on a Windows PC.  I am able to see the device in MAX when its connection the cRIO.  IT shows up under "Devices and Interfaces" as "USB0::0x1FB9::0x0100::121A00A::RAW"  with the Model number and the device description.
    I've followed the description at this link, but I don't get a ttyUSB# devices.
    https://decibel.ni.com/content/docs/DOC-34827
    Is there any chance to get this working on the cRIO as a serial port?
    Thanks.
    Solved!
    Go to Solution.

    After some digging, talking with NI Folks, google, and Talking with Folks at lakeshore.com (device vendor) here's what I've piece together on how to get this to work:
    In Linux, usb devices are enumerated automatically, and, by default, will show up as a USB RAW device
    Once the USB device has been enumerated, it can then, subsequently be linked to a driver
    Linux determines if and when to link each USB device based on the Device's on Vendor ID (VID) and Model ID (MID). These are typically 3-4 digit hex strings.
    For the case of the Lakeshore 121 current source, VID=1FB9 MID=100.       I could see these in MAX for the USB Raw Device.
    There are two levels of drivers for USB-Serial Devices. The first driver: usbserial.ko is a generic driver that handles all USB-Serial devices. This must be loaded for all USB-Serial converters.
    The second driver is specific to the chipset of the USB-Serial device.       For the cRIO, there are three options that are pre-installed (FTD, SiLabs, and some other)
    The drivers reside at       /lib/modules/3.2.35-rt52-2.0.0f0/kernel/drivers/usb/serial/ (where the kernel version directory may vary)
    The Lakeshore 121 use the SI labs CP210x chipset, so we chose this one.
    The device drives first need to be loaded by Linux. Linux can automatically do this by adding zero length files to the module.autoload.d directory. To do this execute the following:
    cd /etc/modules.autoload.d
    touch usbserial
    touch cp210x
    reboot cRIO
    execute dmseg | grep usbserial to confirm that the usbserial driver is loaded
    execute dmesg | grep cp201x to confirm that the cp210x driver is loaded
    The next step is to associate our USB device with the cp210x device driver. Remember that linux associates the device with a driver based on VID and MID. Whomever installed the cRIO linux base, I'm sure, knew nothing about the Lakeshore 121 VID and MID.
    Lakeshore recommended getting the source code for cp210x, adding the VID and MID to the list of recognized devices, recompiling the cp210x.ko file and installing to the cRIO. This would work, but is beyond my current Linux capability.
    Linux gives the ability to dynamically add MID, VID so that a device can be recongized on the fly
    When the CP210x driver is loaded, an whole directory struchture is created. Ther is a file in that directory structure called new_id where we can dynamically added VID,MID's.
    Create a startup script to execute the following command. Be mindful of cr/lf line termination issues between operating systems. It's usually easier just to create the script on the cRIO with the VI editor to avoid any issues.
    echo 1FB9 100 >/sys/bus/usb-serial/drivers/cp210x/new_id
    Startup script info: https://decibel.ni.com/content/docs/DOC-38960
    Now on reboot (or execution of the script), you will get a /dev/ttyUSB[0-9] device
    Unfortunately, the default creation of the ttyUSB[0-9] device does not allow write permission, so we need to create a UDEV rule to automatically give write permission
    Add the following lines of code to udef.conf in the folder /etc/udev
    #typical devices
    ttyUSB[0-9]* root:tty 666
    Create a file named 99-ttyUSB.rules in the folder /etc/udev/rules.d
    Add this line of code to that file:
    KERNEL=="ttyUSB[0-9]*", OWNER="admin", MODE="0666"
    Reboot the cRIO. This should be it! It worked for me.

  • How to install USB-RS232 connector

    I want communicate zebra printer with USB-RS232 cable, somebody say, if i install the USB-RS232 connectly, it will appear virtual serial port in MAX, is it right? do i need to download NI-Serial driver?

    :-) congradulations

  • Conversión usb-rs232

    He adquirido recientemente un conversor usb-rs232 para mi ordenador portatil (Prolific usb-to-comm). He instalado el programa Niser310 que he descargado de la página de National Instruments. De esta forma, he conseguido mandar datos por mi nuevo puerto serie. Estoy controlandormediante este puerto el Generador de funciones HP-33120A
    El problema que tengo es que al enviar grandes cantidades de datos se produce el desbordamiento del buffer de recepción del generador, aunque tenga activo el protocolo de comunicacón hardware DTR/DSR (que es el que admite el intrumento). Este fallo es curioso porque cuando ejecuto el mismo código en mi ordenador de sobremesa este error no se produce, pudiendo enviar gran cantidad de datos sin problema.
    Caracteristicas de la comunicación serie; velocidad 9600 baudios, 1 bit de inicio, 2 bits de parada, 8 bits de datos (no paridad), COM1, tamaño del buffer 1Kbyte.
    Sistema Operativo Windows XP, LabVIEW 7.0.
    Alguien me puede ayudar... Muxas Gracias.-
    Mensaje editado por fran_m
    Adjuntos:
    Simulación de perturbaciones en la red.vi ‏412 KB
    Subinstrumentos.zip ‏81 KB

    Hola Fran el problema es posible que sea por los limites de tu adaptador serial, o la version de drivers que estas utilizando. Prueba Descargar una version mas actualizada de los drivers de tu adaptador, esto puede corregir el problema.
    Saludos
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Adaptateur usb rs232

    Bonjour,
    J'utilise des adaptateurs usb->rs232 double ou quadruple (prolific)
    mais il m'arrive d'avoir des coupures dans la communication qui ne se produisent pas avec le port integré de la carte mere
    Est ce que cela peut etre du au ports usb de mon pc ou plutôt aux adaptateurs , j'ai essayé sur un autre pc avec des adaptateurs
    de la même marque et même probleme
    Avez vous deja constaté de genre de soucis, auriez vous des adaptateurs à recommander hormis les adaptateurs NI ?
    Cdt
    Tinnitus
    CLAD / Labview 2011, Win Xp
    Mission d'une semaine- à plusieurs mois laissez moi un MP...
    RP et Midi-pyrénées .Km+++ si possibilité de télétravail
    Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
    Don't forget to valid a good answer / pensez à valider une réponse correcte

    Salut tinnitus,
    perso j'ai pas eu ce genre de soucis, mais j'ai constaté des tempo différentes dans la com en communication avec un même équippement : Par exemple un adapatateur A, je devais attendre 10ms avant d'avoir la réponse de mon esclave, et avec un adaptateur B, je devais attendre 50ms avant d'avoir la réponse. 
    J'ai déjà utilisé un convertisseur prolific, et je n'ai jamais eu de coupures de com...
    Bon courage a toi,
    V-F

  • Accesso a porta seriale con labview, scientific linux e interfaccia usb-rs232

    Ho un pc con SLC5, con interfaccia USB-RS232 e sto cercando di parlare con fieldpoint. Visaconf vede correttamente 4 interfacce (/dev/ttyUSB0, 1, 2, 3), mappate su ASRL1::INSTR .. ASRL4::INSTR.
    Se provo ad usare "Advanced Serial Write and Read.vi", va sempre in timeout.
    Se provo ad aprire "Optomux Send General Command.vi", lo trovo "rotto" (il parametro "VISA resource name" è connesso al "Port number" di "FPOptoHandler.vi".
    Mi manca qualcosa ? Oppure cosa c'e' di sbagliato ?

    Salve,
    provi a verificare la compatibilità con i driver al seguente link:
    What Linux Distributions Do National Instruments Drivers and Software Support?
    http://digital.ni.com/public.nsf/allkb/4857A755082E9E228625778900709661?OpenDocument
    e se il seguente esempio le risulti non corrotto:
    Programmatically Identify VISA Resource of cFP-1808
    https://decibel.ni.com/content/docs/DOC-23375
    Buon lavoro e buona giornata.
    A.P.

  • USB RS232/4 Driver for Windows CE

    I'm using USB RS232/4 device well with my laptop. I wonder whether i can use the device directly connected with Windows CE system instead of Windows XP system.
    I have LabView PDA Module and a single board computer operated by Windows CE.NET 4.2.
    Is there any driver of the device for Windows CE system?

    Windows CE is very different from Windows XP and currently the NI-Serial drivers is not supported on Windows CE. If you feel that this would be a valuable feature please file a product suggestion by going to Contact NI and click on the feedback link.
    -Josh

  • Using fieldpoint with scientific linux and USB-RS232 interface

    I am using a desktop PC with SLC5 and an USB-RS232 interface. I need to program a fieldpoint FP1000 module within labView. Visaconf is correctly seeing the interfaces (4 ports: /dev/ttyUSB0 .. 3, mapped as ASRLx::INSTR, with x = 1..4), but when I try to use "Advanced Serial Write and Read.vi", I always get timeout. If I try "Optomux Send General Command.vi", it looks broken (the parameter "VISA resource name" is connected to the "port number" input of "FPOptoHandler.vi" and the type is not matched).
    What am I doing wrong ? Am I missing some piece ?
    Thanks a lot in advance,
    Roberto Ferrari

    The people over in the GarageBand forums are amazing at diagnosing and fixing these sorts of things. I recommend that you give it a try posting the question over there:
    http://discussions.apple.com/forum.jspa?forumID=1308
    Good luck!

  • Rental movie gone | USB/WLAN conflict?

    Hi there,
    I recently bought some rental movies via the iTunes store, downloading them to into my MacBook's iTunes.
    Then I transferred these movies to my iPad, using the USB-iPad-sync. This worked all fine.
    Some very few days later, I configured my iPad to be synced via WLAN, and did so. After WLAN syncing, the movies were gone without any trace.
    I bought them again (and was charged again), and transferred them to the iPad once again. All seemed to be fine.
    When I synced the iPad via cable again now, the movies were gone again.
    Obviously there seem to be some conflict trouble when syncing the iPad sometimes via WLAN, sometimes via USB, which causes rental movies to vanish into nothing. This would only be a minor problem, if you could just simply download them again (expecting the iTunes store of course automatically to know that you bought them just recently and hadn't yet started watching them). But instead, you are being carged once more for each try.
    Any idea how to handle this?

    I sent said router back to amazon for a refund and got a Medion router modem which works fine instead.

  • Mac Mini - USB/RS232 Cable - help to command display

    Could anyone help out with advice in a project where we would like to put a monitor in different modes from a Mac Mini.
    The interface for the commands to the display is a RS232 serial port. As Mac Mini has no RS232 port but there are USB to RS232 cables on the market our question is if one could use apple script or shell script to make the job?
    Would really appreciate any advice!

    this has absolutely nothing to do with scripting. you need a USB to serial adapter.

  • VISA error BFFF003E USB-RS232

    Hello, I try to communicate to a HP34401A DMM via RS232. I use a WhiteHeat USB-to-RS232 converter with 4 RS232 connectors. They are known as COM7 to COM10 (in NI-MAX ASRL4 to ASRL7). When I send a Basic I/O "*IDN?\n" I get the right answer but the error 0xBFFF003E occurs immediately. The LabView VISA write.VI also returns this error code. When I use a single USB-to-RS232 converter, everything works fine. Can anybody help me about this error code?

    Don't remember the exact error, but I've seen some USB-232 converters return errors when you try to configure certain serial settings. Try checking to see if the VISA Configure Serial is returning an error. Another, perhaps not ideal, solution is just to ignore the error. If the communication is really working properly, there may just be something out of specification which is confusing VISA, you could always just ignore the error (call clear error only if the error code is equal to that error).
    Regards,
    Ryan K.

  • [fixed with netinstall] X41 usb setup - conflicting files

    Hello Forum,
    I tried all available images but non works. I use unetbootin to create the usb boot device from windows. Start the X41, select the stick to boot from, I see grub then, select Arch Live CD for instance and it seems the kernel is beeing loaded but nothing happens.
    Normally this works like a charm, but not with the arch iso or img files. The problem is: I don't even have a cdrom which I could use. Has anyone an idea why it happens and how I can fix it?
    Regards
    -tealson
    edit: Can boot up now but it seems some files are conflicting each others (last entry)
    Last edited by tealson (2009-08-16 23:08:25)

    Hmpf: I can boot up now (with core iso image). I start /arch/setup and everything works but when I want to install my packages (base is selected) it gives me the error:
    checking package integrity....
    checking fir file conflicts...
    error: failed to commit transaction (conflicting files)
    grub: /mnt/boot/grub/menu.lst exists in filesystem
    Errors occurred, no packages were upgraded.
    Any ideas? I have the core image and only base packages selected, so why are files conflicting each other?
    -Teal
    Last edited by tealson (2009-08-16 16:51:13)

  • Rs232 communications with usb rs232

    This is my problem. I am trying to log communication over rs232.
    I use an standalone laptop with runtime and a built application, installed on this is an usb to 4 rs232.
    I use the serial port read.vi.
    The only thing i get out is when i set the string indicator to /code. and then i get alot of number, letters and symbols.
    its not hex becuse hex isnt using %+ and )
    anyone got a solution to this or a even a guess.. i am running out of things to try.
    /Mattias

    What are you trying to log from?   Is it possible that the device that you are listening to is speaking binary and you may need to convert the format?
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • Multiple 9221/9162 USB DAQ Conflict

    I'm using LabVIEW 8.6.1 and NI-DAQ  8.8 on Windows XP. I'm trying to set up two NI 9221/9162 usb controlled DAQs to work at the same on the same computer. Each unit works individually, but If I plug one in after another the first one that was plugged in stops responding and I get the below error on a self test in MAX.
    When I attempt to use the unresponsive DAQ with the softpanel in MAX I get the following error.
    However, if I plug both usb cables into the computer at the exact same time I don't get the device conflict error. Unfortunately this work around is not a desirable solution for the environment this test will be deployed in. Is there a better solution for this problem that will allow both devices to respond regardless of the timing in the plugging in the usb cables?
    Thanks you.
    Message Edited by mattmaka on 10-26-2009 03:40 PM

    The hardware is fine as the units work individually, but not simultaneously when plugged in at different times. I'll move it to the HW forum though.
    The problem persists on different machines.
    Message Edited by mattmaka on 10-26-2009 04:02 PM

  • 3.1.2 Update - USB Webcam Conflict

    After updating to 3.1.2 my Logitech Quickcam Vision Pro does not respond. I tried rebooting the PC, to no avail.
    Then I unplugged the iPhone, and reconnected the Webcam. BOOM! It works. Then I tried, in the middle of a webcam call - plugging in my iPhone. The camera died mid-call.
    When the iPhone was updating I saw something flash up about a new USB Driver. I'm really wondering if there is a conflict with whatever new driver Apple released, and the webcam driver!
    VERY FRUSTRATING! Apple! Help!

    There is no new USB driver for the iPhone, I suspect that message is regarding a new driver available for your webcam. Have you checked the Logitech website?

Maybe you are looking for

  • Download destination folder not working

    when I have download files I have set forefox to put them on the desktop. Even though I haven't changed that setting it puts them in the temp folder. I have tried to reset it a few times but nothing has changed. If I download podcasts it still goes t

  • How to set customer number

    Hello all, I upgraded a solman from 3.2 to 4.0 SP15 and now I'm facing a problem when I try to confirm files in download basket. I get this error message : No customer numbers in transaction AISUSER In transaction AISUSER, i'm not able to select a cu

  • Premiere CS5 freezes when exporting media

    Locks my whole computer have to force restart

  • How to Define Oracle Server Availability?

    Our environment is Oracle E-Business Suite 11.5.4 with Oracle 9.0.1.4 RAC. We would like to define a service level agreement for users. Can you share your opinion how much down time per year is reasonable? Thanks Eric

  • SRM Bidding Engine and Sourcing Cockpit

    Hi All, can the SRM Bidding Engine be linked to the sourcing cockpit when using the classic scenario? What I want to be able to do is to create an RFX from a shopping cart in the sourcing cockpit. We use the classic sceanrio currently on SRM 4. Cheer