Visit our LabVIEW Wiki Hardware Portal
Tags |
(This content has not been tagged yet)
|
![]() |
Jun 28 2008, 07:31 PM
Post
#1
|
|||
![]() I've come back for more. Member Posts: 2 Joined: 28-June 08 Member No.: 11873 Using LabVIEW Since:2008 LV:8.5.1 ,. ,.
|
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. M Spidey
Attached image(s)
Attached File(s)
|
||
|
|
|||
| Ad |
Jun 28 2008, 07:31 PM
Post
#
|
||
|
|
|
||
|
|
|||
Jun 29 2008, 06:32 PM
Post
#2
|
|||
![]() Very Active Member Posts: 57 Joined: 4-April 07 From: Andover, CT Member No.: 8297 Using LabVIEW Since:1999 LV:8.2.1 ,7.1.1 ,.
My Blog
|
Wire up a Property Node to your VISA refnum. Look for Properties>>Serial Settings>>Discard NUL Characters, and set it to False.
-------------------- LabVIEW. It's not just for breakfast anymore.
|
||
|
|
|||
Jul 1 2008, 03:20 PM
Post
#3
|
|||
![]() I've come back for more. Member Posts: 2 Joined: 28-June 08 Member No.: 11873 Using LabVIEW Since:2008 LV:8.5.1 ,. ,.
|
Wire up a Property Node to your VISA refnum. Look for Properties>>Serial Settings>>Discard NUL Characters, and set it to False. 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.
|
||
|
|
|||
Jul 14 2008, 06:01 PM
Post
#4
|
|||
|
<customize this text> Premium Member ![]() Posts: 1012 Joined: 9-April 04 From: Rotterdam Member No.: 349 Using LabVIEW Since:1992 LV:8.5.1 ,8.2.1 ,7.1.1
|
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. Are you sure it is the MSP430 itself. I would expect problems with C runtime libraries that use string formatting to format data to be sent over a serial line but the low level interface hopefully doesn't care about such details. Rolf Kalbermatter
|
||
|
|
|||
![]() ![]() |
| Time is now: 3rd December 2008 - 08:48 AM |