Jump to content

xtal

Members
  • Posts

    131
  • Joined

  • Last visited

Posts posted by xtal

  1. I am not sure whether if it able to work in labview 8.2.

    or is there any other ways to get the same results?

    Yes, the Database Connectivity Toolkit works fine with LV 8.2 and it comes with lots of examples.

    You can use ActiveX or DotNet to directly communicate with an SQL database.

  2. So my question is if I was to interface to say a MySQL database on the same machine as my LabVIEW application through the NI-CT can I just create the following ini file:

    Server=localhost;Database=imt;User ID=root;Connection Timeout=60;Trusted_Connection=FALSE;Net=dbmssocn;

    and I could just pass these values into the DB Tools Open Connection.vi and it would link to the database?

    Yes, you just wire the string directly to the Connection Information input on the Open Connection VI.

  3. Hey, Mark

    I enjoyed reading your Tweets about your team. Y'all did better than us in the general competition but we got some great breaks with winning awards and such. Here is more info on our team:

    Team 2486 - The CocoNuts from Coconino High School: http://www.fusd1robotics.org/chs_robotics/index.htm

    And here is a video of our first attempt at driving the robot: http://www.youtube.com/watch?v=Z9-MILWge04

    This has been tons of fun!

  4. Hi, Chris

    I don't have a complete answer for you because it's been a while since I've had to build an installer like you mention. You didn't say what version of LabVIEW you use; my suggestions refer to the Installer Build Specifications found in LV 8.x projects:

    - System DNSes are registry entries. So you can figure out their various keys and have either the installer create them or you could write a short LV program or batch file that creates them and runs after the main installer. There is a Registry category in the Installer Properties.

    - In the Advanced category in the Installer Properties you can specify EXEs to run after the main installation. I've used this to install non-NI drivers, run batch files, etc. You could use this to install MySQL components. You can also enter command line arguments here.

  5. I feel for you, Scott! That looks like all the projects I inherited when I started working here. I can very well understand why everyone else in my group now hate LabVIEW and refuse to use it.

  6. I've seen the same thing, channels switching in the middle of a run, with an SCXI system I use here occasionally. I never did figure out what the problem was because it was so intermittent and unreproducible. I am using LabVIEW 8.2 and the SCXI-1600 with 2 or 3 SCXI-1112 modules.

  7. QUOTE (jlokanis @ Dec 30 2008, 03:09 PM)

    Yes, the NI toolkit is very slow, due to their use of the ADO.NET interface and the aforementioned iteration issue.

    Hey, John

    I just wanted to make a quick clarification. The NI Database Toolkit uses ADO, the ActiveX version and not .NET. It does have VIs to do the faster GetRows calls mentioned by others. ADO is what LabSQL uses, too, so I doubt it would be any faster than the NI Database Toolkit. However, I believe ADO has less overhead than ADO.NET or any of the .NET interfaces. I'd be interested to know for sure if that's the case.

    I've been using the .NET interface quite a bit lately with SQL Server, but we are much more interested in data security than speed, so I've not done any benchmarking. And, like you, we use lots and lots of custom SPs.

    Good luck and please let us know how this turns out.

  8. QUOTE (Aristos Queue @ Jan 6 2009, 06:46 PM)

    Have any of you filed a bug report? If not, please do so with VIs/lvproj files attached that reproduce the bug.

    Originally I went through hoops with Tech Support for weeks to get things hacked enough to run and my recent crashes aren't reproducible other than they always occur in tagger.exe.

  9. QUOTE (hooovahh @ Oct 7 2008, 09:38 AM)

    I was kinda hoping this would be a scripting VI which scan a set of VIs and locate all the misspelled words, now that I would use on every VI I made. But that wouldn't fit into your "quick and dirty" definition. This is still a cool program without the scripting feature.

    I use the Spell Checker in VI Analyzer for this. It scans all the VIs, gives a list of misspellings, and you can double-click and it takes you to the place the misspelling occurs. Quick, easy, and you can add words to a user dictionary for company acronyms and such.

  10. At one point, there was a bug in the ODBC drivers for Oracle that limited the size string (or BLOB) you could write at one time. However, with the OLE DB Provider for Oracle, I was able to write 8 MB BLOBs of data (maybe more, I honestly can't remember anymore - it was in the CAR) with no problems. I kept writing bigger and bigger BLOBs to an Oracle table until I ran out of memory. So I recommend checking what driver you are using for your data communication through ADO.

×
×
  • Create New...

Important Information

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