Jump to content

jgcode

LabVIEW Tools Network
  • Posts

    2,397
  • Joined

  • Last visited

  • Days Won

    66

Posts posted by jgcode

  1. 1. Your llb file names are prepended with an underscore. Do you do that because of potential naming conflicts between the llb and the class/library name?

    Nah, I just wanted to show an example of Library with Classes distributed as llb's.

    It was on me at the time, but that example is for reuse, hence the namespacing.

    I have played with both, namespacing and not for Plugin Classes, I don't think it matters too much.

    2. I assume you have to create a unique source distribution for each llb, and the llbs have to be built before you build the application. Do you script your build process to control the build order?

    Well if they are truly Plugins then they do not have to be part of the application build process, only the 'interface' Class does.

    However, it could be (both part of, and scripted) - it would depend on the application.

    I don't have to create a unique source distribution for each llb, I can do multiple llb's in one source distribution.

    3. Why do you have a directory dedicated to Yair? ;)

    Very clever :P

  2. If you have been reading about the new features of LabVIEW 2011 you may have stumbled across this one:

    NI LabVIEW 2011 FPGA Development Environment Improves Performance by 5X.

    If you have a really keen eye, you might make out my LabIVEW style in the videos

    and
    .

    post-10325-0-38312800-1312066406_thumb.p

    I like to use a subVI layout similar to this:

    post-10325-0-35166500-1312065104_thumb.p

    What happened was that a NI group manger contacted me early this year.

    It seems a video I posted on LAVA complaining of highlighting a slow FPGA development environment went viral inside NI:

    ...Well believe it or not, your little video catalyzed our FPGA team to do some serious banging on our I/O Nodes and wiring this release cycle, and your video has become kind of famous (at NI at least). I was hoping to get your code (not to share of course) but instead to do a side by side compare for our developers to show them that they fixed your issue...

    Either way, just thought you'd like to know that we're trying to fix it....

    <object id="scPlayer" width="793" height="549"> <param name="movie" value="http://content.screencast.com/users/jgcode/folders/LabVIEW/media/c0ec32fc-9d1f-4c99-bc81-0b0e3c3fdd66/jingswfplayer.swf">'>http://content.screencast.com/users/jgcode/folders/LabVIEW/media/c0ec32fc-9d1f-4c99-bc81-0b0e3c3fdd66/jingswfplayer.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#FFFFFF"> <param name="flashVars" value="thumb=http://content.screencast.com/users/jgcode/folders/LabVIEW/media/c0ec32fc-9d1f-4c99-bc81-0b0e3c3fdd66/FirstFrame.jpg&containerwidth=793&containerheight=549&content=http://content.screencast.com/users/jgcode/folders/LabVIEW/media/c0ec32fc-9d1f-4c99-bc81-0b0e3c3fdd66/FPGA%20is%20slow.swf"> <param name="allowFullScreen" value="true"> <param name="scale" value="showall"> <param name="allowScriptAccess" value="always"> <param name="base" value="http://content.screencast.com/users/jgcode/folders/LabVIEW/media/c0ec32fc-9d1f-4c99-bc81-0b0e3c3fdd66/">'>http://content.screencast.com/users/jgcode/folders/LabVIEW/media/c0ec32fc-9d1f-4c99-bc81-0b0e3c3fdd66/"> <embed src="http://content.screencast.com/users/jgcode/folders/LabVIEW/media/c0ec32fc-9d1f-4c99-bc81-0b0e3c3fdd66/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" width="793" height="549" type="application/x-shockwave-flash" allowscriptaccess="always" flashvars="thumb=http://content.screencast.com/users/jgcode/folders/LabVIEW/media/c0ec32fc-9d1f-4c99-bc81-0b0e3c3fdd66/FirstFrame.jpg&containerwidth=793&containerheight=549&content=http://content.screencast.com/users/jgcode/folders/LabVIEW/media/c0ec32fc-9d1f-4c99-bc81-0b0e3c3fdd66/FPGA%20is%20slow.swf" allowfullscreen="true" base="http://content.screencast.com/users/jgcode/folders/LabVIEW/media/c0ec32fc-9d1f-4c99-bc81-0b0e3c3fdd66/" scale="showall"> </object>

    Yes, that is my code in the videos!! - The performance increases look insane and I can't wait to try out FPGA 2011.

    I am really excited that NI listens to the LabVIEW Community, and its great to have them hanging out here on LAVA - even if they are not participating in discussion they are obviously following them!

    I basically got a feature request implemented and I didn't even have to post it on the Idea Exchange - thank you PJ and NI smile.gif

    Cheers

    -JG

    • Like 2
  3. Is Australia not like a big cruise ship ?

    I will see if I can locate the engines, then set sail for Texas :)

    Coincidently I am looking at your error logger project today, trying to understand it all so I can re-write our debug logging system in a similar vain.

    If you have any questions feel free to ping me.

    Anyway many congratulations to you jgcode... ...cheers for all the community support you give

    Thanks for the kind words.

    But so worth it and you could accumulate more frequent flyer miles ;)

    It's definitely worth it. I had such s great trip last year. If I could, I would love to go to both events each year!

  4. :( Maybe you could come every year: one year for the CLA Summit and one year for NI Week. It would be better than every other year ;)

    Yer, that sounds like a great idea. It's just a long way coming from Australia. :)

  5. Good point, I hadn't thought of that. My classes are almost always contained in a library with other classes and I prefer my distribution format is consistent regardless of the content. Distributing an llb when there's no name collisions and a file system directory when there are name collisions kind of rubs me the wrong way. (This is just my personal preference... afaik there's nothing inherently wrong with doing that.)

    Come to think of it, I've been assuming it's not possible to split a lvlib or lvclass into multiple llb files. Is that correct?

    I also like to use the same as you - Library containing Classes e.g.

    post-10325-0-40405800-1311106948_thumb.p

    But when I distribute it looks like this:

    post-10325-0-50830200-1311106589_thumb.p

    As you can split it all up - I just think of llbs as a folder.

    For development I like to set things out pretty much like this:

    post-10325-0-62871500-1311106951_thumb.p

    Where modules (under src) are Libraries, Libraries of Class, or single Classes or traditional modules (e.g. MFVI's) etc...

    Curves is the name of an application, each application in the project (only 1 in this case) gets its own directory at this level (i.e. they share Shared VIs, Reuse VIs, and Modules).

    post-10325-0-22410900-1311106956_thumb.p

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.