Migrating NI-CAN applicatio​n to NI-XNET delphi

I want to migrate a NI-CAN application to NI-XNET. My application run on a NI-PCI-CAN series 2 and i need it work on a NI PXI-8512 .
I develop with delphi.
I followed the "Migrating NI-CAN Applications to NI-XNET" tutorial : http://www.ni.com/white-paper/9717/en/
I can see the card in MAX like explain in the tutorial.
I realised a small application who show the receive data. That application work well with my first card but didn't work with the new. 
From the NI-CAN library i use : ncConfig, ncWaitForState, ncOpenObject et ncRead.
I want my NI-CAN application work on my new card without touch the source code. Is it possible?
Solved!
Go to Solution.

That tutorial is only for LabVIEW. I think you will have to modify your source to use the new card. 
Jesse Dennis
Design Engineer
Erdos Miller

Similar Messages

  • Migration Assistant can't find External HD on MacBook Pro Mid-2012

    Hi, I have a MacBook Pro Mid-2012 running OS X Mountain Lion 10.8.2 and I am trying to use Migration Assistant to transfer Time Machine backups that are on my external hard drive, that I backed up from my old MacBook Mid-2010. The problem I am having is that Migration Assistant can't find my external hard drive. My MacBook Pro can find it when I plug it in (I see it in Finder), but Migration Assistant can't. Can anyone help or should I go to the Apple Store?  I need help with this problem as soon as possible.
    Thanks in advance,
    - Daniel 

    Since no one replied I figured out how to do it myself.
    1.) First I plugged in my external hard drive with my Time Machine backups on them, then I opened Finder and click on my external hard drive under devices.
    2.) Next I clicked on and opened the folder named "Backups.backupdb"
    3.) Once inside that folder I could see folders with the backups from Time Machine and all of the folders names were the date I backed up that backup. I clicked and opended the lastest backup folder.
    4.) Inside that folder, I clicked and opened the folder named "Macintosh HD"
    5.) Inside that folder, I clicked and opended the folder named "Users"
    6.) Inside that folder, I clicked and opended the folder named "Daniel" which was my Username on my previous Mac.
    7.) Finally I could see and access all my folders from my Time Machine backups from my previous Mac.
    Keep in mind this is only helpful if you are trying to access old backups (backed up from another Mac) on a new or different Mac. (Sorry for the blurry images)
    Hope this somehow helps someone else,
    - Daniel 

  • CAN Frame Signal Conversion With XNet

    When dealing with CAN, most new developer struggle with the Frame and Channel (or Signal) conversion.  Developers are trying to get away with using the cheapest CAN hardware, and as a result are opting to not use XNet hardware but instead use things like the USB 8473, or using non-NI hardware like the ValueCAN by Intrepid, or using Vector hardware, or CAN to serial adapaters.  The problem with all of these is you generally just read and write frames which is the raw form of CAN.  When using these cheap devices you can't ask the CAN bus what the signal Bus_Voltage is, instead you need to perform a frame read, find the frame associated with the signal, then pull out the bits for that signal, then scale the signal based on the signal selected.
    All of this is doable but a pain and can be very custom.  That's one reason NI came out with the Frame Channel Conversion Library.  This library converts from Frames to Channels using an industry standard CAN database file.  The problem with this library is it hasn't been updated in 5 years, and has known issues which likely will never be fixed.
    NI has since come out with XNet which supports reading and writing signals on XNet hardware.  The XNet drivers also support converting Frames to Signals without needing hardware at all.  This conversion has several limitations, and really only works for getting the latest value for a signal, not all values.  And in addition to that if the signal was never seen, the value will be the defaul value for that signal, not NaN.
    So I wrote a wrapper around the XNet conversion library to handle going from signals to frames, or from frames to signals.  Anyone looking to use a DBC file, on hardware that only supports frame API should use this conversion library, or at least use the XNet conversion sessions.
    CAN Frame Signal Conversion Using XNet 
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

    Hello Hooovahh,
    Nice work  . It’s very useful.
    I’m also converting CAN Raw data to Physical values in my project. Yes, your correct XNET APIs have some limitations. as you mentioned, there is one more limitation I found,
    If your Message Data length (Payload) is 4 Bytes (example) and other CAN Frames are having more than 4 Bytes then its throwing Error (Error Code -1074384737).
    While converting CAN Frames to signals, we will get different Payloads but, our selected signal message have 4 bytes then XNET will gives an error (at the time of Data Conversion).
    As per attached Snap, My Signal is related to IDxBB and I’m sending two different Frames then XNET will not convert.
    Hooovahh Wrote:
    NI has since come out with XNet which supports reading and writing signals on XNet hardware.  The XNet drivers also support converting Frames to Signals without needing hardware at all.  This conversion has several limitations, and really only works for getting the latest value for a signal, not all values.  And in addition to that if the signal was never seen, the value will be the default value for that signal, not NaN.
    When we will send Frame by Frame then we will get all values (not only recent values). XNET will take previous value (if data is not present for Next iteration)
    Please check this snippet for all values & NaN Display.
    Munna

  • New macbook pro has frozen during windows migration and can,t operate, new macbook pro has frozen during windows migration and can,t operate

    trying to set up new macbook and has frozen during the process of using windows migration, now can,t get it to go

    Try just holding down the power key to power off - you may have some files that migrated, maybe, maybe not.
    You won't hurt anything - just have to try MA again if it doesn't work the first time.
    Clinton

  • Migration assistant can't find external hard drive

    I bought a Macbook Air and I can't move my files from the Time Machine created by my previous MacBook. Specifically, migration assistant can't find the external disk. I can see the external disc on the desktop, it's just the migration assistant that can't find it. I've done software update, I've attached and detached the external disk and restarted the Air in all imaginable combinations, migration assistant still can't see the external disk. Anyone know how to fix this problem?

    franz1 wrote:
    The top one has icons showing the two partitions from the external drive and the Air's HD.
    That sounds like the Today (Now) display, the one that's show in full when you first Enter Time Machine.  It's not a backup; it's the current contents of your Mac.
    When I clicked on the 2nd window, it seems to be a back up from July 20, which I remember making on the old MacBook. It has one folder on it with my username.
    Yes, that's a backup. 
    When I click on this folder, I find 4 folders inside it titled: Applications, Users, Library and System. I clicked on Applications and it was empty
    That sounds like you'd excluded Applications from backups.   Or else you didn't wait long enough for all the apps to be displayed.
    sometimes the names of programs covered with a see-through "no parking" sign  - a circle with a slash through it
    That's an incompatible app. 
    Is this the Time Machine's records?
    Yup.
    Can I click on the July 20 date and click on restore? Will everything just come back on it's own?
    No.  You can restore individual items that way (if you have permission to them), but not a whole system.  You can restore "simple" apps that way, too, but not "complex" ones -- ones that came with their own installers, because they install other files in other places.  If you don't restore those other things too, the app won't work well, if at all.
    Can you post a screenshot of the Migration Assistant window that should show your backups (something like this):

  • Migration assistent, can't find my external HD, help!

    I have reinstalled OSX 10.8.6 on my moms Mac mini2,1, 1,83 GHz, 80 Gb harddisc, 2Gb ram, bus 667MHz, to keep the speed fresh. The time machine copy from her mac is on a Iomega external hardisc 160 Gb, the "disctool/help" detects it as Toshiba MK1652GSX Media, physically it has two USB connections. But when I use Migration Assistant it doesn't appear as a option to choose.
    On this external harddisc I have a Timemachine copy that goes back to 2008. I can see the harddick on the screen, I can connect the harddisc to Timemachine and it can start to copy and save, I can even copy back my moms documents, but still Migration Assistant can't find it.
    I need to migrate all her applications, iPhoto for instance as the most important as well as her I need to migrate her letters and adresses.
    What do I do?

    Dear MrHoffmann
    Maybe it is because I am foreign, that I don't understand correctly, and for that I am very sorry. I can't imagine what a restore of a Time Machine disk is then. And I tried to find out what a scratch disk is, and the online computer dictionary told me it was an external HD, with a space for not permanent files. Maybe I misunderstood that too. Where do I then perform a restore of the backup? And where am I told if the disk is vail and bootable... sorry for my lack of understanding. As I understand I am not able to boot from a Time Machine backup, at least before Lion, and I am talking about Snowleopard. And I am not able to understand Install logs. This just sounds too difficult and far beyond what I am cabable of with my skills. Sorry.
    But on the other hand, I like to learn. And I am returning to my moms house for a few days in the end of september. And with me I can bring all kinds of tools to examin her Time Machine disk, extra hardisks, my macbook with the same system and age as my moms old Mac Mini2,1 (2006) and other things, mayby if I can find out excactly what to do, I can find out what was wrong with her Time Machine disk or Migration Assistent, to prevent that from happening again.
    Thank you for taking your time to help me :-)
    Bodil

  • Migration Assistant can't see my external hard drive.

    Migration Assistant can't see my external hard drive with my back-up info on it. I need to migrate my user data from an older back-up ( OS X 10.4.11) to a recently installed OS X 10.5.8 system on a Mac Pro.  The external drive is not bootable.  Any ideas?

    Great news, thanks!
    On iTunes see this...
    http://support.apple.com/kb/HT4527
    Expand the External drive section & it's 6 steps.
    More info, especially the Wrong Way part...
    http://www.ilounge.com/index.php/articles/comments/moving-your-itunes-library-to -a-new-hard-drive/

  • Migration assistant can't find computer/is it bc of 2 OS?

    I have a macbook pro and macbook air.  I am trying to transfer ichat from pro to air but the migration assistant can't seem to connect.
    I have the same network, fileshare is on, etc. One has snow leopard (pro) and the other leopard (air).  Can't I still transfer them?  I'm trying to get ichat on my air -- forwhatever reason it keeps crashing and won't open and I thought I'd reinstall it...but now I've been working for an hour on this simple task and losing my mind (sorry that slipped out)
    Kate

    Yes, I feel sheepish. I figured it out.
    But I had too much stuff on the iMac to transfer my files, so all I transferred was my applications. Now I have to figure out how to get my documents and my iTunes over there. I don't want to transfer all my pics, etc. because that's what's eating up all my memory. It doesn't look like Migration Assistant can be used for just a few things like this.
    Thanks for the QUICK response!

  • 2010 to 2013 migration. Can't connect OWA to 2013 server unless 2010 server is on line

    I am migrating an SBS 2011 Exchange server (2010) to Exchange 2013 on a W2012 Server (not a DC). I completed the install and moved one user's mailbox to the 2013 server. All users can process their email via OWA and Outlook. But, if the SBS 2011 server is
    disconnected, the migrated user cannot log on via OWA and I can't log in to administrator ecp. They just time out. I know the mailbox is migrated because if I disconnect the 2013 server and OWA into the SBS 2011 server it gets an error saying the mailbox server
    is unavailable. I must have missed a step in the migration. Can someone please point me at some documentation for completing the migration. 
    Thank,
    Lou
    Louyo

    Hi,
    Please have a look in the similar threads.
    https://social.technet.microsoft.com/Forums/office/en-US/5990037a-8b3f-4abe-8589-22032171adc6/exchange-2013-2013-coexistence-owa-rendering-on-2010-cas-for-2013-mailbox?forum=exchangesvrclients
    https://social.technet.microsoft.com/Forums/office/en-US/bc8628e6-a0c5-4fd8-95c1-36ee5a644847/owa-still-lands-at-exchange-2010-for-users-migrated-from-exchange-2010-to-2013?forum=exchangesvrclients
    https://support2.microsoft.com/kb/2931385?wa=wsignin1.0
    Note : Just ensure the active directory replication is working properly in your exchange environment .
    Regards
    S.Nithyanandham
    Thanks & Regards S.Nithyanandham

  • After you migrate, where can you find the files

    after you migrate. where can you find your music files

    Al migrar se crea otra sesión y allí estarán los archivos

  • I'm wanting to migrate certain applications from my MacBook Pro over to my newer Mini, but Migration Assistant doesn't allow doing this by choosing which applications to migrate-how can I pick only certain ones?

    I'm wanting to migrate certain applications from my MacBook Pro over to my newer Mini, but Migration Assistant doesn't allow doing this by choosing which applications to migrate-how can I pick only certain ones?

    You only bought it four months ago, so it's still under warrantly.
    Call Applecare or call your nearest Applestore to make an appointment. Tell them your mac has serious technical issues, describe them shortly.

  • Migrated Users can't log in new ones can?

    I hope someone can help me out here. I'm not a full time server admin and must be missing something...
    I'm migrating an old G4 Xserve (10.4.11) to a newer Intel Xserve (10.6.6).
    I got though the migration assistant successfully and the server boots and looks just like the old G4.
    I did note a few glitches like a missing "com.apple.Boot.plist" file and none of the DHCP Static Maps migrated. All other settings, users, groups etc. look like they moved just fine. My data is all there and the folder structure is correct. DNS forward and reverse is working as it should.
    Everything seams like it should be working fine, but not one of my migrated users can login to the server. All of them get the Message, "You are unable to log in to the user account "namehere" at this time. Logging in to the account failed because an error occurred.
    When I created a new "testuser" account with all the same settings, privileges, home folder location, etc and it can login just fine...
    What am I missing here?

    I hope someone can help me out here. I'm not a full time server admin and must be missing something...
    I'm migrating an old G4 Xserve (10.4.11) to a newer Intel Xserve (10.6.6).
    I got though the migration assistant successfully and the server boots and looks just like the old G4.
    I did note a few glitches like a missing "com.apple.Boot.plist" file and none of the DHCP Static Maps migrated. All other settings, users, groups etc. look like they moved just fine. My data is all there and the folder structure is correct. DNS forward and reverse is working as it should.
    Everything seams like it should be working fine, but not one of my migrated users can login to the server. All of them get the Message, "You are unable to log in to the user account "namehere" at this time. Logging in to the account failed because an error occurred.
    When I created a new "testuser" account with all the same settings, privileges, home folder location, etc and it can login just fine...
    What am I missing here?

  • Migration NI-CAN vers NI-XNET

    Bonjour,
    J'avais une application qui tournait avec des cartes NI-CAN que j'ai remplacé récemment avec des cartes NI-XNET. Pour l'opération j'ai remplacé mes cartes et suivi la procédure de migration définie sur le site NI  (http://zone.ni.com/devzone/cda/tut/p/id/9717), tout c'est bien passé, je retrouve mes cartes NI-XNET dans MAX et ils fonctionnent correctement.
    Alors mon problème est que dans mon application, j'initialise un certain nombre de messages avec une DBC, je crée des Vi à l'aide d'un modèle VI.vit au lancement de l'application qui permettait d'initialiser tous mes messages. Sauf que j'ai des messages qui contiennent plusieurs signaux et donc pour chaque signal un Vi mémoire est crée à l'aide du modèle VI.vit et que maintenant j'ai une erreur de NI-XNET sur mon VI CAN Initialize.vi.
    J'aimerais savoir si quelqu'un à déjà rencontré un problème simulaire et si vous aurez pas des remarques et des propositions de solutions à me proposer.
    Merci d'avance
    Résolu !
    Accéder à la solution.

    Bonjour,
    Merci de votre réponse.
    Oui vous avez raison concernant les trames, je crée une intense pour chaque signal à initialiser ( J'essais ainsi d'ouvrir le même message plusieurs fois pour récupérer les signaux)  et ceci bien sur n'ai plus possible avec les nouvelles carte X-NET. Mais j'ai résolus mon problème.
    Petite explication: Voici comment je faisais avant  d'initialiser les signaux créais un VI pour chaque signal
    Puis j'initialisais sur 32 VI templates
    Ceci est faux, j'ai modifié mon VI de créations d'intenses pour créer une seule instance par message et j'arrive à initialiser tous les signaux d'un message en l'ouvrant qu'une seul fois comme ceci :
    Merci  et bonne journée.

  • Migration Assistant can't see my USB ext HD for Time Machine!

    Here is a question for Pondini!
    I've read through many of the threads here, including Pondini's tutorials on how to set-up Time Machine, use Migration Assistant, etc. Alas, I'm not a technical person and have hit a wall.
    Here's the scenario:
    Last week my iMac running Mountain Lion crashed. The hard drive was initially "repaired" using Recovery, erasing all data then restoring the drive from Time Machine backups stored on a Hitachi 2TB Touro USB3 external HD. But soon after the system froze again and a 2nd restore did not work. I concluded that my almost 5 year old HD was gone.
    Where I stand now is that the iMac's HD has been replaced with a new one which came preinstalled with Snow Leopard. I absolutely want (need!) to restored my Mac from Time Machine to get back all my settings and info.
    During the iMac first boot Setup Assistant did NOT see the external hard drive even though they are connected properly. (Note: My older iMac is undoubtedly USB2 but the external HD is backwards-compatible USB3. THAT is the connection, from the external HD directly into the back of the Mac. It is mounted on my desktop and files can be accessed through Finder.) So I then proceeded to set-up my "new" computer with basic settings, which is how I came to see my external HD was properly mounted and connected. I also upgraded the OS on this new HD to Mountain Lion so it would be the same as my most recent Time Machine back-ups.
    Since then I have tried using Migration Assistant to migrate from Time Machine on my external drive but it still does not recognize any drives - Migration Assistant just searches endlessly for other computers. Argh! I've tried all the tips I've read in these forums and none have helped. I scanned my external drive for errors using disk utility but none were found.
    On my external drive there is a folder in the root called Backups.backupdb. Double-clicking it simply opens the folder in Finder, to reveal folders with names familiar to me - the previous HDs computer name, then a bunch of dated folders within that, including a lone file called 2012-08-17-062839.inProgress. I suppose my HD may have died while backing up to Time Machine.
    WHAT do I do?
    Let's say the worst case scenario is that I cannot use these Time Machine backups. Is there any way to root through them for data I can hand-copy to my iMac's new internal drive? It would be grueling but at least it's something. How can I retrieve years of email? Luckily photos, music, videos, etc were backed up manually into a separate folder (also in the root of my external drive).
    THANK YOU!!
    Danielle

    This happened to me after hard drive replacement under the Seagate Drive Recall at the local Apple Store. Here's what I learned from the process:
    I Wagged the Mac home, fired it up (with naked OS installed at the Apple Store), and it wouldn't see my Time Machine drive with Setup Assistant - not on firewire 800 nor USB. Just a grey spinner that lasts forever. When I try just continuing anyway, it offers me something that looks plausible, but then puts up a dialog about duplicate user name, and no matter what I enter, it always says "that user already exists". So I think - maybe Migration Assistant. Complete the setup, create an account, watch the nice welcome movie. BAM - there's my Time Machine drive on the desktop. OK - it has to work . . . but no. Same behavior in Migration Assistant, plus the new OS offers to start making backups on my Time Machine disk - it's not recognizing it at all.
    So - back to the Apple Store - let the genius figure it out. It turns out there are multiple problems. First, the "genius" who imaged my new machine picked 10.7.2 but my machine had 10.7.5 - turns out, it's not enough just to have right cat. Even a point release older OS may not recognize a newer Time Machine drive. The guy at the desk said "We have images of everything but the 10.7.2 has free iLife in it, so they like to use that one". What the heck? They don't image what you had originally as a matter of sane process?
    Having figured that out, we re-image 10.7.5 at the store thinking we've fixed it. But no - Setup Assistant still won't see the Time Machine drive. Not on USB, not on Firewire. Not in a box, not with a fox.
    So here's the second trick - newer machines have a recovery partion. see: http://www.apple.com/osx/recovery/  Boot with the option key held down, pick that partition, then you'll get a "system restore" option, to restore your whole system from a Time Machine backup. My drive was recognized by the recovery partition restore process when neither Setup nor Migration Assistant would. Obviously, there's something broken in Setup/Migration Assistant.
    Takeaway:
    - if you're getting a drive replaced by Apple, make sure they image *exactly* the same OS you had
    - if Setup Assistant fails, use the recovery partition for system restore
    - Use Recovery Disk Assistant http://support.apple.com/kb/DL1433 to make yourself a recovery thumb drive just in case. With Apple's new "no media" approach to the OS, you're hosed without it.

  • Migration Assistant can't find my external hard drive

    I'm trying to set up my Mac Mini and it isn't working.  Three steps into the process and already I'm locked up.  I'm trying to migrate data from an external FireWire 400 drive.  I have to use an adapter because the Mini only has a Firewire 800 port.  That's not a problem because I've used the adapter several times and it works fine.  The external drive is connected directly to the Mini and turned on.  It's been turned on before I went into this mode.  Now the Migration Assistant is hung up on Select The Source with a spinning circle and the Continue button is greyed out.  I don't want to bypass this step and do everything manually because that's a nightmare and with my schedule it will likely drag out for months.
    Can anyone help?

    Personally I have always used the manual method for moving my files over to a new iMac and never use Migration Assistant.
    Go to the Apple drop down menu and select Force Quit.. and if Migration Assistant has failed, force quit it and try re-launching it again from your Applications Utility folder.

Maybe you are looking for