Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Incorrect Value when Passing LabVIEW Binary String Control Defaults from TestStand

Primary Software: TestStand
Primary Software Version: 4.1.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Base Package

Problem:
When I specify to pass the default value for a LabVIEW string control in my TestStand module prototype, I do not get the correct string passed to my VI if I am passing the parameter as a binary string.  Why does this happen?

Solution:
There are two possibilities for the cause of this behavior.
  1. Your binary string contains embedded null characters.  Traditionally, strings are terminated with a null character, so having a null character in your binary string causes incorrect parsing of the parameter.
  2. You are passing your string as a binary string and are using a mult-byte language such as Chinese or Japanese.  Due to problems with conversion between multi-byte and unicode character representation, the default value is incorrectly passed.

Both of these problems are being investigated by National Instruments, and will be fixed in future versions of TestStand.



Related Links:

Attachments:





Report Date: 12/03/2008
Last Updated: 12/08/2008
Document ID: 4S28PRT3

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit