How to know if board has already been intialized

Hello,
   I am trying to automate a microscopy stage.  I need to be able to move the stage in XY with blended motion, and in Z with single axis control.  I have been able to do this but I still have one glaring problem.  The module for the XY stage may be loaded first, or the Z stage may be loaded first.  The one that get loaded first needs to initialize the board, and then the rest need to just run on the board.  I do not know beforehand which one will be first and I have not been able to figure out how to transfer this information between the programs as I have multiple boards that are running from this system and the user may decide to control the stage with one board and the Z focus with a different one.  
So with all of that, is there a function that will tell you if the board has been initialized.  Here is what I want to do
Start .dll
Get properties (Board ID, Axis, blend mode....)
Check if board is initialized.   If not then flex_initialize_controller (BOARDID,null);
Set up axis...
Run program.
Thanks
Solved!
Go to Solution.

When an NI 73xx motion control board is not initialized (e. g. after a power cycle or a board reset), the board is in Power-Up Reset state. The initialization routine needs to reset this flag to prepare the board for normal operation. You can read the Power-Up Reset flag with flex_read_csr_rtn().
I hope this helps,
Jochen Klier
National Instruments

Similar Messages

  • How to know the report has already been sent to printer?

    Dear All,
    I have one problem to check that the report has been printed on paper through a printer after user already previewed and pressed Printer button. Is there any parameter will be sent back from system to inform the program? Please suggest me if you have developed or solved this problem.
    Thank you in advance.
    Pawinee H.
    e-mail: [email protected]
    null

    Yes. I ran the code example and it ran successfully.
    So if we wanna generate report by java code, we should use the code as a http client to access report server to do it.
    I think we could use url http://server:port/reports/rwservlet/showjobid to know the status of generating report (i.e. successful or failed).
    And one more question is that could I get the jobid by any url as soon as I generate my report?
    Thanks a lot.
    Best Regards.

  • How to know an invoice has not been paid in table RBKP ?

    Hello,
    In the table RBKP, How can we get the data for the invoice that have not been paid in FI. Which condition and relationship between this table and other FI table......??
    Thanks

    Hi,
    this blog might be useful:
    /people/tao.zhang/blog/2009/04/07/magical-function-2-of-sap-query
    Best regards.

  • How can I tell what has already been edited in Ps CC?

    When using PS5 the photos that have yet to be edited have a white border, and the ones that have been edited, have a black border.  In PS CC, they are all white.  Is there a setting I can change to correct this?

    Note that in comparison to the data above, the unedited image shows identical Created and Modified dates. Even if it had been edited the same day, time difference would reflect editing.to alert you to an edited image

  • I just rented a movie yesterday and went to transfer it from my pc to my ipad.  it says the movie has already been transfered to another device.  how do i know what device it was transferred to?

    I just rented a movie yesterday and went to transfer it from my pc to my ipad.  it says the movie has already been transfered to another device.  how do i know what device it was transferred to?

    Hello, I am having the same problem

  • HT201272 There is a TV series season that itunes  identifies as PURCHASED but will not download as it says it has already been downloaded but I have no idea where the initial download is. Anyone know how to fix this?

    There is a TV series season that itunes  identifies as PURCHASED but will not download as it says it has already been downloaded but I have no idea where the initial download is. Anyone know how to fix this?

    Cancel your storage upgrade
    If you upgrade or renew your storage but no longer need it, you can cancel. If you cancel your storage plan within 15 days of an upgrade or within 45 days after a yearly payment, you can contact Apple for a full refund. After this period, you can downgrade your storage for the following year.
    Note:  Partial refunds are available where required by law.
    From here  >  http://help.apple.com/icloud/?lang=en#mma3518f8580
    HelpKimIsAlreadyTaken wrote:
    Since I purchased about $70 worth of movies and books and they won't load onto my iPad, do you think iTunes will refund my money?
    If you make more room on your Device perhaps you can View/ use the purchases...
    However if you would prefer a Refund... you can always ask... be sure to explain your situation...
    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    Note:
    It is stated that all sales are final

  • How do I get a refund on Export PDF that has ALREADY been agreed

    On 1/21-1/22 I tried to 'renew' a subscription for Export PDF. By some error (maybe mine - I just dont understand the whole thing) my Bank was immediately charged for two subscriptions, each at a different price. I immediately "chat"ted with several  reps (it was difficult to get onto the chat and find out how to cancel) and was assured that both would be cancelled and refunded. They weren't!
    I waited a week. Was again frustrated by the chat hookup, and tried the 'cloud' retail product tel #, assuming it was wrong but that I could be switched to the correct one. Had a very pleasant chat, was assured that both would be cancelled and refunded, received 2 e-mails confirming the cancellations, each with a seperate "Case #". Felt pretty good! It had only taken me a week of reasonably diligent effort to get a very simple thing done! IT WASN"T DONE! (Yes, I apologize - I know I'm loud - but by now I've got steam coming out of my ears!)
    Today I got an e-mail, telling me that the refund had been processed and the case # would be closed. I looked at my bank, and only one had been refunded! I reviewed all the other e-mails and the notes from the telephone calls and chats to be sure I hadn't misunderstood something. But, no I hadn't. I went to my Adobe on-line and looked up 'my orders' history. Sure enough one had been invoiced and refunded ( the lesser charge of the two) but the other had ONLY BEEN INVOICED - NOT CANCELLED. And it seems that every piece of this transaction generates a new "order" , "case" or some other "reference #" - none of which are tied together, except by the invoice amount, when it is mentioned - which it typically IS NOT.
    My question, then, is : How can I get past this absolute frustration over every aspect of my interaction with Adobe and GET THIS TAKEN CARE OF?????????

    Hi Stacy,
        What frustration? (Just kidding !)
        As I mentioned, one of the two charges has been  refunded. Credited by
    Adobe on Jan 28, I believe I received it in my bank on Jan  30.
        The other charge, $25.37 of order # AD011017507,  has not been received
    by my bank yet. But this can't be that much of a surprise,  and has nothing
    to do with "10 business days" for refunds to post.
        To this minute, "My Orders" on Adobe website shows  that the order #
    AD011017507  was invoiced on January 22, but that no  credit invoice has been
    posted against this order to this moment!
        Can you begin to understand the frustration of  being unable, through
    all attempts to untangle this mess, starting within  one hour of the original
    order, with I believe nine different "Chats",  telephone calls and, finally
    a "problem" posting,  stretching over more  than thirteen days. Of course
    it doesn't make much sense to devote this much  attention to less than $50
    worth of stuff, but I do not let things like this  dangle.
        And can you imagine how loathe I am to deal with  Adobe for fear of
    some real problem?
        At any rate, I would certainly be pleased if you  can suggest a way for
    me to extricate myself from this. Any help would be  GREATLY appreciated!
        Thanks for your time and any trouble,
        Stephen Ellis
        <removed by admin>
    In a message dated 2/3/2014 4:08:59 P.M. Eastern Standard Time, 
    [email protected] writes:
    Re:  How do I get a refund on Export PDF that has ALREADY been agreed 
    created by StacySison (http://forums.adobe.com/people/StacySison)  in 
    Adobe ExportPDF - View the full  discussion
    (http://forums.adobe.com/message/6082008#6082008)

  • I was gifted an app and it says this code has already been used How do i find the code.

    I was giften an app and when i got to itunes it said this code has already been used. I don't even know how you find the code when you are gifted an app from someone. My question is how do you find the code to enter when you are gifted an app?

    See here:  iTunes 10 for Windows: Redeem an iTunes allowance, gift certificate, or Gift Card
    B-rock

  • How do you search through configured Alternate Extensions to correct error message : The phone number or extension has already been assigned to some other object.

    When configuring a new Unity Voicemail Account I receive this message : The phone number or extension has already been assigned to some other object. I understand that this means that the 10 digit number I am trying to configure as the alternate extension for this user is already configured for another object with Unity.
    I need to search by the 10 digit number and determine where it is configured so I can change it and map to the correct end user.
    I have attempted to to search Users via DTMF Access ID using the 10 digit number with nothing being returned via that search.
    How do I Search all of the copnfigured Alternate Extensions within our Unity Server?

    A subscriber info dump is likely the fastest way.  If you're curious regarding other methods, you can also use the Data Link Explorer (CUDLE) tool which is in the Cisco Unity Tools Depot.  All extensions for all objects are referenced in the "DTMFAccessId" table.  The View menu has a Query Builder which you can use to compile a SQL query that searches for a digit string.  It's best to search for both the 10 digit string as well as an abbreviated string as Unity sees them essentially the same and they are usually should be associated with a single subscriber.  Once you find a match, you can use the "ParentObjectId" value associated with the DTMF access ID to look for a matching owner in the "GlobalSubscriber" table.  The ParentObjectId should match the SubscriberObjectId for a subscriber (assuming the DTMF access ID is assigned to a subscriber).  This is the same thing as looking at SQL; however, you are not directly accessing the DB so this is generally considered the safest way to browse and get a feel for where things are.
    Hailey

  • How do you transfer playlists from on computer to a new one, library has already been transfered

    how do you transfer playlists from on computer to a new one, library has already been transfered

    - Why not just copy the iTunes computer folder to the new computer?
    - You can transfer iTunes purchases to the computer by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    - You can transfer non-iTunes purchased music by using one of the third-party programs discussed in ths previous discussion:
    Best iPod to PC
    - Unless you can move/copy the iPod backup file from your old computer to the new one and restore from backup, you will have to restore to factory defaults/new iPod and thus loose all app date. The iPod backup file is located:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\

  • How do you pay for apps with credit on your account from an itunes gift card that has already been redreemed and the credit id on the account?

    how do you pay for apps with credit on your account from an itunes gift card that has already been redreemed and the credit id on the account?

    jen19 wrote:
    how do you pay for apps with credit on your account from an itunes gift card that has already been redreemed and the credit id on the account?
    Just buy something.

  • How can I verify credit of an itunes card that has already been redeemed?  My Grandson and I both redeemed itune cards on our shared account about the same time. There isn't a credit balance after his purchase?

    How can I verify credit for an itunes card that has already been redeemed?  My Grandson and I both redeemed itune cards on our shared account about the same time. There isn't a credit balance after his purchase?

    Have you checked the account's purchase history to see if anything could have used up the balance : See your purchase history in the iTunes Store - Apple Support ?
    If there aren't any purchases then try logging out and back into the account (e.g. on your iPad tap on your id in Settings > Stores and then log back in) and see if a balance then shows on it. My account's balance shows at the top right of the store's page on my computer's iTunes, by clicking on my name towards the top right of the iTunes screen, and by logging in to view my account via the Store > View Account menu option. On my iPad devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > Stores and it should show on the screen that you are taken to)

  • I bought songs on my laptop which synced to my iphone and iPad.  But I can't find them on itunes library on my home computer.  However, when I click download for the same song it says it has already been purchased.  How do I find it on home computer?

    I bought songs on my laptop which synced to my iphone and iPad.  But I can't find them on itunes library on my home computer.  However, when I click download for the same song it says it has already been purchased.  How do I find it on home computer?

    Is your "home computer" the same as your laptop or are these two different machines?

  • 1. How can we search the Forum to see if a question has already been asked? 2. Can I send a Web Page and not just its Link?

    1. How can we search the Forum to see if a question has already been asked? Search goes back to Help and out of the Forum.
    2. Can I send a Web Page and not just its Link? Explorer allows it.

    1. How can we search the Forum to see if a question has already been asked? Search goes back to Help and out of the Forum.
    2. Can I send a Web Page and not just its Link? Explorer allows it.

  • HT1539 I am getting an error that my Disc cannot be found, may be dirty, etc...  Please reinsert and try again.  After retrying, I cannot download, as the redemption code indicates that it has already been used.  How do I download movie now?

    I am getting an error that my Disc cannot be found, may be dirty, etc...  Please reinsert and try again.  After retrying, I cannot download, as the redemption code indicates that it has already been used.  How do I download movie now?

    Thanks for the quick advice!
    Unfortunately, I am still unable to open my core productivity apps, namely Skype and Evernote. Twitter, as well, could not start. But interesting quick fix though, I never knew you could do that.
    Here's the error log after the restart:
    What else should I try?

Maybe you are looking for

  • How recover data from .dat file without application

    Dears, We are active for a few customers who will use an windows application with, so far we can see, an flat file UNIX structure database. It seems that the structure of the database is nearly the structure who used in Berkeley DB. That means that w

  • Insert into - commit_form - records disapears

    Hi folks; I 'm working with Forms6i and Oracle 9i r2 database. I got a problem on a table T_ENV, it's an session environnement table where I store informations about the login_name, id_session and else... When a user is log to the application (trigge

  • MBP getting slow and sliuggish.

    Hello I hope this is the right forum to post this but I'm new to MAC, having bought my first MBP. I also use Final Cut Express. My external drive is a LaCie 500gb usb/Fw400/|FW800/eSata and contains all my video files as well as being the time machin

  • Unable to print preview adobe form

    hi to all, i was developing a simple abobe form to display text fields with a single input. when i give print preview, the same input screen is displyed again but in display mode. i used latest adobe reader. please help me out. thanks in advance.

  • My PSE 8 is frozen on the computer screen.

    I placed the classroom in a book for PSE 8 with the lessons onto the computer. Now the only thing that appears on the organizer screen is lesson 2 . I no longer have access to any of my own pictures. Any help to get rid of the lesson program and get