Go to Post Woody says that gracious professionalism is "acting how you would if you grandmother was watching you"... some people must have some really crazy grandmothers. (: - Cappeh [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 14-02-2009, 21:25
iblis432 iblis432 is offline
Co Captain/Chief Programmer
AKA: Bobby
FRC #2106 (Junkyard Dogs)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Virginia
Posts: 146
iblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to behold
Getting Html and/or text reports from cRIO

I have recently stumbled upon a few VI's in regards to writing up reports. I found a few but I think most of them were made for labview, not neccasarily labview with the cRIO. There is a MAX VI that can apparently write HTML and XML report files, but i see no way to designate a path. As for plain text file reports, i can designate a path, but when i attept to specify a ip address, im worried it will write the report on the RIO rather then on our labtop. I could have it write solely from the computer, which i will do first anyway, but i was wondering if anyone knew how to tell it to report on the cRIO but have the output be on the labtop, or at least if it does save on the RIO, how to pull my report out of the RIO for reviewing.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2009, 22:18
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Getting Html and/or text reports from cRIO

It will get a little more complicated, but here is the way to do it.

Build a VI to produce the report, put the VI under the My Computer target instead of the cRIO. When you want it to run on the laptop, you will use the VI server to run the VI. There are plenty of examples for how to use it to remotely execute a VI.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2009, 23:18
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Getting Html and/or text reports from cRIO

If you must save the file on the cRIO file system, you can put a USB flash drive (aka USB stick) in the cRIO USB port and write it to the flash drive. Then, obviously, you can remove the USB flash drive and copy the file to the laptop.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2009, 01:24
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Getting Html and/or text reports from cRIO

Quote:
Originally Posted by airnate View Post
...you can put a USB flash drive (aka USB stick) in the cRIO USB port...
What cRIO USB port?
Reply With Quote
  #5   Spotlight this post!  
Unread 15-02-2009, 12:54
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Getting Html and/or text reports from cRIO

Oops, beg your pardon. I guess the USB port was removed for the FRC version of the cRIO. My mistake.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-02-2009, 14:34
dqmot17's Avatar
dqmot17 dqmot17 is offline
Orange Hat
FRC #0247 (Da Bears)
Team Role: Webmaster
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 142
dqmot17 can only hope to improve
Send a message via AIM to dqmot17
Re: Getting Html and/or text reports from cRIO

you can ftp to your cRIo. I used it successfully.
go to a browser and type ftp://10.xx.yy.2
__________________
2009 Championship Finalists & 3 Blue Banners
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Whos getting a second CRio lenny8 FRC Control System 17 12-03-2009 15:09
Help Getting cRIO Feedback rholokleolke C/C++ 3 29-01-2009 17:13
Getting Packets from the cRio rfrank Programming 2 17-01-2009 22:35
Getting help from your principal and local school district Carl Gao General Forum 11 25-09-2008 00:36
OI is getting bad data from RC and vice-versa X-Istence Programming 10 27-02-2006 23:40


All times are GMT -5. The time now is 21:34.

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