How to manage different instrument models with one driver?

Hi,
I have a driver already developed for an instrument and want to incorporate another model into it. These instruments have the nearly the same instruction set except one is a subset of the other. I would like to know the standard way or the NI way of combining these drivers. Is there a way of storing global data? I'm using LabView 6.0.
Thanks in advance.

There are various techniques used when creating a driver that supports multiple models or models with different installed options, where there are slight functional differences between the models and options.
If there are VIs that only pertain to a specific model or option, then modify the VI prefix to associate that VI with the particular model/option. For example, a function general family driver might use "ag33xxx" as the general prefix, but VIs that only operate on the ag33250 might use the prefix "ag33250".
It sounds as if you need to remember this model/option to modify functionality within a common VI. For example, the commands might differ between two different models. To handle this situation, you store model information in the User Data V
ISA property. At initialization time, you can detect which model you are connected with and either store the model number directly or some ID to represent the model.
Both these techniques are used in the Agilent 33xxx function generator driver . You will see how User Data is set in the Initialize VI and the retrieved in the Configure Burst Modulation VI.

Similar Messages

  • How can I associate 2 appleids with one account or use a different Appleid for imessage as described in another post?

    How can I associate 2 appleids with one account or use a different Appleid for imessage as described in another post?
    I have rejoined the iPhone community, not with one iPhone but with two. My wife agreed to move from the unenlightened!
    I have set up both under my apple account and want to keep it that way. But I do not want iMessages going to both phones. I would like separate message queues but share all apps and other purches from the store.
    I have created a separate AppleID for her but under Settings>Message>Receive At (it currently says 2 addresses) > ... will not allow me to change the current eMail address and when I add hers (her appleid) it errors out. The only thing I can do in the Apple ID field is to manage my account and not change it to hers.
    How can I have 2 iPhones (and my iPad) on the same account but have separate identies?
    Thanks,
    LpGrumpy

    1. Yes. Restart with the Option key held down as needed.
    2. No, it won't be a problem.
    (83373)

  • All songs in my iTunes library are listed twice. I have two copies of my library in two different locations. How do I make iTunes work with one copy of my library?

    All songs in my iTunes library are listed twice. I have two copies of my library in two different locations. How do I make iTunes work with one copy of my library?

    That is the way the iphone works.
    You need to copy everything from your backup copy of your computer.

  • How to manage different load frequencies in OWB?

    How to manage different load frequencies in OWB?
    We are using OWB repository 10.2.0.1.0 and OWB client 10.2.0.1.31. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux.
    We have situation to bring data feed into database using OWB on different load frequency. Eg. Daily, weekly and monthly.
    Are there any builtin features/best approaches in OWB to implement the above?
    Does runtime audit tables maintain such load frequency data?
    If not, do we need to maintain our own tables (custom) to maintain such data?
    How do we able to validate before starting ETL process with respect to previous load frequency for current load?
    How did our forum members handled above situations?
    Any idea ?
    Thanks in advance.
    RI

    If you look at the OWB public function WB_RT_GET_LAST_EXECUTION_TIME you can examine the query OWB uses to return this information. It is based entirely on public views that you should already have synonyms for in your OWB user.
    Now, how you want to implement logic to determine if a mapping is run is entirely up to you If you are using process flows you could embed your call to start a mapping in a custom transformation that queries the repository and starts a given mapping if it deems the correct interval to have passed. We do something similar as a means to perform a process flow restart (it will skip over any successfully completed mappings from the last run if the last COMPLETE run did not finish succesfully), so that a restart picks up where the last run failed.
    The main caveat I would make to mining the runtime repository is that someone purging old data might very well purge the data you are depending on, so you might want to build a couple of tables to hold your own metadata for you. E.g. one table holding the mapping name and desired interval between loads, and another holding the mapping name and last run date. The second table could get updated by the post-mapping procedure of each mapping.
    Anyway, the data IS there in the repository. How you intend to access it or how much you are willing to trust its persistence is up to you.
    Mike

  • How many computers can be upgraded with one 1 purchase mountain lion?

    How many computers can be upgraded with one 1 purchase mountain lion?

    What if I have a Mac with a different apple ID. Can I sign out of that ID and sign in with my other ID and still download it with one purchase?

  • Is it possible to have your whole family on one apple id or is it better to have each person have there own? If each has their own does each id have to buy their own music and apps? How does find my iphone work with one apple id or two?

    Is it possible to have your whole family on one apple id or is it better to have each person have there own? If each has their own does each id have to buy their own music and apps? How does find my iphone work with one apple id or two? also I am going to be going off to college soon should I make an itunes id for my self and how will I get all the music from the old id?

    Is it possible to have your whole family on one apple id or is it better to have each person have there own?
    Yes, it is possible. 1 apple ID can be associated with up to 10 devices.
    If each has their own does each id have to buy their own music and apps?
    Yes, all purchases are non-transferable.
    How does find my iphone work with one apple id or two?
    Every device associated with one apple ID through Find my iPhone is tied to that Apple ID; Find my iPhone will work in the same way with up to ten devices associated with one apple ID. You cannot enable Find my iPhone for one device across two apple IDs
    I am going to be going off to college soon should I make an itunes id for my self and how will I get all the music from the old id?
    If you have authorized a computer with the old apple ID, you can transfer old media purchased through the old to other devices via iTunes. This doesn't mean the media purchases through the old apple ID it transferred to the new account. If you plan to make future purchases and don't wish to share them with others, make your own apple ID.

  • How many ipads can be synced with one itunes account, how many ipads can be synced with one itunes account

    how many ipads can be synced with one itunes account?

    http://gigaom.com/apple/itunes-101-multiple-devices-one-itunes-account/
     Cheers, Tom

  • How to minimize Final Cut pro with one click?

    I know you can minimize windows (canvas, timeline, etc) by pressing Command+M 4 times but how to minimize Final Cut pro with one click?

    Hold down the Option key and click the Minimize button on any window, all windows in the app will minimize.
    Don't know what or if the reverse of this is - so although it's a one click minimize all windows, I believe you have to re-enlarge them one at a time.
    MtD

  • How many PCs can I use with one Creative Cloud subscription?

    How many PCs can I use with one Creative Cloud subscription? For example I currently use Lightroom on a home PC with 2 large screens, but use a laptop or iPad when travelling. Does one monthly subscription cover all 3 or do I need 3 separate subscriptions ?

    You are welcome!
    P.S. when using the adobe forums, please mark helpful/correct responses of Staff or helper, if there are any. 

  • I'm buying a new MAC.  How many machines can you associate with one CS Cloud account?

    I'm buying a new MAC.  How many machines can you associate with one CS Cloud account?

    You can install the software on as many computers as you like.
    However you can only activate the software and use it on a maximum of two computers at any one time.

  • How can i creat several rectangles with one draw rect.vi

    how can i creat several rectangles with one draw rect.vi? thanks
    Solved!
    Go to Solution.

    You can call it in a for loop, with an array of the rectangle coordinates you want to draw. Is this what you mean?
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    rectangle.png ‏11 KB

  • Re: How to create More two class with one object

    haii,
             i have small information How to create More two class with one object,
    bye
    bye
    babu

    Hello
    I assume you want to create multiple instance of your class.
    Assuming that you class is NOT a singleton then simply repeat the CREATE OBJECT statement as many times as you need.
    TYPES: begin of ty_s_class.
    TYPES: instance   TYPE REF TO zcl_myclass.
    TYPES: end of ty_s_class.
    DATA:
      lt_itab      TYPE STANDARD TABLE OF ty_s_class
                     WITH DEFAULT KEY,
      ls_record  TYPE ty_s_class.
      DO 10 TIMES.
        CLEAR: ls_record-instance.
        CREATE OBJECT ls_record-instance.
        APPEND ls_record TO lt_itab.
      ENDDO.
    Regards
      Uwe

  • How can I treat many tables with one handler(?) ?

    Hello~
    I am applying BDB to my embbeded system not rich in resource.
    Some *.db files are called frequently.
    But, Opening a *.db file [db_create(&dbp, NULL, 0) AND dbp->open] takes a long time in BDB
    So, I loaded this functions onto a booting module to call opening functions just one time.
    And all D/B handlers(?) are loaded in all run time
    But, a D/B handler takes about 360Kbytes. And there are too many *.db files(10) where a table is
    How can I treat many tables with one handler(?) ?
    Or
    If you have the most efficient way to call openning functions just one time, please tell me
    Thank you

    Hello,
    Opening the database handles is expensive due to
    opening a file on disk. Is it possible for the application
    to use in-memory dbs? Otherwise is there a way for the application
    to cache the DB handles and reduce the overhead associated with
    opening and closing them?
    Thank you,
    Sandra

  • How many statements can be created with one connection?

    how many statements can be created with one connection?

    and on available memory. At some point, even were the database to allow an infinite number, you'd run out of memory.

  • How to use two seperate iPods with one iTunes. Different Music Preferences

    My Wife and I both have 80 Gig iPods. We like different Music. How can we both use the same Windows XP computer and have different music lists?

    See: How to use multiple iPods with one computer
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Discussions page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums, in the User Tips Library and in the Apple Knowledge Base before you post a question.
    Regards.

Maybe you are looking for

  • Customer payment guarantee procedure

    Hi, How can I assign the amount of the "Customer payment guarantee procedure", because I set the type of the payment guarantee of the master data (XD02) but I cannot find the way to assign the amount. Should I create a FI document? How can FI/SD docu

  • Delay startup of applications in OS X Lion?

    As above, i would like to delay the startup of some items that want to connect to the internet as it seems that the iMac doesnt connect to the internet before these programs start. I know you can prevent them from opening and then open them yourself.

  • EL expressions with c:out tags?

    Hi, If EL expressions are normally evaluated and displayed on a page, what is the purpose of enclosing them in <c:out> tags? Take the following snippet for example: <img src="<c:out value='${initParam.categoryImagePath}${category.name}.jpg'/>"The sam

  • Trouble Installing SAP NetWeaver 7.0 ABAP Trial Version

    Hello everyone, while trying to install the SAP NetWeaver 7.0 ABAP Trial Version some problems occured. I have downloaded both *.RAR files. And extracted them. Starting the Setup Wizard I can select the directory and set the master password. After it

  • Exception: Unable to add a URI or prefix string to dictionary

    I'm getting the "Unable to add a URI or prefix string to dictionary" exception when I was trying to import a 570MB XML document to the container. The exception goes away if I delete my indexes in the container and import the document again. I wonder