NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
jeffyy
Posts: 56
0 Kudos
Accepted Solution

2-D array of strings in "get/set item property"

I am porting some code from veristand 2009 to 2010 and I noticed that the get/set item property vi doesn't work the same. Specifically, I can't write or read 2-d strings sent as variants. When I put the 2-d array in a cluster it works fine. Anyone have some information on this?

 

JY

Active Participant
DiscoBall
Posts: 288
0 Kudos

Re: 2-D array of strings in "get/set item property"

Howdy JY,

 

Looks like you are working with a custom device. I am understand what you mean when you can't read or write 2D strings sent as variants. Is it that the Set or Get does not read back the correct value, do you get an error? Do you have a snippet that shows the issue you are seeing?

Member
jeffyy
Posts: 56
0 Kudos

Re: 2-D array of strings in "get/set item property"

Here is an example of what I tried to do and what I had to do as a work around.

 

JY

Active Participant
DiscoBall
Posts: 288
0 Kudos

Re: 2-D array of strings in "get/set item property"

Hi JY,

 

Thanks, I'll give this a shot on my system and let you know what I find out.

Active Participant
DiscoBall
Posts: 288
0 Kudos

Re: 2-D array of strings in "get/set item property"

Hi JY,

 

Just wanted to let you know that I have been out of the office the last couple of days, but I haven't forgotten about you! I'll let you know what I find out. Sorry for the delay.

Active Participant
DiscoBall
Posts: 288
0 Kudos

Re: 2-D array of strings in "get/set item property"

Hi JY,

 

I see what you are seeing, I'll need to discuss the issue with NI R&D. I'll let you know what I find out. Sorry for the delay.

Active Participant
DiscoBall
Posts: 288
0 Kudos

Re: 2-D array of strings in "get/set item property"

Hi JY,

 

This issue has been reported to NI R&D as Corrective Action Request (CAR) 287960 for further investigation. Thanks for the feedback!

Member
jeffyy
Posts: 56
0 Kudos

Re: 2-D array of strings in "get/set item property"

has this been addressed yet?

 

 

JY

Active Participant
Jarrod_S.
Posts: 1,347
0 Kudos

Re: 2-D array of strings in "get/set item property"

Yes. This issue was fixed in NI VeriStand 2011.

Jarrod S.
National Instruments
Member
jeffyy
Posts: 56
0 Kudos

Re: 2-D array of strings in "get/set item property"

i see. so i didn't have to change my code?

 

 

jy

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page