Discussion:
unspecified error as subVI
(too old to reply)
LuI
2008-08-14 16:40:09 UTC
Permalink
I need an explanation:The example 'IviFgen [ARB] - Generate Arb Wfm.vi' runs fine on my XP/SP2 with LV 7.11 and controls an HP33220A.I copied its code into a specific VI that generates waveform data from files. It than generates an unspecific error when reaching the examples code.  I modifies the example bringing its controls onto the connector panel and called it as SubVI. Now the example generates a similar or identic error. When running the example again as toplevel VI it runs fine.I was unable to programmatically invoke it as toplevel-VI cause the IVI name is converted to a hex number when making it variant and invoke-set controla s variant does not accept this.Help is really appreciated now!Greetings from Germany!
--
Uwe
MikeS81
2008-08-15 08:40:18 UTC
Permalink
Hi Uwe,which error do you get, if you run it as a subvi?Mike 
LuI
2008-08-15 09:10:17 UTC
Permalink
Mike,&nbsp;I have modified that code and cannot exactly reproduce the 'unspecified error' when calling the example as subVI. I still have the example code copied into a case of my VI and this generates:LabVIEW: Unspecified errorv occuredVI &quot;ANSI-AAMI-EC13-Test_Fg aus Testdaten_03.vi&quot; was stopped at IUseDCO 0x10B30 of SubVI &quot;ANSI-AAMI-EC13-Test_Fg aus Testdaten_03.vi&quot; &lt;OK-Button&gt;A screenshot (Loading Image... ) was posted in the '<a href="http://forums.ni.com/ni/board?board.id=140" target="_blank" class="titlebar_text" onmouseover="self.status=">Instrument Control (GPIB, Serial, VISA, IVI)</a>' forum (http://forums.ni.com/ni/board/message?board.id=140&amp;message.id=31564#M31564) Greetings from Germany!
--
Uwe&nbsp;
MikeS81
2008-08-15 09:40:18 UTC
Permalink
Hi Uwe,and the only thing you do, is to connect all controls to the connector pane and use the example as a subvi? How do you stop the loop in the example?Mike&nbsp;


IVI_example.PNG:
Loading Image...
LuI
2008-08-15 09:40:20 UTC
Permalink
Mike,initially I wanted to invoke - set control value [variant], but it was sufficient zo open that FP and have the operator klick that &lt;Stop&gt;.This is just a tool as one cannot set waveforms of 40k elements manually ;-(Greetings from Germany!
--
Uwe
Loading...