Jump to content

Chris

Members
  • Posts

    51
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Chris

  1. Thanks for all the good answers.

    1) Unfortuantely the Tablets will be probably be running Android, because they are A LOT cheaper than a Windows based Tablet and I need to get around 20-30 of them.

     

    2) I was thinking what the hell is Nagle, but a quick Google search provided the answer...

    http://www.optimizemswindows.com/disable-nagle-algorithm-to-increase-your-internet-speed-for-quick-response/

     

    Gee if that works it will be really simple - thanks.

     

    3) Thanks Gribo for the link to the IEEE1588 Daemon.  I've never had to work with C libraries so I wouldn't have a clue where to start, but if Shaun's idea doesn't work it looks like I'll have to do a bit of research.

     

    Chris

     

  2. I used a USB-6001 DAQ unit for a Quiz Buzzer game that worked down to an accuracy of 1ms - great no problems :) .

     

    However having to wire up all the buzzers (up to 13) each time was becoming a pain and it doesn't scale very well, so I was looking at using tablets (probably Android based) to transmit over WiFi a virtual buzzer press.  But then of course you have all the latencies etc. of the TCP/IP packets to contend with.

     

    I was wondering if it was possible to use the IEEE 1588-2008 standard (Precision time protocol over ethernet) to get similar accuracies - even up to about 20ms accuracy would be OK over a standard WiFi connection?

     

    I was thinking you can send a master clock signal (eg. using someting like the JJ Control uS Clock) from a central LabVIEW server application to all the Clients (Tablets) up to 10 times per second as per the standard to keep clocks synchronised.

     

    I had a look, but couldn't find a IEEE 1588-2008 LabVIEW toolkit - is there one available?

     

    If not is there a simple way of achieving this?

     

    Thanks

     

    Chris

  3. I have also been looking for a replacement to NI Vision for a number of years now, but for a different reason.  The exhorbitant cost of the run-time licence - the last one I brought was around A$725!! makes it cost prohibitive for deploying simple vision applications on multiple computers.

     

    I brought the IVision Toolkit (last updated 2010) which was pretty good, but as ShaunR mentioned it is difficult to maintain and support for any length of time and so soon becomes obsolete.

     

    I haven't tried the NI GPU Analysis or ADV Toolkits, but they all suffer from the same problem ongoing support issue to keep them up to date.

     

    Chris

  4. Firstly I'd like to say what a great package - I don't think I'll ever want to go back to using text files again :worshippy:

     

    I just have some questions on the update and inclusion (in an exe) of the sqlite.dll.

     

    On my computer it is located in the following directory....

     

    C:\Program Files\National Instruments\LabVIEW 2013\vi.lib\drjdpowell\SQLite Library\SQL Connection\sqlite3.dll (version 3.8.7.4).

     

    Now if I wanted to use the latest sqlite3.dll (which can be downloaded from http://www.sqlite.org/download.html) is it OK to just overwrite the version in your vi.lib folder?  I tried version 3.8.11.1 and it all seemed to work OK, but I just want to make sure I'm not doing anything wrong.

     

    Also when building an installer using your SQLite Library where does the sqlite3.dll get installed - in the root directory of the executable?

     

    Thanks Chris

     

     

  5. OK got it - manually uninstall the current version if you want to install a previous version - fair enough.

     

    I'm still a little unclear on the actions of the Upgrade Code though.

     

    Basically I create a new Executable and Installer each time I make changes to my application as seen below.

     

    post-317-0-86757600-1430360295.png

     

    Each time I duplicate an Installer it automatically creates a new Upgrade Code and of course when I run the installer it automatically overwrites the previous installation.

     

    But are you saying if I didn't change the Upgrade Code (ie. it remains the same) and ran the Installer it will return an error?

     

    So each new Installer should really have a new Upgrade Code if you want it to automatically install over a previous version?

  6. I have dutifully been creating new Executable Versions each time I make any changes to my application and then creating New Installers with this new executable.

     

    For the Installer I did not click on the "Generate" button to change the Upgrade Code in the Version Information category - the Installer does this automatically.  ie. each new Installer had a new Upgrade Code.

     

    Now each time I have run the NEW Installer version it automatically uninstalls the old version and installs the new version - all very nice and simple :)

     

    But today I needed to go BACK a version so I ran the previous installer expecting it to automatically do the same thing, but it won't let me.

     

    My questions are:

    1) Firstly can this be done, or can you only upgrade to newer versions?

    2) What is the "Generate" button for if the NI Installer generates a new Upgrade Code anyway?

    3) How can I get the NI Installer to upgrade and downgrade and application?

     

    Chris

     

  7. Hi Francois,

    I have upgraded to VIPM 2014 and installed the latest UI Tools (1.3.0.70) and UI Tools Controls Addon (1.3.0.12) packages - all good.

     

    However in VIPM the four expansionpacks [Vistastyle (1.0.1-1), systemstyle (1.0.4-1), outlookstyle (1.0.3-1) and glasswebstyle (1.0.1-1)] are indicated as having a missing dependency (which they don't) or a dependency conflict.

     

    They don't appear in my Addons -> LAVA -> UI Tools Palette - I just get the silver_cancel and silver_exit buttons.

     

    I noticed all these packages are the *.ogp version.

     

    Is there anyway to get the controls back into my palettes?

     

    Chris

  8. Using the .Net solution worked really to OPEN a (PDF) file, but I also need to automatically CLOSE the file afterwards.

     

    I used the Reference from the START method  and then tried the CLOSE, DISPOSE, and KILL methods, but none of them actually closed the file.

     

    Can .Net come to the rescue again - what am I doing wrong?  If there is no method of Closing the file I guess we could Kill the application (in this case Adobe Reader), but it's not as elegant.

     

    Chris

  9. Hi Francis,

    That's odd I didn't get an e-mail notification to your reply - luckily I was still monitoring it and even luckier that you just came back from holiday - perhaps I should go and buy a lotto ticket :P

    How do I install version 1.0.14, since VIPM will only let me downgrade to 1.0.15-1?

    It's not really a problem if it's too difficult though, since I can wait for your new version 1.2 - thanks for doing this.

    Chris

  10. Hi Francois,

    Sorry but I'm afraid I'm back again...

    Everything had been running great with the Control Generator Tool, but after having a lot of problems with VIPM getting through our corporate firewall I finally did get through (temporarily) and subsequently VIPM upgraded a whole heap of Packages.

    However now when I try to run the Control Generator Tool, it goes off looking for VI's like the JKI State Machine Support VI's (Add and Parse State Queue) and appears with a broken run arrow.

    In VIPM I had selected Refresh Palettes and Mass Compile so I'm not quite sure what I've done wrong.

    The current versions for UI Tools Addon I have installed are:

    Control Class = 1.1.0.3

    Control Class (System) = 1.1.0.3

    jki_lib_state_machine = 2.0.0-1

    Should I just re-install the previous version (1.1.0.1 or 1.0.15-1)?

    Chris

  11. Ah yes now that you mention it I see what you mean about doing all the SQL queries yourself with the SQLiteVIEW toolkit. Anyway I'll send a query off to them to find out what are the advantages (if any) of using their package of the SQLite API - maybe it has better performance or something - thanks.

    Chris

  12. Hi Francois,

    I have to admit I preferred the old style where it just opened up without the dialog box. I would then open up Windows File Explorer in View Thumbnails Mode and just drag and drop the PNG images I wanted directly into the Path Control of your program.

    Oops I missed your example - yeah that's fine for what I want to do I'll also have a play around with the UI Tools_Controls palette, thanks so much for all your help

    Chris.

  13. Hi Francois,

    Yeah that more or less did the job. I must have installed the good Bitman package from Vugie over a corrupt version. So I removed the Bitman package and deleted some remnants still left in the user.lib and then removed your latest packages and then re-installed both again and it all worked fine. I even noticed the Mass Compile option in VI Package Manager - it's amazing what you can find out if you read the Help file :rolleyes:

    So now when you run the Control Generator program it always pops a File Dialog window asking to "Select a single PNG file or choose a source directory for batch processing", is this something needed for the new two image VISTA1 buttons, because otherwise the screen looks exactly the same as the older version I can't figure out how I'm supposed to add the second image?

    Chris.

  14. Hi Francois,

    Something weird is happening......

    I've installed the latest BitMan Library Version 1.0.1.0 through VI Package Manager and then I installed your latest version of the Control Class (1.1.0.3), but then I when run the Control Generator it starts looking for VI's in the \user.lib\BitMan\Built-In-Filters\etc... directory and then comes up with a broken run arrow, but there are no Errors in the Error List - how can that be?

    If I re-install version 1.0.15-1 (what I had orginally - it boots up OK again).

    I also tried mass-compling the user.lib directory, but that didn't seem to help much.

    Any ideas on what I'm doing wrong?

    Chris

  15. Hi Francois,

    Thanks for all that effort, but I seem to be having some problems installing this new version (1.1.0.1) over my current version of 1.0.15-1 using VI Package Manager 2010.

    When I finish installing the new package (all OK) and then select the Control Generator from the Menu it goes looking for the BitMap.lvclass - which I think? this new version removed from my LabVIEW directory. I've got the zipped up BitMan Library do I just stick this whole lot into the <userlib> folder?

    Chris.

×
×
  • Create New...

Important Information

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