Controlling a Siemens S120 drive from LabVIEW over Profinet

Does anyone have any experience using LabVIEW to control a Siemens Sinamatic S120 drive over Profinet.  Siemens has a very basic application note which describes using a DLL that they provide to interface with the S120 drive.  It is really unclear if all the drive parameters can be controlled using this interface.
https://support.industry.siemens.com/cs/attachments/99684399/99684399_SINAMICS_G_S_Ansteuerung_mit_L...
https://support.industry.siemens.com/cs/document/99684399/sinamics-gs-profinet-anbindung-an-labview?...
Does anyone have any experience using LabView to control a Siemens S120 drive?  How difficult is it?

Hello ipbrown,
This looks to be a DLL created by Siemens to be interfaced with LabVIEW.  Unfortunately, we will have very limited knowledge of what capabilities this DLL provides.  You may need to contact Siemens.  Most of the experience I have with PROFINET and LabVIEW involve our PROFINET C Series Module, that can be used to transform a cRIO into a PROFINET slave.

Similar Messages

  • Control CD or DVD Drive through LabVIEW

    Hi All,
    I am interested in controlling my PCs internal CD/DVD drive using LabVIEW. I've had a look around the forums and ni website and it seems that external CD drives can be controlled using a PXI card and the SCSI interface.
    Searching the LabVIEW help I haven't been able to find any reference to SCSI but I guess the protocol must be implemented somewhere as it can be used with the PXI card I found referenced during my search.
    Initially I would like to just open and close the drive - if anyone can offer some pointers in the right direction I would appreciate it.
    Also if anyone is familiar with the level of access provided by SCSI maybe I could get a little extra information. For example eventually it would be useful to be able to control the motor speed of the CD turntable independently - is this type of command exposed in SCSI?
    Many thanks for your help,
    David
    Solved!
    Go to Solution.

    Open / Close, here: https://decibel.ni.com/content/docs/DOC-19732
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • How to call VXIplugNplay driver from Labview

    I downloaded a VXIplugNplay driver from Tektronics but I can't find any documentation on how to implement and use from Labview

    JCM,
    If it is a LabVIEW driver, the VIs should be available from the Functions palette in Instrument I/O >> Instrument Drivers. If it is not a LabVIEW driver, this KnowledgeBase describes the process of converting the driver:
    http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/a2ee1e1fff7fadda86256843005212d2?OpenDocument
    Good Luck
    Spencer S.

  • How to restart windows driver from LabVIEW code?

    Hi
    I want to restart a window7's driver from my LabVIEW code. Is there any system VI to do that? Which palette should I use in this case? I want to restart windows 7’s driver of the network adapter. I have an Intel network adapter board installed in my system. To this adapter board I have an Intel dirver installed in windows7 operationg system. I want to restart that adapter board from my VI code. Or as alternative I want to disable and enable this adapter board from my VI. How to do that?
    Thanks
    Solved!
    Go to Solution.

    Look at the devcon command line utility. I believe you can use it to do most of the functions you can do from the windows device manager.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Control multi dynamixel AX-12 with LabView

    I need help controlling 2nd Dynamixel AX-12 from LabView based on "Dynamixel Sync Write Example" code.
    We used one USB2 dynamixel to control one dynamixel ax-12 from Labview. It worked well.
    Recently I added another ax-12. The two ax-12 are in series. USB2dynamixel is set to TTL. The Labview code generated dual control front panal automatically. Controlling one unit is good. But controlling the 2nd ax-12 is a problem:
    The ID seems incorrect according to USB2dynamixel chart: the unit next to the USB should be #0, the one in series with #0 should be #1 and so on. On my setup, I couldn't find a correct ID associated with the unit next to the USB. The one in series with it is #1. Only #1 responds correctly to front panel control.
    When click "run" 1st time ax-12 #1 will rotate according to set positions. click "run" again, the other ax-12 will rotate according to #1's set positions, not its own positions. The other unit's ID can be set any number, and results are the same.
    Has anyone used the same LabView code to control more than one ax-12 with USB2Dynamixel? Anything I have missed? Appreciate your inputs.
    Attachments:
    front.PNG ‏53 KB
    block.PNG ‏38 KB

    Thanks, Drew
    You are correct that the code is from NI example less while loop. I did repeated runs, results are the same as two single runs.
    I just traced the executions and recorded header and checksum parameters for ID #1 and #2 for debugging. I placed two sets of positions to separate ID#1 and ID #2:
             Control      Dial      Position      Manual pos
    ID#1      0           off         60              160
    ID#2      1           on        100             200
    There is only one set of header and checksum value being passed in the program. That might explain only one set of position (ID#1) was set, the other one (ID#2) was ignored.
    Does that make sense?
    Anne
    Attachments:
    111026 dynamixel.pdf ‏198 KB

  • Conversion of an Instrument Driver from LabWindows/CVI to LabVIEW

    Hello All,
    Conversion of an Instrument Driver from LabWindows/CVI to LabVIEW
    http://zone.ni.com/devzone/conceptd.nsf/webmain/9A93316BEBEDB17786256FA300675A0A 
    But I can not find any hyperlinkt to download
    "LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers"
    Is there any evaluation version for downloading?
    Thanks,
    nonomiya

    So strange,
    I go through three pages but does not find any entry for download,
    hmm...,
    1. After press the hyperlink,
    See Also:
    LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers
    2. and for a resuest info. form.
    3. press download..
    ====
    LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers
    System Requirements
    NI LabVIEW 7.1 or later
    Windows 2000/NT/XP
    Use the LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers to create LabVIEW VIs for VXIplug&play and IVI-C instrument drivers from function panel (.fp) files.
    Instrument Driver Network
    Before using the conversion utility to create a new instrument driver wrapper, please visit ni.com/idnet to see if a LabVIEW Plug and Play instrument driver is available for your device. The Instrument Driver Network (IDNET) provides support for more than 3,000 different instrument models from over 170 different instrument vendors.
    Recommendations
    This utility was created for developers of C-based instrument drivers who wish to provide a LabVIEW interface, but do not develop a LabVIEW Plug and Play driver. By developing the C and LabVIEW interfaces together, it keeps the components synchronized, and eliminates the need for customers to create their own LabVIEW interfaces. Vendors should distribute the LabVIEW wrapper files with the associated VXIplug&play or IVI instrument driver, so that end users do not have to visit multiple web sites to download the complete driver.
    If you are not an instrument vendor, we recommend that you use this utility only if you have instrument driver expertise. Access to the instrument driver source code is preferred, in case you need to edit the C instrument driver in LabWindows/CVI.
    After generation, the wrapper VIs should be tested with the instrument.
    Instructions
    Once you install the software, simply access the utility from the Tools>>Instrumentation>>Import CVI Instrument Driver...menu in LabVIEW. This software replaces the built-in tool and provides feature enhancements.
    For additional information on this utility, view the resources below.
    Readme for the LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers
    Submit your Driver
    Visit the Instrument Driver Network
    nonomiya

  • Controlling multiple signal generators from labview

    Hi,
    Is it possible to control more than one signal generator at the same time from labview through the 10 MHz clock signal(or any other possibility) on a 33250 signal generator ? I need to maintain the same frequency on both of them but be able to change the phase on one.
    I understand this is possible via ethernet.
    Any suggestions...
    Thanks
    Sri

    Hi Sri,
    Thanks for posting on the NI forums.
    As gwd noted this device has an RS-232 port and indeed does have a GPIB interface, but no ethernet port as per the page three of the 33250A's spec sheet (link below). This means that the instrument can be controlled from your desktop PC via an RS-232 (COM) port (one port per instrument), or via a GPIB card in your PC. As GPIB is a 'multidrop' communication method you will only need one GPIB card to control both instruments in this case.
    http://cp.literature.agilent.com/litweb/pdf/5968-8807EN.pdf
    I assume you are programming in LabVIEW as this post in the LabVIEW section. There is an instrument driver provided for the LabVIEW environment on the NI website which should make it easier to control your instrument(s) (see link below).
    http://sine.ni.com/apps/we/niid_web_display.drv_results?p_app_area=&p_man=agilent&p_keywords=33250&p...=
    I hope this helps. all the best,
    Rob
    Field Sales Engineer | National Instruments | UK & Ireland

  • Can I control Unholtz-Dickie VWIN ver. 4.61 software from Labview?

    Unholtz-Dickie VWIN is a Window-based application that controls a vibration system. I want to coordinate the vibration control with the acquisition of data from the unit under test.

    Hello,
    I just did a quick websearch and wasn't able to find any information on getting LabVIEW to work with this VWIN software of which you speak. If this software has ActiveX capabilities, you should be able to communicate with it from LabVIEW without any problems...LabVIEW has the ability to control other programs with its ActiveX tools. If your VWIN software does not support ActiveX, however, your options are rather limited...you could use the "System Exec" VI in LabVIEW to launch the VWIN software from LabVIEW, but you would have no control over it from LabVIEW.
    There are other ways of communicating between programs (DLL calls, simple ASCII text file writing, etc.), but these would not be as easy as ActiveX. You may want to contact the manufacturer of this softwar
    e and ask them if they known of any of their customers attempting to control the software externally, and if so, what methods they used.
    I wish you luck with your application. Also, in the future please post LabVIEW-related question in the appropriate LabVIEW forum.
    Have a pleasant day.
    Sincerely,
    Darren N.
    NI Applications Engineer
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Control a LabVIEW GUI exe from LabVIEW

    I have a vendor supplied LabVIEW.exe application, it's used to control a device that's part of an automated manufacturing process.   At present we need to manually run the exe from the control PC , read data, make a decision, then input a few values, button clicks etc.   I'd like to automate this step.  Without having the source code for the application, what options do I have for controlling this application from LabVIEW?
    I tried using System Exec.vi, but I got beat when I needed to right-click on a graph indicator to retrieve data.  LabVIEW applications don't accept SHIFT+f10 for right-click.
    What other methods can I use to communicate with this application?

    Dennis_Knutson wrote:
    On the other hand, if the specifications that you provided to the software vendor did not include these requirements, then the vendor would be quite reasonable in asking for additional money to make the changes. You should also have required that the source code be provided.
    Of course, this is true. I was making an assumption, that since the OP has experience in LabVIEW, these sort of things had already been taken into consideration by the buyer.
    Would source code normally be provided when someone purchases an EXE? If there are proprietary pieces in there (algorithms, etc.), I thought it would be more common for the vendor to just provide hooks to the control and data functions.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • How to access the Custom Data type variable given in Expression edit control To and From LabVIEW

    Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
    Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
    VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
    Channel1: Number and
    Channel2: Number
    I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
    I would like to know how to get the values of this custom data type to LabVIEW?
    Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
    how do i need to set this cluster to the Custom Data type variable in TestStand?
    Thanks and Regards
    Prakash 

    Hi,
    TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
     LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
    Hope this helps
    .......^___________________^
    ....../ '---_BOT ____________ ]
    ...../_==O;;;;;;;;_______.:/
    Attachments:
    1.JPG ‏187 KB

  • Controlling Tera Term from labview

    Hi guys
    In my new project I would like to send commands to Tera Term Pro. Tera Term then responds to the commands from Labview the same way as I would type the commands directly into Tera Term.
    I'm able to use cmd.exe with the SystemExecute Vi, but for my program I would like to do the same with Tera Term.
    I would like to send commands with a stringcontrol and get the respond in a string indicator, all in labview. Tera Term should run invisible in the background.
    So for this I thought using ActiveX would be the best. I have downloaded tera term pro.
    In Labview I create this from the ActiveX Palette and select browse on the ActiveX Class.
    In the Tera Term folder I find many .dll's:
    I have tried to open them all, but I only get this message:
    Does this mean it's impossible to use Tera Term with Labview like I described?
    I'm not so familiar with ActiveX, only with Excel (which is in the ActiveX Class list), so I might have missed something.
    My goal was to create a sub-vi which does the communication with Tera Term, the same way SystemExecute VI is built.
    Regards,
    Even
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway
    Solved!
    Go to Solution.

    Sorry for this late reply. I have been using Teraterm Macro (not Teraterm Pro serial terminal) to interface with my previous provisioning app written in LabVIEW.
    Teraterm Macro is such a lifesaver in that it can easily interface with your development boards that need: (1) RS-232C, (2) FTP, (3) TFTP or (4) SSH connections. The plain-vanilla 'serial' VI's are just that - serial port only and those need additional code to work reliably. If you need a good serial port VI try Prabhakant Patil's Hyper Terminal for LV 2009 and newer. You will find an ZIP or VIPM package from LAVA (lava.org). I have used his versions countless of times and is 10x more reliable than provided in LV examples.
    You will indeed use the System-Exec.VI to call Teraterm Macro since *sigh* no one has written a wrapper for the DLLs (as you mentioned they are built for .Net framework. I have talked with the current developers and they are willing to give anyone the pass to extend Teraterm for LabVIEW so C++ devs out there with good LabVIEW knowledge should re-build the DLLs as static libraries that can be called from within LabVIEW. For now, this is the only way and it is a kludge - but it works - just not in a way you expect.
    Here you can see that I am building the command line arguments before I call the system-exec node. Refer to the excellent how-to instructions at:
    http://ttssh2.sourceforge.jp/manual/en/macro/commandline.html
    Teraterm Macro will be spawned (opened) like it would when called from the command line. Its std input & output are not tied to your VI. You can merely pass arguments to the system-exec node. This is the reasons why we need someone to recompile the Teraterm Macro DLL as a static library (anyone?) so we can build a wrapper VI around the functions. Then its std inputs and outputs can be tied to LabVIEW's controls and indicators - hence, it becomes LV native.
    -Relativity

  • I am using Activex controls from Labview to log the data into Excel spreadshee​t. My applica

    tion is running fine without giving any error messages. But even after the vi stops, excel process does not shutdown. "Excel.exe" process keeps running until I end it from Windows NT Task Manager. Is there any way to end the excel.exe process from Labview?

    tion is running fine without giving any error messages. But even after the vi stops, excel process does not shutdown. "Excel.exe" process keeps running until I end it from Windows NT Task Manager. Is there any way to end the excel.exe process from Labview?I use Excel Active X control frequently to save and then analysis test data. In order to properly destroy the "Excel.exe" process it is important to close all the automation refnums opened when using the Excel active x controls. After completing your desired Excel task wire all the refnums in reverse order they were created into the Automation Close function in Functions->Communication->Active X pallette. This includes all Application, Workbook, Worksheet, or Range refnum. Missing even one of these refnums will mean that Excel.exe will still persist in the task manager and cause problems when excel is opened from outside LabVIEW. I hope this helps.
    Stephan

  • "Remotely Control LabVIEW Over the Web "in LabView 6.0

    Hello,
    is it possible that I realize "Remotely Control LabView Over the Web" in
    LabView6.0 ?
    Thanks a lot!

    The LabVIEW Remote Panels feature was added with version 6.1. If you have not done so, I highly recommend the upgrade!
    Daniel L. Press
    PrimeTest Corp.
    www.primetest.com

  • Control of Siemens Simotion over XML-OPC

    HI,
    I am trying to control a Siemens Simotion unit over XML-OPC. With a XML-Browers we can access the data inside the Simotion. But it was not possible to open a connection with CVIXMLLoadDocument
    Does anyone of you have experience with XML programming?
    Does CVIXMLLoadDocument need a special format or is this defined in XML? That means does CVIXMLLoadDocument look for a special document? Or how does it work ?
    Greetings
    Oliver

    Hi Oliver,
    I can not answer your question (no experience in XML programming). The reason of this reply then is just the comment that we use a slightly different approach for controlling a S7-200 SPS, using a Siemens OPC server.

  • Hi iv got a sky router downstairs and a time capsule up stairs how do i set it up so that it just extends the sky wifi and then the hard drive in the time capsule is accessible from all over the house thanks

    hi iv got a sky router downstairs and a time capsule up stairs how do i set it up so that it just extends the sky wifi and then the hard drive in the time capsule is accessible from all over the house thanks

    Connect an Ethernet cable from one of the LAN <--> ports on the back of the Sky router to the WAN (circle of dots icon) port on the back of the Time Capsule. This connection must be maintained at all times.
    Then, using the setup "wizard" on your iMac illustrated below, configure the Time Capsule to create a wireless network that uses the exact same wireless network name and password that the Sky router is using.
    You can get the setup wizard going in several different ways, but the simplest might be to click the WiFi icon at the top of the Mac's screen and then click on Time Capsule under the heading of New AirPort Base Station.
    The wizard will open up and analyze the network, then the suggest the correct setup. The example below shows an older AirPort Express that is about to be setup in the same way. You will see a Time Capsule icon on your screen when you run the setup wizard.

Maybe you are looking for

  • Establish IP from DHCP but no Internet or Extremely Slow

    Synopsis: Net Macmin, New Ethernet Cat 6 cable (approx. 90 ft), DSL Comtrend Router.  IP Connects, slow to no internet. Added a 90' cable and ends across store basement from front PC to router in rear of business.  Standard non-crossover Cat 6 cable

  • My iphone 4 reboots on its own

    Ever since I updated my phone to the IOS 7, my phone reboots at random and until I plug it in, it shows the apple sign.  Please help.  I'm not eligible for an upgrade yet

  • Mark for Review Forum Feature hides posts after 5th time

    Hi SDN and BPX Forum Aficionados, The abuse button has another little known feature that has the potential to really improve the quality of forum content. You mark a post for review by hitting the ! icon, select a category and please add a couple of

  • Download Integration Option for Microsoft SharePoint

    From where can I download Integration Option for Microsoft SharePoinnt for SAP BI 4.1? Or is it the same as for BI 4.0? Thanks.

  • May i know which java source editor u are using please?

    i'm new to java programming... using notepad to do the source code edit... i tried forte for java... but seems difficult... anyone can recommend a user-friendly or industry standard editor for me? thanks....