Change payload NI-XNET CAN

HI,
I am trying to perform some CAN communication with NI-XNET at the frame level.  I have started with the CAN Frame Input Single Point.vi and CAN Frame Output Single Point.vi examples that came with NI-XNET.  I would like to be able to change the payload of the frame to be written in the output vi  (i.e. have it not be controled by a human on the front screen) but have been unable to find a way to write the payload attribute in the XNET Frame CAN typedef.  I have tried to recreate this cluster on my own to no avail.  If anyone could point me in the correct general direction it would be much appreciated.  
Thanks in advance,
Kevin

Hey Kevin,
Are you sending a frame from a frame list that you created in a database?  Are you using a temporary database in memory?  If you have a framelist in a database that has the payload predefined, I'm not sure that you can change the cluster definition programmatically.  If you were to open up the XNET Database Editor, you should be able to manually specify the format of the cluster being passed, including the payload lenght.  In addition, if you set the database as the :memory: including the colons, you can configure the cluster to be whatever you would like from the front panel.
Does this answer your question?  Are you just trying to change the payload length of a frame, or is there more to it than just that?
Ben N.
Applications Engineering
Certified LabVIEW Developer

Similar Messages

  • Transmit payload NI-XNET CAN

    Hi guys, Im using a NI-XNET can PCI device. How to transmit a payload on the bus?
    Solved!
    Go to Solution.

    Hello JoVMo,
    You can use the XNET Write (Frame CAN).vi
    More information concerning the VI you find on the following link: http://www.ni.com/pdf/manuals/372840a.pdf (see page 216/848 or Chapter 4: 173)
    Extra information concerning the  NI-XNET API, you can find here: http://zone.ni.com/devzone/cda/tut/p/id/12375
    Kind regards,
    Nico

  • Trouble with Simple XNET CAN Example...

    I am trying to get a simple XNET CAN write frame going. Here is the VI I created...
    I keep getting this:
    I looks like I have a frame set up, so what else could be the issue?

    Hey,
    I am "trying" to create a session and send data on the fly. I changed my vi back to the simple one I had earlier in the day:
    Attachments:
    XNET_CAN_Write.vi ‏12 KB

  • HT5621 I bought my iMac from someone. Everything was changed over to my name however when I try to update programs it only shows the old users apple ID and I can't update. How do I change this so I can update the applications and have everything fully und

    I bought my iMac from someone. Everything was changed over to my name however when I try to update programs it only shows the old users apple ID and I can't update. How do I change this so I can update the applications and have everything fully under me?

    The first thing to do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. You — not the previous owner — must do that. How you do it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    1. You don't own another Mac.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. For early MBA models, you may need a USB optical drive or Remote Disc. You should have received the media from the previous owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    2. You do own another Mac.
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to create a bootable USB device and boot the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can boot from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    Once booted in Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
    After partitioning, quit Disk Utility and run the OS X Installer. You will need the Apple ID and password that you used to upgrade. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    Then run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    3. Other issues
    If you see a lock screen when trying to boot from installation media or in Recovery mode, then a firmware password was set by the previous owner, or the machine was remotely locked via iCloud. You'll either have to contact the owner or take the machine to an Apple Store or another authorized service provider to be unlocked. You may be asked for proof of ownership.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Mac App Store Customer Service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.
    When trying to create a new iCloud account, you might get a failure message: "Account limit reached." Apple imposes a limit of three iCloud account setups per device. Erasing the device does not reset the limit. You can still use an account that was created on another device, but you won't be able to create a new one. Contact iCloud Support for more information.

  • The iPhoto Library is locked, on a locked disk, or you do not have permission to make changes to it. iPhoto can try to repair the permissions.

    Hi, I have the following message when opening iPhoto:
    The iPhoto Library is locked, on a locked disk, or you do not have permission to make changes to it. iPhoto can try to repair the permissions.
    I select repair, enter my password and I get the following:
    The iPhoto Library is locked, on a locked disk, or you do not have permission to make changes to it.
    This happened a few weeks ago and I have been fumbelling around trying to fix it. I have no backup servers or shared access. My iPhone and iPad 'used to' pump pictures via iCloud but this has stopped.
    I am adminstrator with open & edit rights.
    I'm using a MacBook Air rinning OX 10.9 (Software  OS X 10.9 (13A603)
    PLEASE HELP!

    Similar problem but not quiet the same:
    Please bear with me as I am very new to this subject.
    1: Using a MacBook Air OSX 10.7.5 and it is WiFi connected to a Time Capsule.
    2: Overnight I have done a complete back-up. Checked the data files and all correct.
    3: I can open the files on the TC except for the iPhoto Library as I want to check visually that they are there. All 2,388.
    4: The iPhone Library on the TC will not allow me to look in.
    5: the iPhoto Library on the MBA allows me access and I can view etc all the 2,388.
    Q1: So why can I not look into the TC's iPhone Library? Or how do I open that library so I can look in?
    Q2: how can I export data back from the TC to the MBA if ever I needed to do that?
    Thanks for helping out a virgin in these matters.

  • How do I enable my iTouch? I am trying to update the apps but when I click "Update All", a pop up "Your Apple ID has been disabled." How do I change it so I can enable my iTouch? Thanks.

    How do I enable my iPod? I am trying to update the apps but when I click "Update All", a pop up "Your Apple ID has been disabled." How do I change it so I can enable my iPod? My iPod is not locked (I know my password), but I just can't figure out how to enable it. Thanks.

    This may help:
    http://support.apple.com/kb/ts2446

  • When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Websites remembering you and automatically log you in is stored in a cookie.
    *Create an allow Cookie Exception to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    *Tools > Options > Privacy > Cookies: Exceptions
    In case you are using "Clear history when Firefox closes":
    *do not clear Cookies
    *do not clear Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception and cookies from plugins.

  • FaceTime: I have a iPad, iPhone, iMac all on the same apple Id/account. Without changing id/email address can I use FaceTime between any 2 of my devices? It works from iPad to iPhone but not the other way??? I would like talk/see my kids if am away

    FaceTime: I have a iPad, iPhone, iMac all on the same apple Id/account. Without changing id/email address can I use FaceTime between any 2 of my devices? It works from iPad to iPhone but not the other way??? I would like talk/see my kids if am away.
    Hope you can help.
    I have added a new email address but kept my Id, but I get busy when trying from iPhone to iPad as they are clashing. Like find my iPhone app hence trying to keep them all on one account

    IOS: using facetime http://support.apple.com/kb/ht4319
    using an ipad will use the email address since you can't make a phone call.  see the link.
    Your basically calling/emailing yourself that's why your getting a busy signal.

  • I have Adove Reader XI. All my files have a picture as the first page. I used to be able to see the picture for each file. Now all I see is the PDF logo. How can I change this so I can see the pictures instead of the logo?

    I have Adobe Reader XI. All my files have a picture on the first page. I used to be able to see that picture but now I can only see the PDF logo. How can I change that so I can see the pictures instead of the logo?

    Windows 7

  • My ipod touch (generation 4) is not recognized by itunes. I've each time to reinstall itunes, it works few days and suddenly not without reason-only was is reinstallation-reset of ipod doesn't change something.does someone can help me please?

    my ipod touch (generation 4) is not recognized by itunes. I've each time to reinstall itunes, it works few days and suddenly not without reason-only was is reinstallation-reset of ipod doesn't change something.does someone can help me please?

    Wow the customer service is even worse. Does Apple want me to go around jailbreaking my iPod now so I can use something that actually recognizes my product?

  • I have iBooks 2.1 on ipad. I changed my password and can no longer update the app. If I delete the app and install the updated version, will I lose the books I have purchased?

    I have iBooks 2.1 on ipad. I changed my password and can no longer update the app. If I delete the app and install the updated version, will I lose the books I have purchased?

    Try logging out of your account on the iPad by tapping on your id in Settings > iTunes & App Stores and then log back in and see if you can then update the app.
    If you do delete the app then you should be able to re-download your ibook purchases via the Purchased tab in the ibookstore in the app. But in case some of them are no longer available in the store and/or you have PDFs or epubs in it, then you could first connect it to your computer's iTunes and do File > Transfer Purchases (File > Devices > Transfer Purchases on iTunes 11) which should copy them over to the Books part of your iTunes library so that you have your own copy of them and can sync them back (even though they aren't iTunes purchases it should also copy over any PDFs or epubs that you have in the iBooks app)

  • HT5312 Am I do not know how to change my rescue email as it is wrong and in can not remember my answers to my security questions so I want to change them but I can't as I have the wrong rescue email anyone know how to change your rescue email

    Am I do not know how to change my rescue email as it is wrong and in can not remember my answers to my security questions so I want to change them but I can't as I have the wrong rescue email anyone know how to change your rescue email

    You won't be able to change it until you can answer 2 of your questions - you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down the page that you posted from to update your rescue email address for potential future use.

  • How can I unlock my sons ipod he changed the password and can't remeber what it is

    How can I unlock my sons ipod touch he changed his password and can't remember what it is?

    iOS: Forgotten passcode or device disabled after entering wrong ...

  • Changing of Materials Valuation can be possible when transfer Materials fro

    Hi SAP Gurus,
    Changing of Materials Valuation can be possible when transfer Materials from one Palnt to another Plant in the same company?
    Thanks
    Chandra

    The simple answer is - Yes it is possible,  put different standards on the material master for the different valuation areas.
    next question:   how will the account for the difference??   Price variance?  Uplift?  where will that post?
    next question:  how will create those values?  cositng runs, conditions, uplifts?

  • My email preview pane is blank on my Air.  Not on my iPhone or my iPad.  Just the Air.  Started two days ago.  I didn't change anything.  I can double click and open the email.

    My email preview pane is blank on my Air.  Not on my iPhone or my iPad.  Just the Air.  Started two days ago.  I didn't change anything.  I can double click and open the email.

    Back up all data. Rebuild the mailbox.

Maybe you are looking for

  • Need help on how to use Html pages in ABAP

    Hi All, I need to add two input boxes to an already existing html page,and i have written the code for it,but the problem is ,when i try to open that page i could not see the newly added input boxes on the page and also i am getting an error as below

  • Flex 3 : Contour Plot Chart

    Hi, I have been tasked with a project where a contour plot chart is required like the one below. Does anyone know how this coould be done in Flex or are there any third-party components available to do this? Thanks very much for you help. Martin

  • Transfer quick books from Macbook to Mac mini

    i have quickbooks on my Mac laptop and have recently upgraded to the Mac mini. I want to transfer all the data from laptop to the Mac mini. How?

  • Could not call batch from command line processing

    I am experiencing a strange scenario where I am able to run the FR report by scheduling a batch in HFM and that creates RecRecon successfully. I am trying to do this as a batch script by using the command line script ScheduleBatch.cmd <xml file> <ser

  • To stop all billing,purchase activities in a plant

    Dear All, In our organization we have 34 plants in which two plants have been closed. I want to know how we can stop all the billing,purchasing activities for this particular plants alone.But i need all the reporting activities to take place. In whic