CRUSB CAN converter - DLL problem

Hi,
I am trying to read CAN data using Diga CRUSB converter. There is no labview component available thus I am forced to access data using DLL.
The problems start at retrieving the information about the device.The function is as follows:
I tried using clusters like:
The problem is that each time I try running the program, Labview crushes because of memory problems or fpsane.cpp error (when saving the unfinished vi before running).
I am not sure whether the structure used is correct or if I am missing something important.
Please find the DLL and PDF under http://www.diga.biz.pl/zip/crusb_v1/CRUSB_DLL_1_5_​0.zip.
Could you please help me with this problem?

Howdy!
I am not sure I have an answer but something to try would be to make your cluster of strings have dummy data in the strings. LabVIEW handles memory for you so as long as you stay in LabVIEW you do not need to worry about allocating memory. However, you are stepping outside of LabVIEW by calling into a DLL. Therefore you might need to preallocate memory for the strings. To do this, it might work if you created your strings with data in them to overwrite.
I have had some luck with this on arrays, but I have not done much with passings strings to DLLs, so this is mere conjecture on my part.
Good Luck,
Bob
Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
DISTek Integration, Inc. - NI Alliance Member
mailto:[email protected]

Similar Messages

  • CAN CONVERTER

    Bonjour,
    Suite au probléme rencontré ("can converter error : invalid number of data bytes") pour convertir mes  fichier de type "vector ASCII" (.asc) avec ma bus database configuration (.dbc), sujet du 02-07-2011, votre réponse en message privé été: "R&D has discovered the problem-- some of the hex codes in your log file are only 1 character (instead of the expected 2 characters).  They think they can expand the CAN Converter to read 1 character hex codes as well".
    DIAdem R&D is adapting the CAN Converter dll to work with your submitted CAN log and database files.  We hope to be able to soon send you an updated dll that you can use in DIAdem 2010 SP1.
    Avez vous réalisé un updated dll ?
    Cordialement

    Hi POPPOTE,
    My apologies for the long delay.  R&D has indeed addressed this issue, and it is scheduled to release with DIAdem 2012 SP1.  I'm not sure when the SP1 will release though, so I'd like to send you the DLL behind the Bus Log Converter so you can try out the solution on your existing DIAdem 2012.  Do you in fact have access to DIAdem 2012, or are you still using an earlier version, in which case which version?  It would be most convenient for R&D to provide only a solution for DIAdem 2012 and later versions.
    You can email me directly at [email protected]
    Regards,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instuments

  • How do I know if I can convert a String value to an int value or not?

    Hi,
    I want to know how to make the judgment that if I can convert a String value to an int value or not? Assume that I don't know the String is number or letters
    Thank you

    Encephalopathic wrote
    Again, why?One of the problems (have been dued) in my codelab asks us to write a class as follow
    Write a class definition of a class named 'Value' with the following:
    a constructor accepting a single integer paramter
    a constructor with no parameters
    a method 'setVal' that accepts a single parameter,
    a boolean method, 'wasModified' that returns true if setVal was ever called for the object.
    a method 'getVal' that returns an integer value as follows: if setVal has ever been called, it getVal returns the last value passed to setVal. Otherwise if the "single int parameter" constructor was used to create the object, getVal returns the value passed to that constructor. Otherwise getVal returns 0.
    The setVal(int y) returns nothing, so how do I know whether it has been called or not?
    Thank you

  • Can jmc.dll be used in Windows 7?

    Hi all,
    I developed a video application using Java media Components and it works in Windows XP and Vista.
    But when I launch it in Windows 7, the error message is shown "Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users\hting\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\1\2d356c01-6988cd3a-n\jmc.dll: Can't find dependent libraries"
    Does any body ever use JMC in Windows 7? Is it the jmc.dll problem?
    Simon:)

    I used Dependency Walker to look at what dependent libraries JMC.dll relies on. Nothing exotic. DW shows when a DLL is missing, you might use it to see what you need.

  • How to scan a hard copy to pdf that I can convert to word for editing?

    I've got a HP deskjet 3050A and my operating system is Windows 7, how to scan a hard copy to pdf that I can convert to word for editing?
    This question was solved.
    View Solution.

    Hi,
    The software provided for your device does not include OCR functionality
    You may use any 3rd part OCR solution to scan as editable text.
    If you have Microsoft Office suite there is a good chance the office suite provide this kind of capabilities:
    Office 2007 or 2010:
    http://www.howtogeek.com/howto/14595/ocr-anything-with-onenote-2007-and-2010/
    Office 2003:
    http://agsci.psu.edu/it/how-to/perform-ocr-with-microsoft-office-2003-document-imaging
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Any suggestions for programs that can convert mpeg1 to a format that can be edited in iMovie Version 8.0.6 (821) and/or iMovie HD Version 6.0.3 (267.2) Thanks

    Any suggestions for programs that can convert mpeg1 to a format that can be edited in iMovie Version 8.0.6 (821) and/or iMovie HD Version 6.0.3 (267.2) Thanks

    Hi Mark
    Was just looking for the answer to this exact question and I just found something that worked for me so don't know if it might be of use to you or you might have already solved your problem!  Basically when I was in iMovie and I clicked to import movies from the computer into iMovie and I found the clip I wanted to import, there are a few options.  I think it asked which Event I wanted to add it to but most importantly it asked me what file size I wanted...I had originally been clicking Large because it advised me to because it reduces the file size...but just on a chance there I selected 'Full - Original' for size and it imported perfectly into iMovie in it's original vertical form!
    Hope this helps!
    Bianca

  • Itunes won't launch anymore: AVFoundationCF.dll problem

    Hi,
    since my last itunes update, it won't launch because of a "AVFoundationCF.dll" problem. I'm on a Windows XP system. Can anyone help me please?

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Now head into your Add or Remove programs control panel, select "Apple Application Support", click "Change" and then click Repair.
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post (although it's for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things):
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a window pops up saying that the prograam has encountered a problem and sh...

  • Which app can convert TWO audio tracks - MXF files to FCPX?

    Help help help,
    I need to convert TWO audio tracks along with my video files from my Canon XF100 - to edit in FCPX. All the apps I seem to find are only able to convert one audiotrack. I have audio from both microphone and microport, so one is not enough. Furthermore it must be a pro tool, so I don't loose imagequality.
    Can anyone help me please?
    Thanks in advance!
    Lisa, DK

    Hi Tom,
    Thx so much - but its not fcpx, but The converter - fcpx can't read MXF files, so they must be converted - The problem is to find A tool to convert both tracks

  • HT3678 I have 10.7.4 Mac OS - just paid $32 for Quicktime Pro so I can convert a video file format got authorization code but cant figure how to find Quicktime let alone activate - HELP!

    Just paid $32 for Quicktime Pro so I can convert a .MOV video file format to another format - cant figure out where Quicktime is and how to activate it to Pro
    Is it the Quicktime player 7?

    I did this and copied EXACTLY my name and the activation code sent in the receipt - says invalid
    I am under a deadine for a presentation in 8 hours -
    My problem is thet a person made a montage from photos and saved it as .MOV file format and the presentation is going to be made on a flat screen TV from a USB mem card or thumb drive -
    first problem was card was FAT32 formatted - and I think I understand that for a 5GB file size that ExFAT is required and XP with patches or Windows 7 and Mac OS read this format so not a problem to format USB to be ExFAT - but the TV needs AVI or a MPx format
    suggestions???
    Thanks in advance

  • How i can convert my contacts to excel

    Dear Service provider
    i want to knw how i can convert my all contacts to excel file
    please help am getting problem
    thanks
    Regards
    Arun Gaur
    09891674343

    I'm not sure how big your drive is, but FAT32 isn't that great for large drives (which is one of the reasons Win XP and Win 2000 don't allow FAT32 volumes larger than 32GB). Although it is theoretically possible for FAT32 drives to be up to 8TB in size, they are not really all that stable when they are large (it has to do with the number of enteries in the file allocation table or something, I'm told).
    I have a 400GB external drive that I wanted to share over the AEBS. Since I have both Macs and Windows systems at home, I though I would need FAT32. OS X allowed me to format the drive (as you would expect), but after I had copied about 250GB of data to it, and used it for a while I started to get some weird results. Files stared to disappear. Some files and entire folders were visible on the Mac, but not on the Windows machines, and vice-versa. iTunes started losing music files.
    Keep in mind that FAT32 was invented back in the day when 300MB was considered to be a large drive. My drive is more than 1000 times bigger than that.
    After searching these discussions, I borrowed another drive, copied all of the data off my broken drive, reformated to HFS+Journaled, and copied all of the data back on. All my issues disappeared. It has been about a week now, and no new problems (or any of the old ones).
    As long as it is connected to the AEBS, my windows machines can connect to it just fine. I also get the advantage of being able to store files larger than 4GB (which FAT32 doesn't allow).
    Intel Mac Mini, Macbook (Core Duo)   Mac OS X (10.4.9)  

  • Help me please dll problems with Windows XP

    My first time installing itunes was a desaster. A messsage appears saying dll problems. And another message " error 0x80040702 IpodFormatSupport"
    My ipod is 4gb.
    MY SYSTEM IS A WINDOWS XP PROFESSIONAL.
    Thanks for any help.

    First, let's make sure your Windows XP is compatible with iPod. Click on Start, Right Click on My Computer, and then Click on Properties. You want to make sure that you have Service Pack 2. (This is the last line of the first section on the "General Tab")
    -If it says Service Pack 1, go to www.microsoft.com and search for Windows XP Service Pack 2. Find it, download it, and then install it. Once you've done that you can try to install your iPod/iTunes software again.
    -If there is no service pack listed, go to www.microsoft.com and search for Windows XP Service Pack 1. Find it, download it, and install it. Then you need to go back and search for Windows XP Service Pack 2, and then download and install it. Then you can try your iPod / iTunes software again.
    If you do have service pack 2 and you're having these issues, try a quick antivirus/spyware/adware scan, and make sure you don't have anything like that.
    If that does not resolve the issue, it could be that your antivirus software is causing interference and not allowing your software to install. Follow the steps in this article, and then try the install again:
    http://docs.info.apple.com/article.html?artnum=302538
    Once you've gone through all of this, reply and let us know what's going on.
    Best wishes,
    CG

  • I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    The application Acrobat provides no language translation capability.
    If you localize the language for OS, MS Office applications, Acrobat, etc to the desired language try again.
    Alternative: transfer a copy of content into a web based translation service (Bing or Google provides a free service).
    Transfer the output into a word processing program that is localized to the appropriate language.
    Do cleanup.
    Be well...

  • Video Converter app that can convert more than one video at a time?

    Hi everyone,
    I;m after an app that i can convert my videos with. I want a free app where i can add multiple videos and have them convert one after the other? does anyone know of a free app that i can get?
    I know theres smartconverter (free) but you cant add multiple videos and i dont want to pay $10 for pro!
    can someone please HELP Thanks

    The MPEG Streamclip app can batch process videos. It can even convert up to  4 videos at the same time.
    http://www.squared5.com/
    It's free...
    Just drop as many videos as you like into the batch window.

  • How I can solve this problem or manipulate it ports 80,443 are closed by ISP and they don't want to open it

    hi,
     I see that I have a particulier abonnee of my ISP , which has closed all the ports for security reason and they don't want to open  any of it 80,443 ect.
    suppose If I want to use Essential server 2012  how I can solve this problem , essential wants domain name whith A record.
    I asked DDNS service provider if I lease from them a domain name whith A record  would that help to open or manipulate the port 80,443  they said that I have to solve this problem myself . they lease only domain names with dynamic dns records.  
     so what can be a solution the ISP provider won't open this ports , how I can solve this problem .   domain name with ip adres is not helping so what it's go to help?
    thanks
    johan
    h.david

    The domain name in this instance is only used for remote access, and is seperate from the active directory domain name.
    If your ISP blocks port 80 and 443, and you dont intend to use remote access anyway, the wizard will likely not complete successfully whether you have a valid domain name or not.
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

  • Hello all .. i have a big problem in my ipad version 5.1.1 that is when i connect the ipad with my computer the i tunes give me this message ( itunes couldnt connect to this ipad .an unknown error occurred (0xE8000012).) how i can solve this problem pleas

    hello all .. i have a big problem in my ipad version 5.1.1 that is when i connect the ipad with my computer the i tunes give me this message ( itunes couldnt connect to this ipad .an unknown error occurred (0xE8000012).) how i can solve this problem please
    and this is an pic for the problem

    There is some troubleshooting for 0xE8 error codes on this page : http://support.apple.com/kb/TS3221 - you could see if anything on that page fixes it

Maybe you are looking for

  • Windows USB Stick will not show up as a bootable volume

    I've been doing a ton of research on this and just can't seem to get it to work.  I recently bought a mac mini, the 2011 version with the Radeon video card.  I want to dual boot the machine using bootcamp and I have a windows 7 iso image. I  bought a

  • Macbook just working...any ideas?

    My Macbook just stopped working. In the evening it was working, but when I woke up the next morning, it was not working. I changed power cords, but it was not the charge. Do you have any ideas what else it could be? I purchased it in 2008. Thanks.

  • Maximum Number Of Records Import Manager can handle.

    Hi Guys, I want to know the maximum number of records Import Manager can import / handle at a time. Thanks in advance . Best Regards, Ramchandra Kalkar.

  • Why are my web pages so small?

    I've noticed when using my iPhone (3G) that some web pages, when double-clicked, briefly flicker, like they're trying to expand, but then they return quickly to their original mini size. Other web pages, when double-clicked expand to a larger more re

  • Customer master extend

    Hi, Customer master extend division wise I need to extend 1 customer to 3 divisions one time T-code - xd01