LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

easy way to get error error from U16 to Ring conversation?

There is a just "Values[]"- property, so you don't need to unbundle the Values from "StringsAndValues[]" in a loop.

Greets, Dave
0 Kudos
Message 11 of 19
(585 Views)

Hi Dave,

 


@daveTW wrote:

There is a just "Values[]"- property, so you don't need to unbundle the Values from "StringsAndValues[]" in a loop.


Where exactly do you see this property?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 19
(577 Views)

Hello Gerd,

 

look:

 

double-check.pngLabVIEW Version.png

 

P.S. This is not reason enough to switch to 2023. Stick to 2019 (I missed 2021, switched directly from 2019 to 2023 - found there some improvements and some bugs)

Greets, Dave
0 Kudos
Message 13 of 19
(567 Views)

Hi Dave,

 

ok, this came with recent LabVIEW versions.

I'm stuck at LV2021 or older, and use LV2019 most of the time…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 19
(561 Views)

@GerdW wrote:

Hi Dave,

 

ok, this came with recent LabVIEW versions.

I'm stuck at LV2021 or older, and use LV2019 most of the time…


Well, in LabVIEW2022 Q3 "Values[]" is still a private property.

0 Kudos
Message 15 of 19
(552 Views)

LabVIEW 2023 Q1 Prof and LabVIEW 2024 Q1 Prof on my computer don't have Values[] property.

How to get private properties?

 

0 Kudos
Message 16 of 19
(535 Views)

To GerdW

"As your ring is type-defined you surely know all the expected items in the ring at program start…"

 

Yes, it works as separate VI. I avoid to use such technique. I feel uncomfortable when VI is defined somewhere.

In anyhow, I would prefer if this would be solved internally.

 

0 Kudos
Message 17 of 19
(524 Views)

Hi Vasilich,

 


@Vasilich2004 wrote:

I feel uncomfortable when VI is defined somewhere.


Why do you feel uncomfortable when you define your ring (aka item list) in a typedefinition?

This is where the ring items are defined - IMHO no need to feel "uncomfortable"…

 

I would rather place the definition in some kind of configuration file (INI, XML, JSON, whatever) and read the item list from this file. The ring can be defined at runtime and you can compare user input against the definitions from your configuration data…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 19
(521 Views)

I feel uncomfortable to use such loop which has predefined somewhere entry

0 Kudos
Message 19 of 19
(517 Views)