I need assistance with LabVIEW RT and dll

Hello!

I'm new to LabVIEW but I am facing something very difficult.

I develop with LabVIEW 2012 on a cRIO-9082, and I would use a specific DLL in a VI. The DLL is called TcAdsDll.dll and it is used to communicate with a PLC. (This DLL is provided by Beckhoff, for more information: http://infosys.beckhoff.com/index_en.htm TwinCAT > TwinCAT system > TwinCAT connectivity > TwinCAT ADS).

When I use the 'library of the call' function with the DLL, I get an error 7. I'm just trying to call a simple function of the DLL.

I know that in LabVIEW RT (Pharlab) only certain DLLs are supported. I also checked the DLL with the tool of NEITHER, but after the 10th dependend DLL calling it just hangs.

If someone is able to provide assistance, I would be very grateful!

Does anyone know, what are the rules for the dll must be met to use in LabVIEW RT?

Thanks in advance!

A DLL must call only Win32 API supported by the Pharlap ETS system in question in the first place. Since NO guard updated the ETS with almost every new version of LabVIEW it depends actually. DLL checking tool is the only way I know to check this. If this DLL checking failures, or as in your case tool breaks down, the DLL is not justifiable on the RT system. The Beckhoff ADS DLL is a complex beast with many dependencies on any other DLLs Beckhoff and what else, and as such a bad candidate to run on NI RT systems.

In addition to this fundamental questions, you have additional problems with the Microsoft c runtime library in his infinite wisdom, has decided to create a new C runtime library version with each new version of Visual C. It is already a problem for a developer when deploying to standard PC Windows, but gets a problem almost unmanagabel when targeting something as Pharlap ETS. NEITHER seems to have paid the MS C runtime for their version of the toolchain Visual C of choice for LabVIEW RT system, but this isn't an option for you. If the 3rd party DLL to be used has been compiled in a version of Visual different C that ANYTHING used for the RT version you want to use, then you almost certainly run into trouble, unless the DLL was created with Visual C 6.0 (now a very old version)!

I've created in the past as a VI based entirely the LabVIEW ADS communication library. It is a tedious job to know the actual byte stream protocol. Unfortunately it is not something that I can share with the community.

Your best bet would probably be to use the cRIO Ethercat solution and go with an Ethercat on your PLC interface. EtherCAT is sort of a superset of the ADS interface.

Maybe you can also talk with these guys here. They have a few ADS LabVIEW library and Ethercat libraries too. Not sure if they are basic DLLS and if they would be compatible with LabVIEW RT well.

Tags: NI Software

Similar Questions

  • I need assistance with combine jpeg and raw photo even after import [was: Hello?]

    I need assistance with combine jpeg and raw photo even after importation

    You mean both JPG and RAW file after importing from a camera memory card? There is a setting in LR preferences to process the JPG images next to RAW files as separate photos. It is under the general tab of preferences. By default, this option is not checked.

    If this is not your problem, then we will need Lots and Lots and lots more information about what you mean by the combine

  • I need assistance with video editing and post production building

    Hello

    I decided after a long time to invest in a PC for me to use the video publishing house (at work, I have dual Xeon based build). After a long search I opted for this configuration and I am interested in your opinion and maybe a few suggestions for improvement. I chose X 99 platform for future compatibility upgrade and the CPU I chose now, I can replace later down the road if/when Intel realeases the 10 new core CPU i7 LGA2011-3. So I didn't want to spend more money on the K 5930 or 5960 X at this time, and I feel the 5820K with a stable overclock will give me the results I want for now, as I edit 1080 p videos for now.

    I turn mainly on SONY PMW - EX1 and NIKON D800, with sometimes images of k 4 from DRONES. I use PP to publishing, AE for the post production and motion graphics, SOUL of renders, Lightroom and PS for RAW photo editing.

    Case: Fractal Design R5 Blackout edition

    PSU: CORSAIR 750W 80 + modular Platinum HX750i (I hope that it will be enough even with overclocking)

    MB: ASUS X 99 PRO / USB 3.1

    CPU: INTEL Core i7 5820 K 3.3 GHz 15 MB BOX LGA2011-3

    CPU cooler: NOCTUA NH-D15S

    RAM: CORSAIR Vengeance LPX CMK32GX4M4A2666C16 32 GB (4 sticks of leave options to upgrade to 64 and take advantage of the quad channel)

    GPU: ASUS STRIX-GTX970-DC2OC-4GD5 4 GB PCIe (is it useful to the 980 for these given additional CUDA cores it is $ 200 more?)

    SSD1: Cache files SAMSUNG 850 series 250 GB 25/S600 EVO - OS, PROGRAMS and PP

    SSD2: SAMSUNG 950 PRO 512 GB SSD PCIe 3.0x4 m2 - MEDIA PROJECT, FILES PREVIEW and OUTPUT of RENDERING

    HDD1: WD WD40EFRX 4 TB 64 M/S600 Red Edition -j' I may be obtained with two drives in RAID1 to memorize everything, after I'm done with the project and copy everything SSD2 to HDD1, but for now, I'm going with a single, and modernize if more space and backup is necessary.

    I intend running 64-bit PRO 10 Windows.

    Let me know what you think and suggestions and opinions are welcome.

    THX

    good deal and CPU cooler, x 10 core i7-6950 is widespread about 6 months out and compatible with x 99. You wouldn't have to upgrade right then, but every time you felt the need.

    If you are looking for max overclock stable and expansion as a new video card, a quality 1 k watt will be a better option. for a little more, the SuperNOVA 1300 G2 evga and XFX P1-1250-BEFX are on sale at a discount, if you don't mind discounts. the hx850i corsair is also a little more with his rebate, the hx1000i jumps a bit with no refund.

    GPU - core count, the gtx 980 would be worth $400 vs gtx 970 price. the 980 gtx has more than just a difference of base number, but it still makes the $500 + unattractive price tag. If you think you need more power now, take a look at the gtx 980ti. If not, go with the gtx 970 and if / when you do not need an update, add another to the creation or upgrade to pascal or later, when nvidia releases.

    If possible, I would avoid mirror or any what raid for backup. RAID (same mirror) can add an additional point of readers isolated data and data corruption or failure. three separate copies is good for critical data, two if not so important. using a Cloud Computing service may be a good option for one backup copies.

  • I could not find download Windows Mobile Device Center 6.1 so I can download pic & videos from my phone to my computer. I need assistance with their phone is off and on computer any ideas please help.

    I could not find download Windows Mobile Device Center 6.1 so I can download pic & videos from my phone to my computer. I need assistance with their phone is off and on computer any ideas please help.

    See http://support.microsoft.com/kb/931937

  • I need assistance with Outlook Express

    I need assistance with my outlook express. Please

    See www.oehelp.com/OETips.aspx#7 or be more specific, and perhaps we can help you.

    Steve

  • I NEED ASSISTANCE WITH MY ETHERNET DRIVER. HOW CAN I GET THIS TO WORK NEW TI?

    Original title: driver ethernet

    I NEED ASSISTANCE WITH MY ETHERNET DRIVER.  HOW CAN I GET THIS TO WORK NEW TI

    Download and install it

    The driver should be available in the manufacture of computers site

    Use the snid on a label on the computer to search with while you're there

    Or if the motherboard came with a disc to load and the reader will be on it.

  • I need assistance with deactivation Suite CS6.  My Mac Book has been stolen. Can you help me?

    I need assistance with deactivation Suite CS6.  My Mac Book has been stolen. Can you help me?

    Contact support by web chat or telephone to reset the activations.

    Mylenium

  • I need assistance with lightroom 4 - I downloaded the software but I can not access

    I need assistance with lightroom 4 - I downloaded the software but I can't access it. I have windows XP I need to upgrade to windows vista or windows 7? Any help please. Thanks Zara

    Lightroom 4 does not work on Windows XP

    http://www.Adobe.com/products/Photoshop-Lightroom/tech-specs.html

    You will need to upgrade to Windows 7 or Windows 8. Avoid Vista - It's terrible.

  • New blackBerry Blackberry Smartphones and need assistance with calendar

    Hi all

    Just got my first BB and could do with some help with my laptop and schedule (do not know if what I want is possible or available, sorry it of not )

    I had my BB for my personal use and want to be able to sync with a calendar on my laptop.  I don't have microsoft outlook, so I was wondering if anyone knew an application or download I can get who will give me a calendar on my laptop that I can sync with my BB.

    Thank you very much

    ABI

    ABI, welcome to the Forums.

    Google Calendar sync is an ideal option.

    http://www.Google.com/mobile/BlackBerry/sync.html

  • HP Pavilion Notebook - 15-p199: need help with the installation and activation of 10 Windows after completely uninstalling Windows

    Hello HP assistants.

    I need help for a specific problem. My laptop came with an installation of Windows 8.1. Then I upgraded to 10 Windows when it became available. After a while, I decided to uninstall Windows completely (to wipe the hard drive) and install a Linux operating system.

    Now, I decided that I want to use some software that is not available on Linux and if I want to reinstall Windows 10. My problem is that Windows has completely disappeared in a form any. So now, I need to download Windows 10 from an official source (which I think can be done fairly easily from the official source of Microsoft, although if there is a better, HP official medium to do this then please recommend it) and then I need to activate Windows some how.

    As has been made clear, I have the right to use Windows 8.1 and 10 but I would need to download Windows 10 and turn it on. Is there a way to do this? I'm literally stuck without solution.

    Thanks in advance.

    Hello

    As long as the previous installation of Windows 10 had activated Ok after upgrade from 8.1, you can simply perform a new installation as described in the guide on the following link.  Note: On the activation screen, select "I don't have a product key" - Windows will activate automatically once installation is complete.

    http://www.howtogeek.com/224342/how-to-clean-install-Windows-10/

    Kind regards

    DP - K

  • I NEED ASSISTANCE WITH MY APPLE FOR MY ICLOUD COORDINATION ID ID

    I got a new iPhone5, and in some sort the iCloud username was set to an old my friends e-mail account that is different from my current ID. Apple ICloud I sign again, but I do not know the password.  I tried to reset the password with the old email address, but the site reset does not have the username that I.  I am in a catch 22.    When I go to iCloud in the settings it is all grey and the iCloud drive show it's upgrading, but he never finished the upgrade.  I called the support of apple, but without success;  I went to the Apple store and they say that I need to contact apple, Apple Care support.    I have the latest ios. Any ideas on how to solve this problem?

    Welcome to the Apple community.

    If you are unable to remember your password, security issues, do not have access to your address of rescue or are unable to reset your password for any reason, your only option is to contact the Support of Apple ID, to speak to an operator you should explain that your problem is related to your Apple ID This way you can be attributed to the assistance, even if you do not have an AppleCare plan.

    You will need to be patient with the process and to be ready to prove without doubt that the account belongs to you. Do not expect access to be restored immediately and if you are not the owner of the Apple ID saved to the device the account will not be reset.

  • Satellite A300D - 156 BIOS update failed - I need assistance with recovery

    Hello

    I know it is old enough, but until now, it was just good enough for my use.
    In any case, after I did a restore of the Windows Vista operating system came with my computer, I got a notification of one of the tools of Toshiba that an updated BIOS is available for my computer.
    I downloaded and tried to perform an update. After that the process had finished (probably), the computer has not responded to the pad touchscreen and keyboard. I was not sure if the update really took place, especially because it looked like the computer has been is frozen. So I left it for the next +/-30 minutes, but no change.
    So I decided to reset it as even the power button did not work. So I had to remove the battery and unplug the AC power.

    ... and the computer has (almost) dead then.

    Now, it is that when I press the power button it seems to power up but the screen remains blank, fan works and Windows is not booting. It's just a short scratching sound of the DVD drive noise, and that's all.

    My question is, what is the recovery procedure in my situation? I tried to look for potential assistance on the Internet and I found a few forum or articles messages indicating that there is some recovery for the different BIOS procedures, but what is the procedure for my BIOS? The only thing I found the 'work' was that if I press the power button now the keys Fn + Esc, computer laptop powers on with power button / stop flashes. But how to force recovery BIOS flashing procedure?

    Thanks in advance for any help!

    It's really stupid situation now. You will not be able to fix it with a simple recovery operation. BIOS is broken.
    In the past I have faced no such situation but on this forum I found a very interesting thread on BIOS recovery. Please take some time and visit this thread.

    Maybe this will help you with your machine.

  • I need assistance with my WAP54G access point!

    I tried to connect my nintendo dsi to the internet using the WEP encryption, so I went to my router configuration page, then he wasn't no matter what tab wireless or settings on the page... my dsi SYSTEM can go to the internet via the setting of WPA, but my games, which is supported with WEP setting cant. so, I really need someone's help now! I don't want to miss the online features of my games... also, I asked my father if he can help me then he says he can only if I find the CD or download WAP54G ver 3.1 somewhere.

    Thanks in advance...

    If your Access Point is connected to a wired router, so you don't have to change the settings of your router, you just need to enable wireless security and change the SSID of your Access Point, and it should be good to go... Also make sure that your Access Point is in the subnet of your router...

    If the IP address of the router is 192.168.1.1, then the Access Point on your address IP should be 192.168.1.245...

  • Need help with the formatting and reinstalling windows

    Hi, I have a Compaq Presario C700 p/n GR598EA #ABU I got to work about 3 years ago.

    Recently, it does not load windows, even in safe mode and I can't get back either.

    I used a disc to boot from linux to access and backup of all my important files and now I want to reformat the hard drive, resintall windows and start over (or try something else which will fix it)

    The laptop has been pre-installed with Windows Vista and HP stuff had already installed on it.  I don't have a Windows disc or discs of driver with the laptop.

    How can I format and reinstall windows and drivers, if I don't have records?

    Help, please.

    Thank you.

    Hello:

    You can order a Vista recovery disk set for your laptop if they are still available. See the instructions below:

    http://support.HP.com/US-en/document/c00810334=

    If you live not in the US or the Canada, you can contact HP Support worldwide for the country you live and ask recovery disks command to your laptop

    The link to the assistance of HP WW is below:

    http://welcome.HP.com/country/us/en/wwcontact_us.html

    Paul

  • I need assistance with brush photoshop action

    I need help with this action, does not open correctly, it should be the firstIMG_4344.jpg

    I bet you use a British action, which, at one point, refers to the bottom layer, which is a 'Fondo' in your language. Even if the issue is not with the background, an English action may still cause problems with Photoshop to another language.

    Two things to try. If you have Photoshop CC (and know enough English to work in an English version) you can download packages in English, perform the action, save and return to your native language. Or;

    Write the exact steps in the action and re-save the action in your native language.

    I hope this helps!

Maybe you are looking for