I am trying to use Labview and RP1210 compliant hardware to connect to a truck J1939 bus and receive messages.

I am trying to use Labview and RP1210 compliant hardware to connect to a truck J1939 bus and receive messages. 
Specifically I am attempting  to read data frames using the RP1210_READMESSAGE .   am able to configure the hardware and send a message to the J1939 bus. .    I think I have not configured something correctly.  I can use the RP1210_SENDMESSAGE and see the message I have sent on the bus using CANalyzer   When I use the RP1210_READMESSAGE   I get the timestamp from a message and the return from the function sends back the correct number of bytes (the number matches the number of bytes I sent out plus four bytes from the timestamp).  What I am having trouble with is actually receiving the data. I have had the same type of behavior from two different hardware (Vector CANcase XL and Nexiq USB Link), so I don't think the issue is vendor specific.
Has anyone been able to make the RP1210_RECIEVEMESSAGE function work correctly?
Thanks for any help

Thanks
I have already tried that.  The links are the NI RP1210 wraper. The problem I am having is using labview to interface with the RP1210 layer.  The RecieveMessage char*fpchAPIMessage this is the output which is a pointer to a cahracter array.  In this variable I can receive the timestamp of the message but not the message.  The retun showns the correct amount of bytes are aviaable (18 for a 8 byte message) but I can only get the 4 byte timestamp  I think I have to dereference this pointer to view the data.  I am not sure how to fix this. 

Similar Messages

  • Trying to use labview to analyse analog data from a jump on a force plate and measure peak force (at two points, initial land and 2nd land from jump). Also need to mark the time of flight (time off plate).

    Attached is a file of 3 trials of a drop vertical jump activity onto a force plate.  the subject stands on a platform off the force plate, jumps onto the force place and immediately jumps up as if going for a rebound.  I am able to run this data and obtain a waveform graph with no problems.  however, I need to be able to find the initial contact with the force palte, the peak of the drop, the intial time off the force plate (prior to the jump), the return from the jump and finally the second peak (landing from the jump). 
    I want to calculate the time of flight ( time off the plate and in the air after the intial drop) to calculate juimp height.
    I had someone write me a mathscript for it and it works well, however, I need to do it without mathscript as I do not understand mathscript (nor Labview!!).
    Please help
    Attachments:
    Jose_Index and shift register6.vi ‏130 KB
    NI post.docx ‏365 KB

    OK, but I'm not understanding what you're asking us to do... Are you asking us to explain what the MathScript code is doing? (It's searching the array for the elements when the values are above or below a threshold.) Are you asking someone to convert the whole MathScript code to LabVIEW (we are not a code-writing service), or you just want to be able to calculate the new stuff you want with LabVIEW?
    In the future, please do not post proprietary file formats. Most people do not have Word, or Word 2007 for that matter. Please post text files or PDFs. Thanks.

  • I plugged in my brand new nano to my husbands desktop to get it registered, but had a problem mid way through when I tried to used an apple login that already existed.  Now it's not registered and the computer won't recognize my device.  How do I fix this

    I plugged in my brand new nano to my husbands desktop to get it registered, but had a problem mid way through when I tried to used an apple login that already existed.  Now it's not registered and the computer won't recognize my device.  How do I fix this?

    iPod not recognized in 'My Computer' and in iTunes for Windows
    Call U.S. iPod and Mac technical support: 1-800-APL-CARE (1-800-275-2273) to register your iPod Nano.

  • I'm trying to use my iPad mini for the first time with a previous apple ID and password but it will not connect to iTunes but I can download apps from my iPhone using the same appleID and password and it works on my iphone...PLEASE HELP NOW

    I'm trying to use my iPad mini for the first time with a previous apple ID and password but it says "iTunes is not working try again"...it allowed me to download an app on my iPhone using the same apple ID & password but all my apps are in "Waiting Status" on my iPad mini because it says "iTunes is not working"...PLEASE HELP ME NOW!!!

    Previous user installed iOS 7 beta on that iPhone.
    Take it back and get your money returned. You
    are running into a new security feature. Whoever owns
    the ID that it is asking for is the only person who can
    remove the security. That iPhone is worthless to you.

  • HT4293 i am trying to use dual monitors when editing with FCPX. I have a macbook pro and an apple cinema display monitor. I have connected them and opened Fcpx but the option to use second monitor is not active! what do i do ? please help going bonkers!

    i am trying to use dual monitors when editing with FCPX. I have a macbook pro and an apple cinema display monitor. I have connected them and opened Fcpx but the option to use second monitor is not active! what do i do ? please help going bonkers!

    <http://support.apple.com/kb/HT5891>
    You can use USB for the Apple trackpad.
    <http://www.mobeetechnology.com/the-power-bar.html>

  • I didn't used my iPad 2 for many months. Last week when I tried to use it, it wasn't charged. Then I put it on charging and again didn't used it for a week. Yesterday, When I tried to use it again it's saying that it is disabled for 22 million mins. HELP!

    I didn't used my iPad 2 for many months. Last week when I tried to use it, it wasn't charged. Then I put it on charging and again didn't used it for a week. Yesterday, When I tried to use it again it's saying that it is disabled for 22 million mins. I treid to restore it by connecting to iTunes but it's not restoring. Kindly Help.

    Thanks for that. Much more constructive than the last comment. It's only the restriction code I can't recall, not the access passcode. So I can currently access the device, just not age restricted content. Does that's make a difference? I also wondered if anyone knew how many attempts you get to try to get it right. Now tried 21 times and so far nothing bad has happened but I am concerned I'll eventually be completely locked out of the device. That doesn't seem in the spirit of things though. Surely it's foreseeable that a child could repeatedly try to guess the code so I can't see that it would be right to lock the device down completely in that circumstance, particularly if the access code is being typed in correctly every time.
    Thanks

  • Suddenly my ethernet and firewall are no longer connected. router is good...and can connect only using wifi...suggestions?

    suddenly my ethernet and firewall are no longer connected. router is good...and can connect only using wifi...suggestions?

    SOLUTION! 
    I've been suffering from this problem for a few months.  I tried everything suggested by everyone, and then, today, I had a mad idea. 
    I used to work in a room in the house that's about 12 metres away from the router. It's on the next storey up and horizontally about 8 metres away.  The problem started when I began to work in the same room as the router. 
    Today I became so frustrated that for some reason I walked into a room about 8 metres away on the same level - Guess what?  I connected with no problem at all. Feeling full of joy I walked back to the room where the router is located - Dropped internet connection within a few minutes!  Walked back to the the room that's 8 metres away and, hey presto! I have a connection. I now realise that the problem was that I moved too close to the router.
    I can think of no logical explanation for my experience, but empirically it seems to work.  Does anyone have the faintest idea of why this should be the case?  In the absence of an answer I think I may have to start believing in fairies at the bottom of the garden - I'm just off to set a meal for them.
    By the way, I don't know if it has any significance, but the router is a BT Infinity router that has replaced the incredibly unreliable Virgin Media cable connection

  • I revive messages from everyone but one person on my phone I had my iMessage on my iPad but I turned it off and also off on my phone but I can't seem too receive messages from them but they get mine,?

    I revive messages from everyone but one person on my phone I had my iMessage on my iPad but I turned it off and also off on my phone but I can't seem too receive messages from them but they get mine,?

    They have an iOS device? If so, have them send as an SMS, not an iMessage.

  • I have 8gb touch ipod (MC086C model) and i am unable to connect wifi BSNL however my iphone and laptop works well

    I have 8gb touch ipod (MC086C model) and i am unable to connect wifi BSNL however my iphone and laptop works well

    Well, it seems the problem I listed in my previous post (unable to wireless sync with iTunes 10.2) has resolved itself.  My iPhone now syncs wirelessly.  Happy for small miracles!

  • HT1414 forgot iphone 4 passcode  and I cant restore when connected to my computer. I get a message that says cant restore until I turn off find my iphone for the device, but I did go into icloud and erased the device. help plz!

    I forgot iphone 4 passcode  and I cant restore when connected to my computer. I get a message that says cant restore until I turn off find my iphone for the device, but I did go into icloud and erased the device. help plz!

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

  • Has anyone tried to use Labview with VNC

    I am trying to use VNC viewer and Labview to remotely code/control labview application. Lots of right clicks dont show up on the VNC. I guess this happens only for Labview and not for other applications. Has anyone tried to use VNC before? is there a workaround?

    Just confirmed that each of the above items works properly in our setup, using either WinME or Linux as the controller of the Win98 host. In the 'Connection Options' screen of the controlling computer I have only 'Auto-Select' and 'Emulate 3 buttons' checked. 'Current User Properties' on the controlled computer has only 'Accept Socket Connections', 'Do Nothing', 'Remove Desktop Wallpaper', 'Poll Foreground Window' and 'Poll Console Windows Only' checked. Hopefully one of the above will make a difference.
    Matt

  • Has anyone tried to use labview to measure tcp/ip throughput between 2 computer using labview?

    I was wondering is LabVIEW can be used to measure throughput of the ethernet connection between 2 computers. Data in Mbps such as uplink and downlink on the connection.
    Thanks

    I've included a link to an article for determining the maximum TCP/IP transfer rate in LabVIEW.  You can download the example that is included in the article.  This example VI measures the communication from a real-time target to a host PC, so you'll need modify it for your application.  Please let me know if you have anymore questions, thanks!
    Measuring the Maximum Amount of Data Sent Out of a Real-Time Target Device

  • I have a Windows 8.1 system, I am trying to use the link that customer support gave me earlier to download CS6 Design and Web premium. I did the 1hour and 40 minute downlaod but when i try the second download file it says not all file wre archive. Anyone

    How do I fix. after downloading says I need to download all parts and pieces are missing.

    you need files 1 of 2 and 2 of 2, an exe and a 7z.  download both, place both in the same directory and double click the exe.
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • HT1923 Trying to remove ITunes so I can reinstall getting message from windows installer /feature that you are trying to use is on a network resource that is unavailable? How do I correct same message when trying to install upgrade.

    Message receiving is from windows installer:the feature you are trying to use is on a network resource that is unavailable

    Many thanks.
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Apple Software Update entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install using an iTunesSetup.exe (or iTunes64Setup.exe) downloaded from the Apple Website:
    http://www.apple.com/itunes/download/
    Does it go through properly this time?

  • HT4993 I have switched from Iphone to galaxy and I can't receive messages from  anyone using an Iphone.  I have contacted sprint and they thought they resolved the issue, but I still can't receive messages from iphone user. How can this be resolved

    I am having trouble receiving messages from friends that are using Iphone.  I recently switched from Iphone to Galaxy Note 3

    http://support.apple.com/kb/ts5185
    You'll need to contact Apple Support if you no longer have the iphone.

Maybe you are looking for