compiled standalone app that controlling instrument (with visa) dosn't work on other PC's
Show older comments
Hi, i have Matlab R2013b with Test&measurement and compiler toolboxes.
My code activates an external instruments via visa, and the code works fine as i compiled my code, i got an standalone app that also works.
i've installed the app on another PC (i've also installed the same Matlab Compiler Runtime, and the drivers), connected the same instrument to the PC,but i didn't succeed to connect to it! after I've installed Matlab R2013b on my second PC the standalone app suddenly did work.
the app shows an error massage on the line: "obj1 = instrfind('Type', 'visa-usb', 'RsrcName', USB0::0x1313::0x80B0::P3000531::0::INSTR', 'Tag', ''); "
any idea what can i do? thank you.
1 Comment
yonatan gerufi
on 23 May 2014
Edited: yonatan gerufi
on 23 May 2014
Answers (2)
Mihir Daptardar
on 19 Jan 2014
0 votes
There may be some specific toolboxes which you app must be using implicitly. When you install MATLAB R2013b on the second computer, you must have used the same licence that you have on your 1st machine and hence it may have stop working. I would recommend checking you code to see what all toolboxes you have used and then purchasing the licenses for those toolboxes so that you can run those on the other computer.
2 Comments
Walter Roberson
on 19 Jan 2014
A license for a toolbox also includes a license to compile, for all toolboxes that support compiling.
yonatan gerufi
on 21 Jan 2014
Edited: yonatan gerufi
on 21 Jan 2014
Walter Roberson
on 19 Jan 2014
0 votes
Try Dependency Walker to see if any libraries are missing.
1 Comment
yonatan gerufi
on 23 Jan 2014
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!