Go to Post Our job is to play the game that the GDC gave us, not the one we think they should have given us. - Herodotus [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-18-2011, 08:15 PM
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,697
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: LabVIEW deployment problems

Your description sounds like the NO APP switch isn't getting set properly.
To use the NO APP switch:
  1. flip it to ON
  2. reset the cRIO (3 equivalent ways)
    • cRIO panel black reset button
    • DS Diagnostics->Robot reboot...
    • cycle power
  3. After the DS Comm light comes back on, then you can flip the NO APP switch back OFF. You don't have to though until you want the user code to startup automatically.
If you get the NO APP switch working, then you can move on to discovering why you have to use it in the first place.
Usually, it's only necessary if your code is running too fast and hard. There are ways to check on that.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #2   Spotlight this post!  
Unread 04-18-2011, 08:30 PM
kenavt's Avatar
kenavt kenavt is offline
Registered User
AKA: Colin S
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Ann Arbor
Posts: 253
kenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond repute
Re: LabVIEW deployment problems

Quote:
Originally Posted by Mark McLeod View Post
Your description sounds like the NO APP switch isn't getting set properly.
To use the NO APP switch:
  1. flip it to ON
  2. reset the cRIO (3 equivalent ways)
    • cRIO panel black reset button
    • DS Diagnostics->Robot reboot...
    • cycle power
  3. After the DS Comm light comes back on, then you can flip the NO APP switch back OFF. You don't have to though until you want the user code to startup automatically.
If you get the NO APP switch working, then you can move on to discovering why you have to use it in the first place.
Usually, it's only necessary if your code is running too fast and hard. There are ways to check on that.
I have read in other threads about the System Manager. While the NO APP switch has been ON (and I have cycled power), I have attempted to deploy. I have run the System Manager and observed that the CPU is occupied approximately 10-15% while data is being transferred between my laptop and the cRIO target. The VIs are still being uploaded to the CRIO at its crawling rate.

My friend has deployed the exact same code I have been trying to deploy the whole time with his laptop to the same cRIO, with the "NO APP" dip switch OFF. I believe the problem resides with my laptop hardware (or software on my computer, perhaps LabVIEW), not with the cRIO or with my code.

I have read through a few CD threads on deployment issues, and I believe this is a unique issue, as it hasn't been resolved (as far as I can tell) with the "NO APP" dip switch.
__________________
University of Michigan Computer Engineering '17

FRC 2337 student alumni (2010-2013)
Reply With Quote
  #3   Spotlight this post!  
Unread 04-18-2011, 08:46 PM
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,697
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: LabVIEW deployment problems

I agree, it certainly sounds like your laptop is not using the full network.

Does the same laptop appear slow if you're doing typical browsing?
Is there a second NIC on it that you can try, like wireless?

Is your DS using the same NIC?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 04-18-2011, 08:54 PM
kenavt's Avatar
kenavt kenavt is offline
Registered User
AKA: Colin S
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Ann Arbor
Posts: 253
kenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond repute
Re: LabVIEW deployment problems

Quote:
Originally Posted by Alan Anderson View Post
How do you have your networking set up? It sounds like you're connecting by wire, but is the D-Link router in the mix? Do you perhaps have both wired and wireless networks active on your computer at the same time?
Quote:
Originally Posted by Mark McLeod View Post
I agree, it certainly sounds like your laptop is not using the full network.

Does the same laptop appear slow if you're doing typical browsing?
Is there a second NIC on it that you can try, like wireless?

Is your DS using the same NIC?
I am connecting by an ethernet cable while concurrently accessing our team's wireless network. This could, perhaps, be the issue. I will try disabling my wi-fi adapter, and then deploying.

I think all of our team radios are encrypted, but if none of them are, I will try to deploy via those. I will probably get to this tomorrow.
__________________
University of Michigan Computer Engineering '17

FRC 2337 student alumni (2010-2013)
Reply With Quote
  #5   Spotlight this post!  
Unread 04-19-2011, 08:44 PM
kenavt's Avatar
kenavt kenavt is offline
Registered User
AKA: Colin S
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Ann Arbor
Posts: 253
kenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond repute
Re: LabVIEW deployment problems

When I attempted to deploy the code via an ethernet cord with the wi-fi adapter turned off via the hardware switch on my laptop, the deployment was faster, but not the speed it should be still.

Normally, my team has our radios put away and we don't use them at our shop, but I pulled one out and hooked it up. Deploying over the bridge WAS at normal deploying speed (a big relief). Success.

I believe the issue is with my computer's hardware (perhaps the motherboard, I don't know much about computer hardware). I have had problems with my USB ports in recent days, after I spilled a little pop on my laptop. I thought the only consequence was one sticky key, but it appears that it has infiltrated my laptop's case and gotten on the hardware. That probably explains my USB ports (which are physically located next to the sticky key, CTRL) and my ethernet port (which is a little farther away, but on the same side).

Either way, thanks a lot, Mark and Alan. I see the hard work you guys do helping others to fix their programming issues, and I can tell you that it means a lot to me, personally, as well as the others, I am sure. I don't think I can say thank you enough! Thanks!
__________________
University of Michigan Computer Engineering '17

FRC 2337 student alumni (2010-2013)
Reply With Quote
  #6   Spotlight this post!  
Unread 06-19-2011, 06:30 PM
FourPenguins's Avatar
FourPenguins FourPenguins is offline
Back in the Game
AKA: Ed Venator
FRC #2399
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Mount Olive, NJ
Posts: 261
FourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud ofFourPenguins has much to be proud of
Re: LabVIEW deployment problems

My team had a similar issue until the NI rep at Buckeye told us to disable Windows firewall. I don't know if that's the issue here (especially given the suspect hardware in your laptop), but he said that that was often the cause of connection/deployment problems.
__________________
MORT 11
-2005 New Jersey Regional Chairman's Award Winner
-2006 Palmetto Regional Winner
-2007 New York Regional Delphi Driving Tomorrow's Technology Award
-2008 New Jersey Regional Finalist, Chesapeake Regional Winner, Championship Event Overall Top Seed
HB 2399
-2009 Buckeye Regional Delphi Driving Tomorrow's Technology Award, Pittsburgh Regional GM Industrial Design Award
Reply With Quote
  #7   Spotlight this post!  
Unread 06-19-2011, 10:22 PM
torihoelscher's Avatar
torihoelscher torihoelscher is offline
Wow I feel old
AKA: Princess Leia
no team
Team Role: College Student
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Palm Harbor FL
Posts: 191
torihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant future
Send a message via AIM to torihoelscher
Re: LabVIEW deployment problems

Quote:
Originally Posted by FourPenguins View Post
My team had a similar issue until the NI rep at Buckeye told us to disable Windows firewall. I don't know if that's the issue here (especially given the suspect hardware in your laptop), but he said that that was often the cause of connection/deployment problems.
That is true!!!
What my software mentor tells me and I sometimes remind him:
1) turn off wireless
2) turn off firewall
3) ping using cmd
4) if you cant ping power cycle
5) check ip address on computer
5.5) Use Measurement Automation Explorer
6) Reimage CRIO
__________________
Tori Hoelscher

FLL
FTC
FRC

"May the [mass x acceleration] be with you"
"Aren't you a little short to be a storm trooper?"

Alumni of Team 79 Krunch.

Last edited by torihoelscher : 06-19-2011 at 10:25 PM. Reason: added another step
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:07 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi