01-17-2010 03:34 AM
Hi all,
I'm running LV 8.5 Student Edition - Toolkit 1 - patch 1.0.1 - FW 1.28
When using the Direct Commands I get a comile time error, ERROR: Can't open SubVI. (createNXT.vi).
Did a full reinstall of software toolkit patch and mass compile. still get error.
I explicitly named the directory path to the file (createNXT.vi). still get error.
I found that the file (createNXT.vi) is password protected, could this be the issue?
Any help with this problem would be great.
Cheers
Nick
01-18-2010 04:17 PM
Hello,
When exactly do you get this error? Do you get it when trying to run the VI or when trying to save? The file being password protected is as expected because it is a proprietary VI. This simply means that you cannot view and modify the block diagram. It might be helpful if you could post a screenshot of when you get the error.
-Zach
01-19-2010 02:42 AM
Hey Zach,
Thanks for your reply.
The error in question occurs when compiling to NXT.
Attached is a screenshot of the vi & error
Cheers
Nick
01-19-2010 10:59 AM
01-19-2010 01:22 PM
It looks like your VI is calling the "Direct Mode" subVIs. The Direct Mode VIs should run on desktop only. They all have grey icons.
If you need to compile and run your VI on NXT, you need to call the "remote mode" VIs, which all have orange icons.
01-20-2010 02:14 AM
Thanks for that info, wasn't aware that direct commands should only be run on pc.
In saying that, is it possible to use direct comms and have your front panel update as in (compile debug) mode.
cheers
Nick
01-20-2010 09:24 AM
Thanks again,
Disregard the front panel question.
Tested direct comms running on pc, instead of comiling to nxt, all works fine. Now just to work out what's going on with the sensor values.
Nick