LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW UART Rx/Tx avec daqmx

Bonjour, 

 

Je développe actuellement un banc de test avec LabVIEW. Je vais utiliser des modules NI style USB-600 et des câbles TTL-232R-3V3 pour communiquer en Rx/Tx avec mon outil. 

 

Tout ceci fonctionne mais je voudrais savoir si il est possible d'utiliser DAQmx pour communiquer en Rx/Tx ou si il existe un module NI qui soit composé d'entrées analogiques, de sorties numériques et de Rx/Tx ? 

 

Cela me permettrait de gagner un port USB sur mon PC. 

 

Merci d'avance. Bien cordialement.

0 Kudos
Message 1 of 5
(586 Views)

How much engineering hours do you have available? Implementing your own RS-232 interface with digital or analog signals is not impossible but a lot of work for a very mediocre result.

 

- The resulting interface is electrically NOT RS-232 compliant without extra hardware.

- The achievable baud rates will be extremely low.

- The communication will be even at very low speeds difficult to make really reliable.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 5
(518 Views)

My bench test works 24/24 during weeks and i need a really reliable to have a good result. 

 

Thanks for your answer. 

0 Kudos
Message 3 of 5
(502 Views)

Since you need a reliable solution, you can use USB-232 and you need to use NI-VISA drivers to communicate.

 

BTW, DAQs do not come with any sort of communication protocol. Typically, DAQs contain Analog Input/Output, Digital Input/Output, Counters and signal conditioning.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 5
(496 Views)

@Labo81 wrote:

My bench test works 24/24 during weeks and i need a really reliable to have a good result.


To maximize reliability, I highly recommend a commercial grade externally powered USB hub for all of your USB connections.  I have had issues, particularly with laptops, where the built-in hubs do not supply enough power for the DAQ and/or RS-232 devices.  I am personally a fan of StarTech for these and USB-RS-232 adapters.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(468 Views)