Jump to content

Cloedu72

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by Cloedu72

  1. TestStand and LVLIP are always a bit special. I found out that all visible controls on the called VI from LVLIBP must be in public scope.
    Did you compile the code as debug? If so, this rule partially applies to subVI's as well.
    Sometimes it is "Disabled structures" with broken code that cause problems.

    => See my checklist:

    https://forums.ni.com/t5/DQMH-Consortium-Toolkits/my-DQMH-PPL-and-VILIB-PPL-best-practices/td-p/4155993

    Claude

  2. Hello forum

    I have noticed a special behavior when reading array of clusters. Normally missing entries are filled with the default value or the existing value of the variant. But when reading array of clusters the default (of datatype) value is always used.

    I have implemented a customization for myself that does exactly this behavior.

    The use case for this behavior is e.g. that you can have the default settings and then overload them with specialized values.

    image.png.38c49dbc5fdfb631dee99fac428d7c75.png

    expample:


    Default.ini
    [DAQ 1]
    AIChannels.<size(s)> = "2"
    AIChannels 0.Name = "Pressure"
    AIChannels 0.Channel = "D1_AI_Mod3/ai0"
    AIChannels 0.Unit = "hPA"
    AIChannels 0.Gain = "2.000000"
    AIChannels 0.Offset = "5.000000"
    AIChannels 1.Name = "Temp"
    AIChannels 1.Channel = "D1_AI_Mod3/ai0"
    AIChannels 1.Unit = "°C"
    AIChannels 1.Gain = "2.000000"
    AIChannels 1.Offset = "7.000000"
     

    Special.ini
    [DAQ 1]
    AIChannels.<size(s)> = "2"
    AIChannels 0.Gain = "4.000000"
    AIChannels 0.Offset = "7.000000"
    AIChannels 1.Gain = "20.000000"
    AIChannels 1.Offset = "17.000000"

    Can this customization be included in the OpenG Lib?

    Greetings
    Claude

     

    Read Key (Variant)__Zuehlke.vi

  3. I got the same error as you (error unable to open resource files).
    I did the installation as an upgrade over the existing installation. After that the licensing and LabVIEW didn't work anymore! I then switched to a previous snapshot in my VM and could continue working.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.