Jump to content

MSpidey

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

MSpidey's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. QUOTE (BobHamburger @ Jun 29 2008, 01:32 PM) Hey Thanks, this was exactly what I was looking for. Unfortunately it helped me figure out that the MSP430 won't send 0x00 so it still doens't work but at least I know it isn't Labview. Thanks again.
  2. Hello fellow Labview users, I am building a GUI using Labview to display the status of a microprocessor circuit I am building. The data is being sent via a serial link from the microprocessor to the computer with my GUI. I am using VISA Read to bring the data in. I am able to get all the information I need across unless I try to send the byte 0x00. Any zeros bytes are ignored by the VISA Read completely. Shown in the two images attached are the VISA Configure Serial Port setup I am using as well as how I am bringing in the information with VISA Read. I will also include the vi but I imagine that it would be somewhat difficult to understand what I am trying to do as I haven't used Labview much so some of my setup is pretty weird. Basically the system continually reads in one byte from the serial port and checks to see if it is equal to 0xEB. When it finds 0xEB it then looks to see if the next one is 0x90. If it is as well, then the system knows that the next 8 bytes are valid information and the data is processed accordingly. I actually haven't finished the data processing part completely because I need it to be able to read 0x00 for some of the cases so any code after that point can be ignored. I can tell that the VISA Read is ignoring 0x00 because I have it set to read in the next 8 bytes after it syncs and so far whenever there is a 0x00 it picks up the last byte as being 0xEB or the beginning of the next string. Any help would be greatly appreciated as I have been working on this for a few days now and have no idea what to do to resolve it. M Spidey
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.