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
Similar Messages
-
Bonjour à tous,
j'ai pour projet de remplacer une partie d'un banc de test tournant sous une autre application par labview.
je travaillerai sous labview 8.2. sur un PC portable équipé d'une interface GPIB, port série RS232, USB.
les 2 systemes de positionnement sont équipés deux moteurs asynchrones raccordés chacun sur un variateur de vitesse le tout raccordé sur un ordi via une carte interface relais (connecteur SUB-37).
deux codeurs absolus permet de retrouner la position du mât et du plateau, chaq codeur est raccordé sur l'ordi via une carte interface par liaison RS422.
Dans un premier temps il me faut gérer un plateau tournant et le déplacement sur un mat d'antenne.
- j'utilise un adaptateur (convertisseur) usb/rs422-2ports pour les deux codeurs: Comment je le configure dans MAX ou Labview pour pouvoir renvoyer les positions dans mon programme labview? ensuite le pourt rs422 fourni l'alim 24Volts à la carte dans le pc. influence pour l'adaptateur usb?
- Peut-on commander les moteurs (en marche avant,arrière et selection de vitesse) via le variateur de vitesse par labview?
Voici rapidement ce qu'il faut pour à mon avis pour gérer le systeme de positionnement des antennes.
Merci de m'aider
cordialementBonjour Lamba,
Le driver permettant de lire vos trames RS 422, est le driver NI Serial.
Ensuite pour commander vos moteurs, il vous faut une carte dediée, permettant d'assurer la rotation de votre moteur dans les deux sens....
Une possibilité est d'utiliser l'Offre groupée NI Motion Control.
Si vous souhaitez obtenir plus d'informations concernant les modules nécessaires à votre application, je vous encourage à contacter National Instruments au 01.54.66.24.24.
Je vous souhaite une bonne journée,
Rémi D.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ... -
Charging process is different in PC USB or adapter USB?
My ipod is charged for 97%.
If I connect it to my net adapter USB charger, it jumps to 100% instantly.
When I disconnect it, I get 97% again.
If I connect it to my PC USB port, it jumps to 95% instantly.
When I disconnect it, it jumps back to 97%.
I repeated this test 4 times, and it always shows 100% on net adapter, and 95% on my PC USB port..
Does my iPod know the difference between both?
(iPod Touch 4G)You should always eject the iPod before diconnecting. However, if the iPod is not doing something with the cmputer (nothing is showing in the progress bar) then you can safely disconnect the iPod. If the event of the iTunes freezing, you can exit iTunes and then disconnect. However, sometimes the iPod will not work and you will have to place the iP{od in recovery mode and restore the iPod via iTunes.
-
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
-
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
-
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 KBHola 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 -
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. -
Hi,
I'm looking for an AC wifi (dual-band) adapter USB with support for OSX (Mountain Lion).
I've seen a few vendors releasing this but never with an OSX driver?..
Thanks,
KrisHi AJ77, what’s the security type you set on your router? In case it is set to Mixed mode, I suggest that you change it to WPA2 personal and see if that will help get the two devices connected. As far as I know, Linksys Smart Wi-Fi routers has an automatic firmware update feature. You may want to check if the firmware is updated. Do you have a different name for the 5GHz network?
Make sure that the 2 frequencies have different SSIDs to avoid any confusion on some wireless devices.
Help, learn and share -
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 FerrariThe 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! -
AH!! adapter USB plugs in and weird buzz
So.. I'm sitting there listening to my music and I see the battery is almost out and so i get my power adapter usb and plug it into my zen micro. Then I hear this loud buzz going on for like ever. Then I plug it out and then the buttons stopped working and everything freezes and I can't turn it off. SO, I take the battery out and but it back in and everythings normal again..
QUESTION: are there times were I shouldn't plug it into my zen micro? When are the times?You should be able to plug the adapter in whenever, sounds like some anomaly happened. The only problem I've seen is removing the battery when the player is turned on, which causes an upset.
-
Does anyone know what ipad power adapter USB interface inside the barcode?
ipad power adapter USB interface inside the barcode is it?Bar code in each of the ipad the power adapter are the same?
Apple World Travel Adapter Kit
The World Travel Adapter Kit includes the Apple USB Power Adapter, USB Cable and six interchangeable AC adapter plugs for use with iPod, iPhone, and iPad. The adapter plugs can also be used with Apple MagSafe Power Adapters, Portable Power Adapters, and AirPort Express, so you can plug your power adapter into most electrical outlets around the world.
Copied from the Apple Store: http://store.apple.com/uk/product/MB974ZM/B?fnode=MTY1NDEwMQ&mco=MTA4NDE3MDQ -
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.
-
30'' Cinema Display with mini-display-port to dual link DVI adapter usb hub
Hi all, I don't know if any one of you experience this issue and can help me.
I am using an unibody macbook pro (late2008 model) to connect to a 30'' cinema display via the famous $100 mini diaplay port to dual link DVI adapter. I have connected the usb cable from the ACD to the adapter and the usb cable of the adapter to my macbook pro. This setting works fine under OSX 10.5.7.
When I am using Windows Vista under bootcamp the USB hub on the back of the ACD doesn't work. The device manager of Vista shows an excalmatory mark besides the device "Generic usb hub"; and it reports a problem of "the device cannot be started".
I doubted this problem is due to Windows cannot recognise the $100 adapter as a "generic usb hub"; and apple has not release a driver for this $100 adapter for windows.
Since my MBP only has 2 usb ports and the $100 adapter already occupied one, it would be very much helpful if the usb hub of the ACD can work just like in OSX. Can anyone think of any suggestion?
Much appreciated for reading this post and thank you.i don't have an answer for you, but i feel your pain. very frustrating when this happens with Apple products and Vista/Bootcamp. wish they were more compatible, for it would make things so much easier for the consumer.
Maybe you are looking for
-
Two instances can not simlutaneouly work together on Windows Server 2003 R2
Hi Gurus, I installed Netweaver on a server which is already having ECC 6.0 which we are using on insctance 10 but i can work only one at a time if one is Up and running the other one should be down this is what am facing. I have the developer trace
-
When viewing a video computer shuts down,says no sync ,why
when i view a video such as on yahoo.com,it will play about 2 minutes and computer shuts down, and on my screen it says no sync
-
Help window disappears in iPhoto 6
When I select "iPhoto Help" from the Help menu, the window appears for a couple of seconds and then just disappears before I have a chance to type anything in. I just upgraded my system to Leopard and this started happening. Didn't have this problem
-
Displaying alv as output on the same selection screen
Hi Gurus, Happy new Year!! .I have got a requirement in which I have to pass three fields i.e. Matnr (as range) , Storage location (as Range) and Plant (as Parameter). The result is to display these three fields and the storage Bin displ
-
Create SSRS report using Schedule Perfomance Index(SPI) from mpp file
Hi, We have project server data available in sql server. We need to create SSRS report to show schedule performance Index(SPI) of each week of all the projects. So we have the TaskSPI data available in MSP_EPMTask_Userview table. But the correspondin