|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Posting LabView Code Easily?
Is there an easy way to share code diagrams that doesn't involve attaching the VI? A VI requires software and it takes more time than I usually want to spend to launch LabView and look at someone's code.
Is there an easy way in LabView to capture an image of the current VI without having to crop it in Paint or Photoshop? Is there a good way in vBulletin to share images other than just attaching them to posts? That works, but it's definitely harder than pasting some code in a code tag block. This is going to be important with so many teams programming in LabView. Can we come up with some easy solutions for a Sticky thread? |
|
#2
|
||||
|
||||
|
Re: Posting LabView Code Easily?
Yup!
See example of what you get below. *edits* Oh yeah, about sharing them out of attaching.. probably not. Unless you host them elsewhere and use image tags. But I think that's a bit harder than just attaching. Unless someone else has a better idea for that. Last edited by whitetiger0990 : 12-08-2008 at 19:42. |
|
#3
|
|||||
|
|||||
|
Re: Posting LabView Code Easily?
One thing to think about *attention Brandon*... With all of these labview images going up.... server space?
Imagine if you took every code segment ever posted on CD and replaced it with a good 500k-1MB image... Perhaps there is some kind of vBulletin plugin that can be installed to allow image uploads of this type to be stored on a DIFFERENT server, as to not clog up the main CD server. Also, I did a search already, it would be nice to upload your .vi file, and have the forum convert it to an image on-the-fly. This way, it would render the image file for when you need to view it, but it isn't being permanently stored. No such thing exists (as far as I can find), but maybe we have a few vBulletin coders? Jacob |
|
#4
|
||||||
|
||||||
|
Re: Posting LabView Code Easily?
Unfortunately, several labview structures can't be flattened to a picture easily, like case statements. Any solution would have to make the vi available.
The printing to html does make separate images for each item in the case statement. However, by the time you look at several images, you might as well just open the vi. Last edited by Joe Ross : 13-08-2008 at 16:05. |
|
#5
|
|||||
|
|||||
|
Quote:
I think a combination of the pictures and the vi makes of easiest for someone else to help you. |
|
#6
|
|||||
|
|||||
|
Re: Posting LabView Code Easily?
While I can't help with converting it automatically when you upload the file(can't find any command line tools that can do that so far, if anyone knows of one, let me know...), I can help with server space...I'm working on a few other things as well, and I'll add this to the "to do" list...more info to come...
|
|
#7
|
|||||
|
|||||
|
Re: Posting LabView Code Easily?
We've got more space than we know what to do with ... space isn't an issue.
|
|
#8
|
|||
|
|||
|
Re: Posting LabView Code Easily?
I'm not entirely sure if it is needed, but if someone responsible for the forum is interested in a tool to serve up images, that wouldn't be too hard as long as you can run LV on the server machine and plug it into a CGI. Get in touch.
Greg McKaskle |
|
#9
|
||||
|
||||
|
Re: Posting LabView Code Easily?
What d'you know, someone already mentioned this at NI communities (I didn't know until just now).
http://decibel.ni.com/content/message/1721#1721 |
|
#10
|
|||
|
|||
|
Re: Posting LabView Code Easily?
I guess I've been on the receiving end of way too many movies watching someone write a diagram trying to demonstrate a bug. True, it has its uses, but most times, I ended up panning to the end, looking at a super grainy frame, and spotting the problem. So, the time to make the movie, time and space of the movie downloads, and time I spend watching their movie so I can make their diagram on my machine for experimenting, are all time I wish I had back.
But, the forty-seven second demo watching someone type into a text field almost convinced me I was wrong. In other words, simplifying a VI to show the problem so that you can post a good succinct stand alone snippet of code that others can run, modify, learn from, and send back in an improved form, is my preferred way of discussing LV or C code. Screenshots are a good way to identify areas within the code and are sometimes enough. A movie has potential, but most of us don't have enough Spielberg in us to pull it off. Greg McKaskle |
|
#11
|
|||||
|
|||||
|
Re: Posting LabView Code Easily?
Quote:
Thanks! -Jacob |
|
#12
|
||||
|
||||
|
Re: Posting LabView Code Easily?
Revisiting this thread...
Is anyone excited to be able to use the LV 2009 Snippet feature in FRC 2011? |
|
#13
|
|||||
|
|||||
|
Re: Posting LabView Code Easily?
Quote:
![]() I'm hoping they were wrong.... |
|
#14
|
||||||
|
||||||
|
Re: Posting LabView Code Easily?
Quote:
Here's more info on the snippets Last edited by Joe Ross : 25-11-2009 at 13:09. |
|
#15
|
|||||
|
|||||
|
Re: Posting LabView Code Easily?
Ask again in a year or so? LabVIEW for FRC 2010 is basically LV 8.6, so far as we know.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LabView FRC Toolkit code level issue | KHall | National Instruments LabVIEW and Data Acquisition | 2 | 11-06-2008 10:40 |
| Any way to report errors in CD-Media easily without posting here? | Elgin Clock | CD Forum Support | 0 | 20-04-2007 12:56 |
| Configuring Labview code to easyC | team877 | LabView and Data Acquisition | 6 | 16-01-2007 09:21 |
| LabView Gear Tooth Sensor Code | SkiRacer | LabView and Data Acquisition | 2 | 17-01-2006 03:53 |
| Custom Dashboard code for LabVIEW ready for download. | archiver | 2001 | 3 | 24-06-2002 00:49 |