LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

usb and visa

I'm not sure what I am doing wrong. When I try to run it, labview tells me the three subVI's are not executable. Does this mean I need to put in the VISA resource string? If so, how do I find the information for that? If not, what is causing this? I am a beginner, obviously.
Thanks
 
0 Kudos
Message 1 of 11
(8,574 Views)
Also, I want to use usb, not bluetooth...probably important.
0 Kudos
Message 2 of 11
(8,573 Views)
Hi FatCatNXT,
what does "not executable" mean for you? Do you see a broken run arrow? The code from the attached picture works for me. Bear in mind that this code is to run on your pc, not on the NXT!

Mike


Message Edited by MikeS81 on 07-31-2008 06:04 PM
0 Kudos
Message 3 of 11
(8,566 Views)

Still not workin'. Do I have to double click on each subVI and input something? I set up the exact same thing and got nothing. Yes, I am running it on a PC.

Thanks again

0 Kudos
Message 4 of 11
(8,557 Views)
Hi FatCatNXT,
what about the arrow, is it broken? Can you run your vi? No you don´t have to change something, but the nxt has to be connectet with your pc.

Mike
0 Kudos
Message 5 of 11
(8,551 Views)
The NXT is connected to a USB. The error is 'subVI is not executable' and the broken arrow is there. There are three of these. Is there a setting on the NXT I should be at as it is connected? If I run it on my computer, how does NXT know what to do? Maybe there is some interface I am missing here.
Thanks
0 Kudos
Message 6 of 11
(8,546 Views)
Hi FatCatNXT,
no the vi´s should be executable without the connected NXT. Which version of LabView do you use? Do you have also problem with some other vi´s or shipped examples. Did you install the patch?
May be some of this KB´s help.

Mike
0 Kudos
Message 7 of 11
(8,541 Views)
I have version 7.1. I installed the patch, replaced the VI's, and it still doesn't work. I am not registered yet because the numbers aren't with me. However, I'm still not positive what is messing the VI's up.
 
0 Kudos
Message 8 of 11
(8,538 Views)
If the subVI is not marked as executable, it means that there is a syntax error in the code, which is odd.  I suspect there is something missing.  Go to the error list and you will see some VIs marked "subVI not executable".  Ignore those and look for an error that is different.  Double click on that error.  That's probably the VI that's broken. Please take a screenshot of the block diagram of the VI, let me know what the error description is, and let me know the name of the VI.

Thanks

Joel Sumner
NI-Shanghai
Message 9 of 11
(8,510 Views)

Yes, I'm starting to think it's an internal error. I'm sorry but I can't show more of the program. However when I move the one part shown above, there are no more errors. By the one part, I mean I attempted something almost identical to what Mike showed and that didn't work. My original attatchment also has these same three errors. Basically, all the screenshots are here but it's not working for me like everyone else.
The names of these errors (with the VI names included) are:

SubVI 'NXTToolkit.DC.CreateNXTObject.vi': subVI is not executable

SubVI 'NXTToolkit.DC.GetResourceString.vi': subVI is not executable

SubVI 'NXT.Toolkit.DC.DestroyNXTObject.vi': subVI is not executable

0 Kudos
Message 10 of 11
(8,495 Views)