Discussion:
IVI logical name as Variant
(too old to reply)
LuI
2008-08-14 15:40:06 UTC
Permalink
Hi, Another problem with LV 7.11: I have a 'VI caller' that opens a VI by name or Ref, sets its controls using 'Invoke Method - Set Control Value [Variant], runs the VI and gets all display results. Worked fine up to now.Today I ran into a problem when I was calling an IVI-based functional generator like NIs example 'IviFgen [ARB] - Generate Arb Wfm.vi'. This has a control named 'FG Device Handle' which is of the type IVI-Class.IviFGen.hp33120a and has the logical name 'FGen'. When I convert this value 'FGen' into Variant, it is represented as a numeric value, e.g. 0x05568858. If I use the string 'FGen', it is converted to '"FGen"'. Both values are NOT ACCEPTED by Set Control Value [Variant] when applied to the apropriate control of the 'IviFgen [ARB] - Generate Arb Wfm.vi'.What can I do?Greetings from Germany!
--
Uwe
LuI
2008-08-14 16:40:08 UTC
Permalink
an addition:WHY should I do this?Running that example VI as toplevel does well.Running it as subVI throws an 'unspecific error' and stops execution.I was trying to run it as independend toplevel VI. 
Loading...