02-06-2017 11:12 AM
I'd like to save user-updated COM port settings to an .ini file on exit, but it doesn't appear that the NI_LVConfig.lvlib:Write Key.vi will accept the COM port (VISA session of class instr) as a direct value input. Is there a way to convert that class instr into something I can write into the .ini file? [LVPro2015]
Thanks!
Solved! Go to Solution.
02-06-2017 11:20 AM
@GiantUncleJohn wrote:
I'd like to save user-updated COM port settings to an .ini file on exit, but it doesn't appear that the NI_LVConfig.lvlib:Write Key.vi will accept the COM port (VISA session of class instr) as a direct value input. Is there a way to convert that class instr into something I can write into the .ini file? [LVPro2015]
The VISA Session can go right into the Value input and it will coerce to a string.
02-06-2017 11:57 AM
Thank you, crossrulz! My polymorphic selector was set to something other than automatic or string so I was getting a type mismatch. All good.