LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Communication between microcontroller and LABVIEW

Hi all.

 

I written a code using the UART device driver of the ADUCM3029 microcontroller for baudrate detection. I have tried it working with a serial emulator(Realterm) which is when I hit the "Enter" key it detects the baudrate and printed it on the serial emulator. After that when I type any character, it will be echoed on the serial emulator, shown on the attached image.realterm serial emulator.png

 

So I want this to be replicated with LABVIEW and I am able to make some block diagram shown below, but to no avail it is not working. Need any help on what I need to do to make it working. Thanks.

 

kimedia_0-1651155708773.png

 

0 Kudos
Message 1 of 12
(1,672 Views)

Your LABVIEW code is setting the baud rate once.

 

0 Kudos
Message 2 of 12
(1,651 Views)

Are you really trying to emulate a terminal?  See if this link helps.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 12
(1,635 Views)

Am I just being dumb, or is the image from that link not a real snippet? I love the idea, but it never seems to work unless you say the magic phrase, and wave your wand just right.

0 Kudos
Message 4 of 12
(1,630 Views)

Sorry, I'm just getting started with Labview. Learning with tutorials on youtube and some documentations on the internet I could find.

0 Kudos
Message 5 of 12
(1,605 Views)

I was responding to bilko. The link he gave has, what appears to be a snippet. Snippets are a LabVIEW (half) feature that allows code to be embedded in PNGs. As I said though, the feature is rarely used, and seems to need some special "magical" handling to work correctly.

0 Kudos
Message 6 of 12
(1,600 Views)

@StevenD wrote:

I was responding to bilko. The link he gave has, what appears to be a snippet. Snippets are a LabVIEW (half) feature that allows code to be embedded in PNGs. As I said though, the feature is rarely used, and seems to need some special "magical" handling to work correctly.


I forgot what that is called. And I think it only worked with Internet Explorer. 

I always prefer a VI.

0 Kudos
Message 7 of 12
(1,587 Views)

@billko wrote:

Are you really trying to emulate a terminal?  See if this link helps.


Not really, but I want with what I'm working right now is that it will work the same as a terminal. Btw, I try the link you provided and made some tweak but it's not working for me.

0 Kudos
Message 8 of 12
(1,577 Views)

@StevenD  ha escrito:

I was responding to bilko. The link he gave has, what appears to be a snippet. Snippets are a LabVIEW (half) feature that allows code to be embedded in PNGs. As I said though, the feature is rarely used, and seems to need some special "magical" handling to work correctly.


It still works (sometimes) but there is a whole chain of tools and technologies involved nowadays, that all might decide to “sanitize” the image. First your browser which you use to upload the image, then the forum software, the backend CRM database for the forum and any gateway in between and then the browser to view and download the image.

In the past it could also vary between browsers if you had to either drag the image out of the browser or rather explicitly download it through that browser.

The idea was a really good one back at that time but “technological progress” threw a lot of extra wrenches in the wheels of this. The embedding of extra image tags also can be used for less harmless purposes than what LabVIEW snippets ever possibly could do, so many browsers try to rather be safe than sorry.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 9 of 12
(1,559 Views)

So my question is still valid, is that actually a snippet in the link? Or just an imposter?


It still works (sometimes) but there is a whole chain of tools and technologies involved nowadays, that all might decide to “sanitize” the image. First your browser which you use to upload the image, then the forum software, the backend CRM database for the forum and any gateway in between and then the browser to view and download the image.

In the past it could also vary between browsers if you had to either drag the image out of the browser or rather explicitly download it through that browser.

aka magic!

0 Kudos
Message 10 of 12
(1,542 Views)