LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read array from .ini file

Solved!
Go to solution

I actually had to go coding to test the exact behavior. Yes, changing the default value of the type def, doesn't propagate to the instances of the type-def (neither FP nor BD). Same for strict TD's. This is a reasonable behavior, as there is no flag that tells if you did manually set the default value, hence an automatic update could be a bad idea.

However the specific situation where you add a parameter and immediately set a default value (to the TypeDef in the Control Editor), the instances get this value propagated (Controls and BD constants).

 

Felix

0 Kudos
Message 11 of 13
(2,241 Views)

Brad,

     What am I doing wrong?  My code look similar to yours.  I'm using the JKI "Write INI Cluster__ogtk.vi" and  "Read INI Cluster__ogkt.vi" and I can't read back what I wrote.  First I "Set" and then "Get".  When the "Get" state pushes to the "Variant to Data" I get an error 91 (variant doesn't match type input).  Is my cluster too comples?  Noticing that the type variant going in doesn't match the variant data returning from the JKI routing.  It's missing section names.  Can I do any complexity cluster or must it be formatted in a specific manner?

 

I saved the hierarchy in this zip so you can see the very JKI libs I'm using.

 

Thanks in advance,

J. Francis

0 Kudos
Message 12 of 13
(2,023 Views)

@Jeff.F wrote:

Brad,

     What am I doing wrong?  My code look similar to yours.  I'm using the JKI "Write INI Cluster__ogtk.vi" and  "Read INI Cluster__ogkt.vi" and I can't read back what I wrote.  First I "Set" and then "Get".  When the "Get" state pushes to the "Variant to Data" I get an error 91 (variant doesn't match type input).  Is my cluster too comples?  Noticing that the type variant going in doesn't match the variant data returning from the JKI routing.  It's missing section names.  Can I do any complexity cluster or must it be formatted in a specific manner?

 

I saved the hierarchy in this zip so you can see the very JKI libs I'm using.

 

Thanks in advance,

J. Francis


FYI, hardly anyone looks at new posts on a thread that has been marked as "solved" and is about two years old.  It's best to start a brand-new topic.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 13 of 13
(2,011 Views)