var source = func() {
call(source, [], nil, nil, var errors=[]);
if (size(errors)) {
print("problem in the code"); # could show a message box instead
} # errors
} # source
Nasal runtime error: Missing arg: propNode
at /home/chris/.fgfs/fgaddon/Oscilloscope/oscilloscope.nas, line 18
called from: /input/keyboard/key[111]/binding, line 1
m.plot1 = plotGraph.setPlotProperty( timeDivs:16, valueDivs:10, color:yellow, timePerDiv:1, resolution:10);
clm76 wrote in Mon Feb 05, 2018 6:58 pm:The « o » key shows the oscilloscope skin but a nasal error occurs :
setPlotProperty: func(timeDivs, valueDivs, timePerDiv, source='', color="#0", resolution=5){
var plot = plotProperty.new(me.group,me.view,source,timeDivs,valueDivs,timePerDiv,color,resolution);
},
Are you sure you have the latest version ( revision 3211, uploaded Jan 30) ?
That's the problem: please update form 3211 https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Addons/Oscilloscope/clm76 wrote in Wed Feb 07, 2018 10:23 am:Yes, it's the latest version downloaded from svn (3201 not 3211).
You are right, wkitty42. Will do that.wkitty42 wrote in Wed Feb 07, 2018 3:06 pm:... perhaps it would be better to update the metadata version and use that to go by? any time an update is put up on svn, update the metadata version number first and then upload it...
See its wiki pagewkitty42 wrote in Wed Feb 07, 2018 3:06 pm:i just don't know how to use it right now
rleibner wrote in Wed Feb 07, 2018 8:44 pm:I do not understand, how the same link opens 2 different pages to you and me ?
********** 2018-02-07 06:58:04 -0500 **********
********** Total elapsed update and compile time is 0 days 0 hours 17 minutes 41 seconds **********
PLib: a542b8a03f8de1fe844af6ab4734b64d11e272e9
OSG 3.4: 18721039c5f22925ff4239b6f5e152296312c836
Simgear: ed5372f43918cb03198e98823b0c57420c5b5d61
FGFS: cb6b267430ea9071e99ee8883a7549cab3442771
FGData: a2b17b4085f3d8aa60c3583777c4d81de7482c3b
FGAddon: r3211 | jam007 | 2018-02-04 14:04:03 -0500 (Sun, 04 Feb 2018)
We must find where the mysterious error is generated.rleibner wrote in Tue Feb 06, 2018 3:48 pm:oscilloscope.nas (line 18), calls to graph.nas (line 36);
setPlotProperty: func(timeDivs, valueDivs, timePerDiv, source='', color="#0", resolution=5){
var plot = plotProperty.new(me.group,me.view,source,timeDivs,valueDivs,timePerDiv,color,resolution);
},
and there is no propNode argument here !
Users browsing this forum: No registered users and 4 guests