Script error in FREEMaster when opening an old project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Script error in FREEMaster when opening an old project

1,007 Views
niclas_karlsson
Contributor I

When I tried to open a project from a colleague I get the script error in the picture. And then many more script errors if I click yes or no. How do I fix this?

0 Kudos
3 Replies

1,003 Views
MichalH
NXP Apps Support
NXP Apps Support

Hello, 

the author of the project has probably failed to give you all project source files (HTML files and related JavaScript files). In this particular case, the jquery.min.js file is missing which is a typical file used in interactive HTML applications).

You colleague should either give you all files accompanying his project OR he may choose to pack the files into the PMP or PMPX project file. See FreeMASTER 3.0 User Guide section 5.3 for more details about resource packing.

Regards,
Michal

0 Kudos

991 Views
niclas_karlsson
Contributor I

I can find the file in the directory. This is a file list output:

.:
driver/
ek_qn9080xcdk.xml
frdm_ke15z.xml
frdm_ke16z.xml
NXPTouchKE15.pmp
NXPTouchKE16.pmp
NXPTouchQN9080xcdk.pmp
src/

./driver:
src_common/

./driver/src_common:
freemaster_appcmd.c
freemaster_defcfg.h
freemaster_private.h
freemaster_protocol.c
freemaster_protocol.h
freemaster_rec.c
freemaster_rec.h
freemaster_scope.c
freemaster_serial.c
freemaster_sfio.c
freemaster_tsa.c
freemaster_tsa.h

./src:
cmdhandler.js
gui.js
html_templates.js
img/
js/
json/
mustache.js
nt_control.js
nt_control_arotary.js
nt_control_aslider.js
nt_control_keypad.js
nt_control_matrix.js
nt_control_proxi.js
nt_control_rotary.js
nt_control_slider.js
nt_electrode.js
nt_electrode_afid.js
nt_electrode_safa.js
nt_electrode_usafa.js
nt_Gui.html
nt_module.js
nt_static_cfg.js
ntinit.js
static_cfg_engine.js
style.css
test1.xml
touch.min.css
touch.scss
xml_converter.js

./src/img:
arotary.png
aslider.png
Blank.png
bodyl.png
bottoml.png
checboxlines.gif
clock.png
clock-active.png
comparator.png
comparator-active.png
control.png
control-active.png
cs_clk.png
cs_clk.svg
cs_clk-active.png
cs_controller.png
cs_controller.svg
cs_controller-active.png
cs_counter.png
cs_counter.svg
cs_counter-active.png
cs_fifo.png
cs_fifo.svg
cs_fifo-active.png
cs_int.png
cs_int.svg
cs_int-active.png
cs_oscilator.png
cs_oscilator.svg
cs_oscilator-active.png
cs_register.png
cs_register.svg
cs_register-active.png
cs_switch.png
cs_switch.svg
cs_switch-active.png
cs_switch-small.png
cs_switch-small.svg
cs_switch-small-active.png
detected.svg
dvolt.png
dvolt-active.png
el_release.png
el_touch.png
fscs.png
gui_arrow_down.png
gui_arrow_left.png
gui_arrow_move.png
gui_arrow_move_hidden.png
gui_arrow_right.png
gui_arrow_right_hidden.png
gui_arrow_up.png
gui_blank.png
gui_dir_left.png
gui_dir_right.png
gui_no.png
gui_refresh.png
gui_warning.png
gui_warning_hidden.png
gui_yes.png
gui_yes_hidden.png
icon-01.svg
icon-02.svg
icon-03.svg
keypad.png
keypad.svg
logo.svg
matrix.png
matrix.svg
menu-item-left.jpg
menu-item-left-selected.jpg
menu-item-right.jpg
menu-item-right-selected.jpg
movement.svg
m-star.png
m-star-active.png
popup-load.svg
proxi.png
proxi.svg
rotary.png
rotate.svg
select-dropdown-grey.ai
select-dropdown-grey.svg
SINC.png
SINC-active.png
slider.png
slider.svg
SSC.png
SSC-active.png
s-star.png
s-star-active.png
theme-all.png
theme-all.svg
theme-all-cs.svg
theme-all-csi.svg
topl.png
triangle.svg
undetected.svg
undetected-full.svg

./src/js:
animations.js
jquery.min.js
jquery-ui.min.js

./src/json:
cycle.js
json.js
json_parse.js
json_pars

0 Kudos

974 Views
MichalH
NXP Apps Support
NXP Apps Support

Hello, 

the script error may also be caused by restricted Internet Explorer rights on your local computer. The Windows Internet Explorer settings affect how the HTML rendering works in the FreeMASTER. Please try the steps discussed in this post. But it is also possible, that your employer policy will not enable to run any scripts at all. 

The only way would then be to migrate the Internet Explorer+ActiveX to Chromium+JSONRPC. But this would require substantial changes to page's JavaScript code.

Regards,
Michal

0 Kudos