Go to Post While at kickoff I asked Woodie if there were any concerns about missed shots at the center goal hitting the operators or the controls. He handed me a ball and told me to throw it at him as hard as I could... How many times does an opportunity like that come up? - Barry Bonzack [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 20-01-2012, 01:54
emusteve's Avatar
emusteve emusteve is offline
Registered User
AKA: Steve Martin
#0470 (Alpha Omega)
 
Join Date: Jan 2004
Location: Ypsilanti
Posts: 66
emusteve is just really niceemusteve is just really niceemusteve is just really niceemusteve is just really nice
Re: NetConsole cout vs. printf on Old/New CRIO

We have an 8-slot unit, and we get all the vxWorks startup output on NetConsole, but nothing from either a printf or cout. Tried the cerr suggestion as well, but nada!

We're trying to embed a simple text message (like printf("I'm Alive!\n"); )in the teleop section of the Simple Robot Template as a test case. Tried adding an Include# "stdio.h", but that didn't help either. No errors show up in the Build.

Anyone have an idea what I'm doing wrong?

Thanks,
Steve
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2012, 22:35
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: NetConsole cout vs. printf on Old/New CRIO

Quote:
Originally Posted by emusteve View Post
We have an 8-slot unit, and we get all the vxWorks startup output on NetConsole, but nothing from either a printf or cout. Tried the cerr suggestion as well, but nada!

We're trying to embed a simple text message (like printf("I'm Alive!\n"); )in the teleop section of the Simple Robot Template as a test case. Tried adding an Include# "stdio.h", but that didn't help either. No errors show up in the Build.

Anyone have an idea what I'm doing wrong?

Thanks,
Steve
You may need to check the box when you flash the cRIO with the imaging tool. It has to be enabled and is not by default.

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
Reply With Quote
  #3   Spotlight this post!  
Unread 23-01-2012, 16:52
emusteve's Avatar
emusteve emusteve is offline
Registered User
AKA: Steve Martin
#0470 (Alpha Omega)
 
Join Date: Jan 2004
Location: Ypsilanti
Posts: 66
emusteve is just really niceemusteve is just really niceemusteve is just really niceemusteve is just really nice
Re: NetConsole cout vs. printf on Old/New CRIO

We did that (checked the NetConsole box when imaging), and it does give us all the vxWorks system messages, just nothing from our code.

Too much broken...switching to Java for this season.
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 03:44.

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