09-08-2008 02:08 PM
I want to implement some a little complicated algorithms in the application which need to be shown in PDA (Windows Mobile OS). The exciting thing is that LabView provides Mathscript to implement the similar work as Matlab. However, when I added the Mathscript node in my Labview Block Diagram, I can't "run" the VI (The prompt on the "Run" button shows that there are some errors but can't show what errors are) and connect to the PDA device. I can run this in Labview on the PC without any problem.
I know some codes in Mathscript need to use the functions provided by Matlab. Does this mean that we can't use the Mathscript node in my programs if I want to implement it in a PDA rather than shown only in the PC?
Also another problem, I found some functions don't work when I use Mathscript. For example, "sscanf" and "fopen". I can't use the command "sscanf(t, '%*s %d %d %d %d')" to get the corresponding number from string "z='158.dat 158 167 42 -955';", but this command works correctly in Matlab. The command "fid=fopen('E:\ABC\aaa.dat','r')" also return "fid=-1". Can anyone give me the answer to these problems? Is my command usage correct?
I am looking forward to any valuable comments and suggestion on this issue. Thanks a lot.
09-09-2008 08:25 AM