Visit our LabVIEW Wiki Hardware Portal
![]() |
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)
Tags
This content has not been tagged yet
|
|
|
|
| Ad |
Jun 28 2008, 07:31 PM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
Jun 29 2008, 06:32 PM
Post
#2
|
|
![]() Very Active Member Posts: 51 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.
Tags
|
|
|
|
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. Tags
This content has not been tagged yet
|
|
|
|
Jul 14 2008, 06:01 PM
Post
#4
|
|
|
Extremely Active Premium Member ![]() Posts: 978 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 Tags
This content has not been tagged yet
|
|
|
|
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
3 | kev_hib | 2721 | 5th November 2004 - 07:04 PM Last post by: bocanada |
|||
![]() |
1 | kev_hib | 1762 | 13th May 2004 - 05:03 PM Last post by: Deep_Blue |
|||
![]() |
0 | Hakan | 1181 | 16th June 2004 - 07:37 PM Last post by: Hakan |
|||
![]() |
1 | AxE | 2513 | 29th July 2004 - 10:57 AM Last post by: srik81 |
|||
![]() ![]() |
| Time is now: 10th October 2008 - 11:19 PM |