NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing Text

Hi All

I am using Labview 8.5 to read RS232 data from a unit under test as it boots up. The labview vi reads all the data I'm expecting as follows:

 

"****

CPB FPGA Functional Image Programmed Okay!
MCS BOOTLOADER Version 1.3.0 (RevB HW)


Bootloader Built: Jan 19 2010 18:18:33
CPB FPGA  Version : 1.1.0


Anti-Tamper OK
CC FPGA Manual Programming Commencing...
Booting firmware Image 1 from Flash...
Decrypting File
Booting Ordered ABS File...
SYSTEM STARTUP...

Firmware version 00.01.06 [Oct  7 2009 : 10:24:56]

Initialising:
   Memory          ... DONE
   Co-Processor    ... DONE
   BIT             ... DONE
   PSUs            ... DONE
   Anti-Tamper     ... DONE
   RF Interfaces   ...
[   0s][calibration.c:1148][
   Stored Settings ...
[   0s][log.c:1074]: Log position has been lost, finding next blank entry....OK
   Messaging       ... DONE
   P.O.S.T         ... .Error
MCS COMMAND LINE INTERFACE


"

 

However when I call this vi from TestStand 4.0 and try to put the text into a local variable only the first half of the text is appearing. Everything from 'Firmware version...' is deleted.

I'm not sure if this is a control character problem, a font mismatch between Labview and TestStand or whatever.

 

Please could someone advice a way forward with this.

 

Best Regards

Ian 

0 Kudos
Message 1 of 3
(3,156 Views)
Sorted.... Just used the labview 'string to byte' function, filtered out all numbers less than 32 (control stuff in ascii table) then used labview 'byte to string' function. Now I have one long string and no control characters. Easy - Peasy!
0 Kudos
Message 2 of 3
(3,138 Views)
Whenever you pass a string from LabVIEW into TestStand, you have the choice of interpreting it as a "binary string".  You'll find this option in the Module pane.  You will need to use this if you have important data (such as encoded information) that contains null characters (binary value 0x00; i.e. end of a string).
Message Edited by Josh W. on 02-01-2010 01:09 PM
Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 3 of 3
(3,106 Views)