04-28-2022 09:23 AM
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.
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.
04-28-2022 10:56 AM
Your LABVIEW code is setting the baud rate once.
04-28-2022 12:06 PM
Are you really trying to emulate a terminal? See if this link helps.
04-28-2022 12:25 PM
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.
04-28-2022 06:14 PM
Sorry, I'm just getting started with Labview. Learning with tutorials on youtube and some documentations on the internet I could find.
04-28-2022 06:27 PM
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.
04-28-2022 08:11 PM
@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.
04-28-2022 09:07 PM
04-29-2022 03:44 AM - edited 04-29-2022 03:49 AM
@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.
04-29-2022 09:52 AM
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!