05-23-2008 11:09 AM
05-23-2008 11:47 AM
05-23-2008 11:49 AM
05-23-2008 12:04 PM - edited 05-23-2008 12:05 PM
01-03-2011 11:11 PM
Hi,
I was not able to identify how to create a new topic , so I'm going to start from here.
I'm pretty much new with labview, but I've been studying this week to get solution for my problems.
Here we go: I have a Texas USB microcontroller connected in my computer with Windows 7. I have the driver and I can see the 8 bytes when I interface with Realterm program.
The config is Baud 38400, Parity None, D8,STP1, Flow ctrl RTS/CTS. Attached you can see the screen and the data that I should read.
I have 8 bytes of a hex word coming. Attached is the Example that I modify to use reading with Labview.
The problem is that I receive garbage in the 2,3,4 and 5 byte.I Tried to change baud rate, flow control and nothing get solved, but i stil get the same garbage.
The 3 last bytes they may change because this will be the temperature, voltage and RF signal quality. But the first 5 bytes should be constant since is the address.
Could somebody try to help me, I now got stuck and this is just the beginning of the code.
Thanks,
Luiz
01-04-2011 09:25 AM
Luiz,
String indicators in LabVIEW have several display modes. The one shown in the Basic Serial example is called '\' Codes. The '\' Display shows printable characters as in the normal way (4Vx in your example) and other characters as \ followed by the hex code (\12 \9A \0E... ). The one you want is called 'Hex' Codes. The others are 'Normal' and 'Password.' If you pop-up on the indicator you will see the Display options about half way down the menu.
When I enter your values into a string indicator and change from '\' to 'Hex' I get: 1234 5678 9A0E 1A0E
Lynn
01-04-2011 09:34 AM - edited 01-04-2011 09:34 AM
@lnick wrote:
Hi,
I was not able to identify how to create a new topic , so I'm going to start from here.
I would have thought the words "New Message" were pretty clear...
01-04-2011 08:25 PM
Hi Ly,
First of all i would like to thank you so much... I'm just in the beginning and having somebody in the other end of line it's always important. I fill that this Labview is the best program to design what I need now. I'll try what you mention and I'll let you know.
Also thanks for the message... I think I was sleeping yesterday...and couldn't see it.
I'm sorry to answer at night,but this is the only time i can do it.. this is my part time business.
Talk to you soon...
Thanks,
Luiz
01-04-2011 09:04 PM
Hi Ly,
I'm very glad to tell you that starts working fine. Still a lot ot learn...I'll keep posting question if i didn't find the answers.
Thanks,
Luiz