Easy question about 3 driver classes

which are the differences between  
Plug and Play normal
Plug and Play (project-style)
and IVI?
i have to make a program to comunicate and control a oscilloscope...
which one i have to download?
Using LabVIEW 7.1

I normally use either the Plug and Play or Plug and Play project style. Both are LabVIEW wrapper functions for the instrument calls and come with a DLL that does the translation into, for example, SCPI commands.
Plug and Play project style is organized more like classes with private and public functions.
I stay away from IVI because I always seem to need to use vendor specific calls that aren't part of the IVI spec, defeating the whole purpose of using IVI.
“A child of five could understand this. Send someone to fetch a child of five.”
― Groucho Marx

Similar Messages

  • ####a question about jdbc driver

    A question about jdbc driver: for Oracle JDBC drivers which will not allow O/R
    tools to access columns over 4 kb. This affects some of the functionality of my
    application.A workaround is to use the my JDBC driver that acts as a wrapper to
    ensure that columns over 4 kb read and persist properly. my JDBC driver determines
    which actual driver to load based on the connection URL. If you pass in a URL
    that contains the string jdbc:oracle:thin, it will know to load oracle.jdbc.driver.OracleDriver.
    If the URL contains the string jdbc:db2, it will know to load COM.ibm.db2.jdbc.net.DB2Driver,
    and so on.
    now i have set CLASSPATH for my jdbc wapper,when I Creating and Configuring a
    JDBC Connection Pool,i have to input my driver name such com.lawrence.driver.....then
    i did,all
    is well,then i restart my WLS,when load config.xml,some errors such as "No registered
    driver accept URL:jdbc:oracle:thin:@localhost:1521:lawrence",if i set driver name
    is oracle.jdbc.driver.OracleDriver,all is good,no any errors.
    I find some questions like:
    1.for WLS8.1 ,it is only find some registed driver?
    2.why it cannot load my driver wapper when it is loading jdbc Connection Pool,but
    when the WLS start is finished, i Creating and Configuring a JDBC Connection Pool
    then it is right?

    my JDBC driver like this:
    public class myDriver implements Driver {
         public static String DB2_DRIVER = "COM.ibm.db2.jdbc.net.DB2Driver";
         public static String DB2_URL = "jdbc:db2:";
         public static String HYPERSONIC_DRIVER = "org.hsqldb.jdbcDriver";
         public static String HYPERSONIC_URL = "jdbc:hsqldb:";
         public static String MYSQL_DRIVER = "com.mysql.jdbc.Driver";
         public static String MYSQL_URL = "jdbc:mysql:";
         public static String ORACLE_DRIVER = "oracle.jdbc.driver.OracleDriver";
         public static String ORACLE_URL = "jdbc:oracle:";
         public static String POSTGRESQL_DRIVER = "org.postgresql.Driver";
         public static String POSTGRESQL_URL = "jdbc:postgresql:";
         public static String SQLSERVER_DRIVER =
              "com.microsoft.jdbc.sqlserver.SQLServerDriver";
         public static String SQLSERVER_URL = "jdbc:microsoft:";
         public boolean acceptsURL(String url) throws SQLException {
              return true;
         public synchronized Connection connect(String url, Properties props)
              throws SQLException {
              if (_driver == null) {
                   Class driverClass = null;
                   try {
                        if (url.startsWith(DB2_URL)) {
                             driverClass = Class.forName(DB2_DRIVER);
                        else if (url.startsWith(HYPERSONIC_URL)) {
                             driverClass = Class.forName(HYPERSONIC_DRIVER);
                        else if (url.startsWith(MYSQL_URL)) {
                             driverClass = Class.forName(MYSQL_DRIVER);
                        else if (url.startsWith(ORACLE_URL)) {
                             driverClass = Class.forName(ORACLE_DRIVER);
                        else if (url.startsWith(POSTGRESQL_URL)) {
                             driverClass = Class.forName(POSTGRESQL_DRIVER);
                        else if (url.startsWith(SQLSERVER_URL)) {
                             driverClass = Class.forName(SQLSERVER_DRIVER);
                        _driver = (Driver)driverClass.newInstance();
                   catch (Exception e) {
                        throw new SQLException(e.getMessage());
              Connection con = _driver.connect(url, props);
              return new myConnection(con);
         public int getMajorVersion() {
              return _driver.getMajorVersion();
         public int getMinorVersion() {
              return _driver.getMinorVersion();
         public DriverPropertyInfo[] getPropertyInfo(String url, Properties props)
              throws SQLException {
              return _driver.getPropertyInfo(url, props);
         public boolean jdbcCompliant() {
              return _driver.jdbcCompliant();
         private Driver _driver;

  • Less dumb follow-up question about super/sub classes in WDJ?

    This is a follow-up question to the question which Maksim answered in this thread:
    Dumb question about super/sub classes in WDJ
    Question:
    Is there any kind of weird C++-like statement that you can put at the top of a WDJ module to force the module to interpret any reference to superclass A as a reference to some specific subclass B of A ???

    David,
    1. Java has no preprocessor, so C++ tricks are not available. Also I would not recommend such tricks even in C++ if you don't want to turn your colleagues working with same code into personal enemies.
    2. The phrase "easier to create a WDJ custom class loader " makes me smile. First, it's not that simple to interfere WDJ class loading scheme. Plus custom class loaders is not trivial Java topic per se.
    3. The problem "replace all A-s with B-s" is typically solved using one or another GoF creation patterns, like <a href="http://en.wikipedia.org/wiki/Abstract_factory_pattern">Abstract Factory</a> or <a href="http://en.wikipedia.org/wiki/Factory_method_pattern">Factory Method</a>. You may use them with custom class loader, if you really want to
    By the way, all UI controls in WD are created using Abstract Factory (role played by view). So you may use this as good example.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Question about required workshop classes for OCP

    Im working on finishing up my OCP in a few months. Quick question about the workshop class. Is there a test at the end of the week?
    Also how do most people pay for these classes? They are pretty steep and my company doesnt pay for stuff like this for me. Im paying totally out of my own pocket. Also why is the online class the same amount as the instructor lead class? Its not like im in a room at some building that Oracle has to lease for use or something.

    RedDeuce wrote:
    Im working on finishing up my OCP in a few months.What Certificate exactly are you working towards?
    Also how do most people pay for these classes? They are pretty steep and my company doesnt pay for stuff like this for me. Im paying totally out of my own pocket.Then talk to your employer again or maybe look for other jobs that support your plan better.
    Also why is the online class the same amount as the instructor lead class? Its not like im in a room at some building that Oracle has to lease for use or something.They know that you might save on expenses for travel and hotel etc.

  • Few questions about Calendar / SimpleDateFormat classes

    Hi.
    I have few questions about Calendar class:
    1. How can I get only date representation (without the time)?
    after doing:
    Calendar cal = Calendar.getInstance();
    I tried to clear unecessary fields:
    cal.clear(Calendar.SECOND);
    cal.clear(Calendar.MINUTE);
    cal.clear(Calendar.HOUR_OF_DAY);
    But after printing the time, it seems that the HOUR was not cleared:
    SimpleDateFormat sdf1 = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
    System.out.println(sdf1.format(cal.getTime()));
    ---> 03/11/2004 17:00:00
    Am I missing somthing?
    2. I want to make sure that two different formats couldn't be compared. i.e., if I'll try to parse one String according to different format -- ParseException will be thrown.
    String date = "19/04/2004 13:06:10";
    SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
    Date dateObj = sdf.parse(date);
    However, even though that formats are different, no exception is thrown and the return Date is 19/04/2004 00:00:00.
    How can I cause to exception to be thrown if formats are not identical?
    Thanks in advanced

    The Calendar class has a few of what Microsoft would call 'features'. :^)
    To clear the time, call:
    calendar.set(calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY), 0, 0, 0);
    If you want 'pessimistic' rather than 'optimistic' date parsing, you have two options:
    1) Call calendar.setLenient(false);
    See if that is strict enough for your needs, otherwise:
    2) Write code to ensure a stricter parsing of the string passed in. For example, you could very simply check the length of the string to determine if time data is also present.
    When parsing, a string like '02/29/02' would parse to the date '03/01/02'. Setting lenient to false may fix this, but the surest way is to do some testing and then make the parsing more pessimistic where it suits your needs.
    - Saish
    "My karma ran over your dogma." - Anon

  • Question about using container class - Map

    hi all
    i have a question about the following :
    i have two sets of data, both use a common filed as key for the map:
    A = {a,b,d,f,g,h} and B = {a,d,e,g,i,k}, each key has a value associated with.
    i need to find out the commonality, and the difference - i.e fields are in map A but not in Map B, and some fields that are in B but not in A. is there any quick method that comes with the collection class that can calculate this? thanks

    yes, the keyset will be used to access values.
    so, SetA.retainAll(SetB) will modify the SetA so that it contains keys that are in both SetA and SetB - the intersection.
    and SetA.removeAll(SetB) will modify the SetA so that it only contains keys that are in SetA, but not in SetB?
    correct?

  • Very basic questions about hard drives

    I'm upgrading from vintage Beige G3, so much of the jargon about internal drives is new to me.
    My MacPro will come with an OEM 160 GB drive. I will use this for my primary boot drive -- OS and Apps. All my data, photo files etc. will be kept on my second/third drives. I do not plan any sort of RAID setup. Windows is going nowhere near my Mac.
    For the extra drives --
    1) SATA? SATA II? What's the difference and is it critical?
    1a) What is a "raptor" drive?
    2) Does size matter (we're talking about GBs here, guys...)
    3) Reliability is more important to me than speed or noise. We're a long long way from any technical help or even UPS.
    4) Do new drives need to be formatted before using them internally?
    5) If I partition one of the extra drives so I can keep a clean, backup OS boot partition, I need to format it as GUID, correct? Or does that just apply to external firewire boot drives? Does it matter which partition will be the boot partition?
    6) I've read discussions about firmware requirements for some drives. What's that all about?
    I was leaning toward MaxLine Pro 500 GB drives, but have been reading (reading too much, perhaps?) and now have all the above questions/concerns. (Whatever happened to the good ol' days of "buy an IDE drive, insert, play"?)
    Thanks for your patience with these questions. I need to get it right the first time because of our remoteness!

    1. SATA 1 interface speed rated at 1.5 Gb/s; SATA II interface speed rated at 3.0 Gb/s.
    2. Drive ratings/performance is determined by many factors. You can best find out about individual drive performance by visiting http://www.storagereview.com/ to see their benchmark results on various drives. You will also find some helpful comparisons at http://www.barefeats.com/.
    3. As for drive specs see previous answer. Generally speaking within any manufacturer's category of drive models for a given size the fastest drive will be the most expensive. Manufacturer specs usually do not provide any idea about drive performance in real world situations. Only benchmark comparisons are really useful, and even those can be confusing.
    4. Yes, you can boot an Intel Mac from an APM partitioned drive. You simply cannot install OS X from the installer disc because it will refuse to install on a drive that has not been GUID partitioned.
    5. Some older Seagate 750 GB models were not working properly when installed in a RAID configuration on Mac Pro computers. Seagate provided a firmware update to fix the problem for those who already owned the affected drives.
    I don't know where you got the idea that Intel Macs were "picky about such things." Nor that installing drives in a beige G3 was a no-brainer. The old beige G3 required a lot of mechanical effort to mount a new drive internally. You not only had to connect all the various cables, but if you had two drives on the same ribbon cable each drive had to be jumpered properly - one as MASTER and one as SLAVE. Some older ATA hard drives had two different jumper settings for a MASTER - MASTER solo and MASTER w/SLAVE. Some beige G3 models wouldn't even boot OS X unless it was installed on a MASTER drive. And, you could not install OS X on a large drive except by partitioning the drive with an 8 GB partition for OS X that had to be the first partition on the drive. RAIDs may work or not depending on if you ran OS 9 or OS X. At least to me that wasn't the "good old days" unless you were comparing installing ATA drives to dealing with SCSI. I would say that in your particular case you were lucky, and you never tried putting two drives on the same ribbon cable. Oh, and I forgot about the size limiting jumper on most ATA large drives to limit capacity to 32 GBs because that's all that was supported by FAT32. Oh, yes, and the beige G3's disk controller did not support drives larger than 128 GBs.

  • Easy question about Reformatting

    Hello all,
    I am trying to reformat my HD after I have deleted Windows XP off of a partition. The reason for this is an upgrade to Vista and a larger allotment of HD space. My question is:
    I am using Backup v3.1.1. (v369) and I have FULL backup files of my Home folder, and my Music folder (as backup for my backup) for all my iTunes libraries. These are located on a portable HD. Are these the correct files to have backed up in order to have my MAC the way it was before I started the process? If so, then once the reformatting is complete, how do I get it all back onto my MAC permanently? Will all my apps and tweaks work as before?
    I am sure this is a simple question, however, I have never had to do this with a MAC, and I want to make sure I have all bases covered before I begin this. Any other comments or advice would be greatly appreciated.
    Thanks All!

    You call this an easy question ???
    Just messin with ya
    Your home folder is the most important folder containing your music, documents, preferences etc. but a lot is also stored in the system folder and library folder outside your home folder, if you want to be ensured of an exact copy of your current system the best way to go at this is to clone your system partition.
    The app i use for this is carbonCopyCloner
    http://www.bombich.com/software/ccc.html
    To add to this.. i've heard there is software for the mac that allows you to make adjustments to the size of your partitions without having to format the drive, i don't know the names of these products but i do know that it's very risky to use them, if you decide to use an app like that make sure you have proper backups of everything just in case it goes wrong.
    Message was edited by: Pr0digy V.

  • Question about hard drive, need help lol.

    Hey I'm kinda new to the MacBook world and have a stupid question. I am getting a late 2009 MacBook unibody (white polycarbonate, model MacBook 6.1... I believe) I am switching the original 250gb 5400 rpm hard drive out for a Seagate Momentus XT 750gb 7400 rpm hybrid hard drive. I want to keep everything on the original hard drive and just pop the new hard drive and start fresh with Snow Leopard. I'm going to purchase the SL cd from apple but I do not have the original  grey start up cd that came with it (my girlfriends little sister lost it). Do I need to call apple for that cd in order to start fresh on my new hard drive or is everything I need on the SL cd?
    Also how do I go about wiping the whole computer when I put the hard drive in and use SL? I want to essentially have a completely clean laptop with a new hard drive.
    Thanks for your help in advance.

    The SL disc you get from Apple will do everything you need. When you nstall the new hard drive there will be nothing to wipe, the drive is the only piece of that Mac hat stores anything so you don't need to worry about that. Post back and let me know how that hybrid drive works out....I'm interested.

  • Question about hard drives older xraid

    We have an "older" XRaid stocked with 14 250 GB drives, connected to an xserve with fiber channel. Our premium Applecare agreement for the XRaid expired a few months ago. Prior to that, when a drive would fail, I would simply get a replacement from Apple, but I always kept a good spare drive in a drive module so that I could swap it in while waiting for the new module. I expect some drives to start failing as they get older, and buying drives in Apple drive modules is very expensive (over $600 for a 250 GB drive, if you can even find them). So my plan is to just buy bare drives and pop them into the existing drive modules when needed. My questions are:
    Are these drives ATA's or SATA's?
    What is the maximum drive size that each drive can be? Can I pull out all 7 drives on one side or the other and replace them with, say, 500 GB drives? (obviously I would have to re-init the array). Any help would be appreciated.

    >Are these drives ATA's or SATA's?
    The XServe RAID uses ATA 133 drives.
    > What is the maximum drive size that each drive can be?
    That depends on the firmware version. If you haven't updated the firmware since you got the machine, then 250GB is as big as you can go. If up update the firmware you can use 750GB drives (the largest drive currently available in the XServe RAID).
    > I pull out all 7 drives on one side or the other and replace them with, say, 500 GB drives?
    If you're not worried about warranty/support or the integrity of your data, sure. Lots of people have reported success doing this. Just be careful regarding the drives you get. Do NOT jump on the cheapest, nastiest drive you can find - there's a reason why that 750GB drive costs $99. All drives are NOT the same. You need to make sure you get server-rated drives. Most consumer/home drives are rated for something like 50,000 hours MBTF at 20% utilization (your home machine isn't always on, and is often idle even when it is on). By comparison, server drives have a much higher MTBF at a higher utilization (as much as 500,000 hours at 80% utilization).
    If you don't care about drive failures then you can use the cheaper drives, just be prepared to deal with the failures.
    Also, make sure you get identical make/model drives for al disks in the array. Mismatching drives in an array is going to cause a huge performance hit since the drives are not in sync.

  • Question about Raptor drives

    I have a Mac Pro, obviously, and am considering using a Raptor drive for my boot drive.
    I am new to Raptor drives, so can someone explain a few of my questions so I can determine if it is worth my money and time?
    Basically, I am a photographer, shooting RAW, using Aperture and CS3. That is my main use of rthe computer. The files I shoot are from the Canon 1Ds Mark III and are huge (21 megapixel each).
    If I use a Raptor drive as my boot drive with my OS and apps on it, how will this affect my red write speed on my other 3 internal drives (which are all Seagate 1 terabytes).
    I also have an external RAID system for my ever growing library from Aperture as well. I shoot about 3 terabytes of images per year.
    Is a raptor drive going to help me? Or because I won't sroe much on the main boot drive, is this silly?
    Please, when explaining, or asking me for more information, try not to use TOO much tech speak. I know very little about this stuff.
    I am learning ...

    KevShootz wrote:
    Please, when explaining, or asking me for more information, try not to use TOO much tech speak. I know very little about this stuff.
    Then let me caution you against getting sucked into the speed-demon vortex. The minute you say Raptor, you immediately attract users who typically pay closer attention to their stop-watches than they do their retouching skills. Most don't even use Photoshop, which is why I recommend every photographer consult with MacGurus.com. The owners are photographers.
    My new MacPro is FAST, especially when compared to my G4 MDD. Would I notice the millisecond differences if I had a Raptor for boot? No. I don't own a stop-watch. I sold my Raptor on eBay.
    For photographers, memory seems to be the first key to speed. You may be better off budgeting for memory than trying to figure out how to put your OS safely on a Raptor so you can (not) see how much faster your system boots. Certainly, the more storage, the better. Be certain you understand the risks with RAID.
    MacGurus has some great literature for photographer workstations. Don't hesitate to give them a call and speak to Rick or Brian if you need detailed answers. They are one helpful business, probably the best resource for photographers in the marketplace.

  • Looking for tjacobs to answer a few questions about his StandardPrint Class

    Hello,
    Hopefully tjacobs will see this post and answer it as soon as he has time. I am trying to use your Standard Print class in a program I am developing to Print a JPanel in a JScrollPane and am running into trouble. I will have more info for you if you can find it in your heart to reply.
    Thank you,
    Ray Jaramillo

    I'm in exactly the same boat as you... gonna be using it as my primary computer, graduating college soon, and my first mac. I'll be going with the 13 inch MacBook Air.
    The Pro and the Air are nearly identical performance-wise and so that means the only advantage of the Pro is the storage space (unless you count the cd drive as an advantage). The Air is way more portable and has a better display, I don't know about you but my current cd drive rarely gets used so might as well get rid of it.
    I have also compared them side-by-side in the store and that was really what won me over to the Air. The 11-inch Air was there too but the screen just seems too small, especially if you are doing work/writing essays etc.
    Hope that helped

  • Question about NAS drives

    Im looking to get some network attached storage for my home. I have a 20 inch iMac that is hard wired and a 15 inch macbook pro (not 802.11N). I have a linksys 802.11N router that i have set up. I want to attach a NAS, and was thinking about this one
    http://www.westerndigital.com/en/products/Products.asp?DriveID=279
    My questions.
    1) Would it be fast enough?
    2) If i put my itunes library on it and stream that to my Apple TV (when it gets here) will there be any buffer time?
    3) I use FCP a lot and would use it as my capture disc, will that be fast?
    4) Are there any other drives i should look at first?
    As you can see im really worried about speed so anyone that can help please let me know. Thanks

    -

  • Easy Question--External Hard Drive

    My new iMac 24" will arrive in a day or two.
    Here is the question:
    I'm comming from XP (puke). All my photo's and iTunes music is on an external Maxtor UBS hard drive. Will I be able to plug the Maxtor into the iMac UBS and get my music and photo's???? Will the iMac OS recconnize the Maxtor?? The rest of the "stuff" on the external I'm not worried about.
    Gotta have my "tunes & Photo's".
    Thanks...... Man,,, NO MORE XP BLUES!

    YA-HOOOOOOOOO,,,,
    That means that I will be able to "copy & paste" the music and Photo's on to the iMac drive??
    WOW,,, what a releive!!! BIG thanks!!! You know,, in Windows, I was always afraid to even sneeze around the computer 'cause it would screw up.
    Now, first thing I can get my "jams" playing!!!!

  • Questions about Hard Drive Replacement

    I am debating putting in a new Hard Drive 100GB. I am not very technical but have changed memory in my MacBook to 1GB. I am a bit nervous about doing this. I have read the Apple Doc on doing it and was wondering about the tab. How does the tab connect to the new drive? Is it all as easy as it looks? Just pop the old one out, put the new one in and reboot holding down the c key? Reformat the drive and then install osx? I was wondering how many people have already done it and their experiences with it? Thanks

    On a MacBook, the HD swap is very simple. Because the drive is SATA, the connections are sturdier than former ATA drives and you don't have to worry about snapping off the connecting pins.
    The white "tab" used to pull the drive is just a piece of thin plastic glued onto the tray. Not the most sturdy stuff, but it'll do it's job. When you pull, just pull straight out - don't twist or turn the tab! Same goes for inserting the new drive: push straight in so it stays aligned with the rubber mounting rails.
    *If you want to save the data, the best way to install a new hard drive is to:
    1. Buy the new drive AND an external firewire case (USB will also work)
    2. Put the new drive in the external case
    3. Use "Carbon Copy Cloner" to duplicate your existing drive to the external one
    4. Physically swap the drives and OSX should boot from your newly installed drive as if nothing changed.
    Once you upgrade to a 7200RPM, the following things will be noticeably faster:
    System Startup
    Opening of any application
    Anything that requires lots of HD reading/writing.
    The last category includes any video/sound editing, such as Garageband, iMovie and iDVD. Shuffling through your iPhoto collection should also be faster. You might not notice the difference though, since the MacBook is already pretty fast
    I would definitely couple it with a ram upgrade as well. With a large amount of physical ram, the HD upgrade won't make as much of a difference.

Maybe you are looking for

  • Error when publishing on a second computer

    I'm well down the path developing my first iOS and Android apps. Because I'm on the road for the next few weeks, I've transferred stuff onto my MacBook so I can keep working on it. At least that's the plan. I'm working in Flash CS5.5 and both desktop

  • Modifying a Application Substitution String in Run-time

    Hello all, I have a substitution string defined in an application (under application definition) that needs to be different based on whether the application is on a development server or a test server. Is there a way that I can alter the value of tha

  • IPhoto won't open. Modified and created dates say 12/31/69

    iPhoto won't open. Modified and created dates say 12/31/69.  Help! OS is Tiger. Older G4 Powerbook.

  • Out of date Brazil map on Nokia 3710

    Hello, I live in Brasil and I bought a Nokia 3710, which has an internal GPS receiver and came with Nokia Maps 2 pre-installed. I have already checked for both software and maps update on Ovi Suite. There was no software update, but Ovi Suite did upd

  • [SOLVED] Emacs Key Theme in Gnome but Retain Select All with Ctrl-a?

    Using gnome tweak tool, I switched key theme to emacs. However, now when I press ctrl-A it no longer selects all. Especially given that "Ctrl-x h" isn't working to select all (not a problem! I want ctrl-a), I would like to keep the emacs key theme bu