"How to use an Appplicom card with Labview and a Seimens PLC"

Hi, I am using an applicom card type PCI1500-PFB to communicate with a Seimens S7-300 CPU315-2DP plc. I am using this simply to display in a labview front panel the outputs of the plc and may in the future use switches on the front panel to control the inputs of the plc. How do I do the communication? I have setup the applicam card and have comms with the plc I think. I am trying to use data socket to communicate to the plc via the applicom card. Any suggestions?
Thanks
Tom

There�s a fair bit of documentation on NI�s site regarding the Applicom card.
The following doc does a pretty good job summarizing Applicom's PCCONF and PCINIT, and the use of ReadWait and WriteWait to ensure you�ve got communication with the between the PLC and the Applicom card:
http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/5913e03f551de3f786256a32005b4586?OpenDocument
Since it doesn�t sound like you�re using the LV DSC module, you can stop reading once it gets into connecting to Lookout Objects.
Once you�re sure you�ve got comm, you can do some quick tests in LabVIEW using front panel datasocket connections as shown on page 11-12 of the following:
http://www.ni.com/pdf/manuals/323241a.pdf
From there, it all depends on
the complexity of your system. If simple, you could just stay with front panel connections, or you could move to programming with the Datasocket Read and Write functions.
... and if you get to the point that Datasocket is too slow and cumbersome, you might want to look at the LV DSC module:
http://ni.com/labview/labviewdsc/what_is.htm?node=10418
=====================================================
Fading out. " ... J. Arthur Rank on gong."

Similar Messages

  • I want to use the sound card with LabView

    Hi. Who can help me, I want to use the sound card with LabView, I have found the function but I can't use it. Thanks.

    Christi,
    In LabVIEW 6.1 I found some examples they use those sound VIs. They are located in \examples\sound folder. Those examples should give you a good overview how to use the VIs.
    Hope this helps
    Roland

  • How to use a GPIB card's LabView drivers to communicate with the card?

    I have an axiomtek AX4810P PCI-GPIB card and i have aquired LabView drivers from the manufacturer.
    This has put VI's for the GPIB functions on the 'user palette' but i can't work out how to use them to communicate with the card. can anyone help? please.

    LS,
    Thank you for contacting National Instruments.
    Unfortunately, since you are not using a National Instruments GPIB card, I do not have access to the drivers that were provided to you by your card's manufacturer. I would suggest contacting Axiomtek directly to obtain support using their drivers.
    However, I did write a small VI that demonstrates how to use similar National Instruments drivers with a National Instruments GPIB card. Keep in mind, this example VI is not intended to work with your particular card. The drivers you obtained from Axiomtek may have similar functions, however, and you can use my VI as a guide. My VI allows you to send a command to an instrument at address 2 on the GPIB card.
    Hope this helps!
    Matthew C
    Applications
    Engineer
    National Instruments
    Attachments:
    GPIB_Communication.vi ‏23 KB

  • How to switch central frequency fastly with labview and USRP?

    Hello everybody,
             Recently I was making a frequency hopping receiver with labview and USRP N210 and SBX. The transmitter works on the 2.4G band, and it changes from one central frequency to another every 65536us. As I think, if I start receiving at the correct time, and  change the central frequency of the USRP every 65536us, I should be able to receive the data.
        But I find that, when usrp switch form one central frequency to a different one, it spends nearly 48ms and when it switch from one frequency to the same one, it only spends 3ms(I test the performance by modifying the niUSRP EX Rx Continuous Async Reconfig on the Fly.vi example). So if I want to follow the hopping sequency, I may can only receive 17ms data because I have to save time for switching central frequency. 
         My problem is that: why usrp changes central frequency so slow,  how can I make the process faster? If I want to follow the hopping sequency, can anybody give me some good advice? Thanks

    There is an attribute "LO Frequency" that you can use to lock down the frequency of the local oscillator.  Then, when you set the "Carrier Frequency" attribute, the difference between the carrier frequency value and the LO frequency value will be realized by frequency shift in the DSP in the FPGA.  Changing this "digital" frequency shift value is much faster, since you don't have to re-tune the local oscillator.
    Let's say you're sweeping from 2.44 GHz to 2.46 GHz.  Set the "LO Frequency" to 2.45 GHz then Commit.  Then, in your loop, program the "Carrier Frequency" attribute from 2.44 GHz to 2.46 GHz.  In the loop, it will only program the digital frequency shift, which will happen much faster.
    Another tip is to use the property node to program only the attributes you want to change, rather than the niUSRP Configure Signal.vi (which sets many at once).
    For more details, see the "Configuration:Advanced:LO Frequency Property" in the NI-USRP Help, and look at this example:
    <LabVIEW dir>\examples\instr\niUSRP\niUSRP EX Fine-Tune LO Frequency.vi

  • How to use another SIM card with my AT&T Iphone

    I have to go in france and use a French office' sim card from another provider than AT&T. But here, I've got all my professional, and private, mail box and conatct on it.
    How have I to do in order to use this other sim card in my Iphone? I don't want to buy another cell phone for only few weeks in year !
    When I was in france my provider was agree to unlock my old iphone before leaving the country. that's why that was easy for me to use it in US with an AT&T sim card. But now, they change my oldest 3g with a new one, it is impossible for me to have the same situation ...
    and I'm a AT&T customer since more two years ...

    There is no way to use a phone locked to AT&T with another provider.  AT&T does not unlock iPhones for anyone.  Ever..

  • Itunes - How to use a credit card with a remaining gift card balance

    In iTunes, I'm running into an issue where I have a gift card that is tied to my account and i have 4$ left on the card. I want to buy a song using my credit card, and I have successfully entered my credit card information into my account, but I don't know of a way to explicitly buy a iTunes song and charge my credit card rather than having it pull from my gift card's remaining balance.
    Please let me know if there is explicitly charge your credit card even with a remaining gift card balance. In recent songs that I've bought, iTunes has been automatically defaulting to use my registered gift card rather than the credit card I have on file.

    I'm having a similar issue: just redeemed a gift card for $25. I can see it in the upper right corner. Yet when I select a song to download, I am (again) asked to sign in and select a credit card to use. I don't want to use a credit card, I want to use the $25 card. This hasn't happened to me before now. If I click the 'redeem gift card' option in the credit card screen, it correctly says that that card has already been redeemed.

  • How to use a ps3 controller with labview

    Hello, I am trying to implement a ps3 controller in labview but am having trouble. I was wondering if anyone knew how to do this or had any ideas for me. Thanks for the help

    Hi Keaton
    I'm not too sure how the inputs of the controllers work on a lower level, but Sixaxis offers a driver to integrate the ps3 controller onto a pc. It is available at this website:
    http://dl.qj.net/playstation-3/tools-and-utilities/sixaxis-driver-for-pc.html 
    This may be an easier starting point that having to go from scratch. You can look into using the call library functions in labview and access some of the functions that may be available in that driver. This seems like a better choice then pulling out wires and using a daq device to read value since you wont actually have to take apart the controller. That being said, for support on that driver, you might have more luck on the sixaxis forums here:
    http://forums.qj.net/
    Hope this helps
    Luke W

  • Can I use any acquistion card with Labview?

    I have got a non NI acquistion card, how can I use LabVIEW to program it?

    > But are all the software drivers provided by vendors recognized by
    > LabVIEW? In other terms, must these drivers get a satandard
    > architecture or protocol so LabVIEW can communicate with them? Or, if
    > I develop my own acquisition card, how can I write it's driver so
    > LabVIEW can communicate with it?
    The LV drivers for various NI products are essentially VIs that call
    into a user level DLL. That DLL does its work and returns the results
    and/or error info to the diagram.
    If the board has a DLL that allows it to work, then you can make quick
    wrapper VIs to make it fit the LV language a bit better.
    There are no architectures or protocols for drivers to replace NI-DAQ or
    other NI driver wrappers.
    Greg McKaskle

  • How to use non-MySQL database with DW and PHP...???

    I need to connect to a data-source that is not MySQL from
    with my PHP scripts. The only option I get under the Databases tab
    in the Application panel is MySQL Connection. What about just
    standard ODBC connections? Will DW not handle those for me? Do I
    have to do all of that by hand??
    Any information would be greatly appreciated. Thanks!

    "Angell EYE" <[email protected]> wrote in
    message
    news:fc4eaj$fmn$[email protected]..
    >I need to connect to a data-source that is not MySQL from
    with my PHP
    >scripts.
    > The only option I get under the Databases tab in the
    Application panel is
    > MySQL
    > Connection. What about just standard ODBC connections?
    Will DW not
    > handle
    > those for me? Do I have to do all of that by hand??
    >
    > Any information would be greatly appreciated. Thanks!
    There once existed an opensource servermodel called phakt
    that used the
    ADODB database abstraction library,
    the company that created and supported it was bought by Adobe
    and
    subsequently the project was cancelled.
    A group of people (including me) started a community
    initiative@
    http://openphakt.sourceforge.net
    to continue distribution and development of
    phakt, but unfortunately I don't have access to Dreamweaver
    CS3 due to lack
    of funding.
    Phakt will almost certainly NOT run on CS3 in it's current
    state, but is
    should support previous versions.
    Joris

  • How to use SQL String functions with JPA and SAP NW

    Hi Everyone,
    I'm recently got the following problem:
    I have a Web Service project using JPA. But as i found out SAPs JPA implementation or more precisely openSQL restricts the use of the LOWER() function, which converts a String to lower case.
    Now I am looking for some sort of workaround. I want to execute the following JPQL query:
    SELECT bp FROM BusinessPartner bp WHERE LOWER(bp.companyName) LIKE LOWER(:companyName)
    I assume there is somewhere a flag to disable this restrictions, because there might be cases, like mine, where this standard functions are needed.
    Kind Regards,
    Carl

    Hi Vladimir,
    no it's not the same issue, because I am asking for a solution for this problem. There have to be ways to bypass this. Otherwise you can't use JPA properly. This is too much of a restriction!
    Is there no possibility to change to another implementation than openSQL?
    Regards,
    Carl
    Edited by: Carl Simon Heckmann on Feb 2, 2009 2:26 PM

  • How to use a c file in LabVIEW

    Hi All,
    I have a c file which communicates through serial port and J1850 protocol. I want to use the C file in labview and do the communication through serial port.
    Can any one give me an idea how I have to use the c file in LabVIEW.
    Thank you.!
    ---------------- Be Good. Do Good. ---------------------

    Have you tried reading the LabVIEW Help or even searching this web site? This question has been asked MANY times. There's a section in the LabVIEW Help called "Calling Code Written in Text-Based Programming Languages." There are also several articles written on this. Here's just one: https://decibel.ni.com/content/docs/DOC-1690
    Please do the research and then come back with a more specific question.

  • How to use itunes gift card to buy apps on ipad 2? Do I need a credit card for it?

    how to use itunes gift card to buy apps on ipad 2? Do I need a credit card for it?

    I'm sorry, but there is nothing that I can do to help you with this situation. I don't know why, but many people have problems when they try to buy gems in the Clash of Clans game. Personally, I wouldn't touch the game with a ten foot pole, but that's just my opinion.
    You will have to contact iTunes Store Support and ask for their help. You can email them from here.
    https://getsupport.apple.com/Issues.action

  • I had a gift card with money and I used it on iTunes now there isnt any money...

    I had a gift card with money and I used it on iTunes now there isnt any money how to i change my payment back to none? When I try downloading any app it say "Please enter password to review billing information" I want to change it back to "none"

    Sign into your account through the iTunes app and look for a None option in the Payment Method section.

  • I cannot use my pci5112 card with LV ver. 6.0

    I'am trying to use my pci5112 card with LV 6.0 using the DAQ solutions. I get a message saying that I have not configured any DAQ devices. When I launch MAX I see the card there and the test panels are ok.
    I have the niscope1.6 driver installed.
    Any ideas?
    Thank you in advance.

    The PCI-5112 can only be programmed with NI-Scope. That's why the PCI-5112 does not work with the DAQ Solution Wizard.
    Fortunately, there are lots of good examples for NI-Scope in LabVIEW. You can find these in the C:\Program Files\National Instruments\LabVIEW 6.0\examples\instr\niScope directory. I would recommend starting with the Configured Acquisition example and then going from there depending on the needs of your application.
    Hope this helps,
    Jack

  • How link my own contact card with pages ?

    How link my own contact card with pages ? When i start with a new model i still have Urna Semper ...?
    I the old version of pages i can link them directly but now i really dont know what i have to do ...

    Susan:
    If you already have a hosting service you won't need a MobileMe account.
    There are two ways you can upload your web site to your server: 1 - click on the site icon in iWeb and enter the ftp address path for your server and account in the window.
    Click to view full size
    2 - publish to a folder on the Desktop (set the path in the same window above) and use a 3rd party ftp client like the free CyberDuck (highly regarded in this forum) to upload to your server.
    As far as the domain name, go to your domain name provider and setup domain name forwarding to the site on your host server. You'll need to know the URL to the index.html file that is created along with the site folder by iWeb.
    Here is some information regarding the domain name forwarding and masking (most applies to both Mac and non-Mac servers):
    http://iwebfaq.org/site/iWeb_Domains.html
    http://discussions.apple.com/thread.jspa?threadID=1164519&tstart=0
    OT

Maybe you are looking for