How can I control a Festo (MH..4) Valve with Labview?

Hey,
i'm very new to this Labview stuff and have a minimal background in electronics so I'm struggling with trying to sort this one out.
I have a high-frequency valve (~400Hz) that we would like to control via the 9 pin RS232 port using labview. is this possible?
i imagine we will need an interface between the computer and the the valve (which requires a 24Volt digital signal) but I am not sure what to use. Buying a stock pc control board from LabVIEW is not an option because I will be running this from a laptop.
cheers
Nic

Nic,
you can easely control 2(3) of the 9 Pins of the RS232 Port with the VISA Propeties (Visa Open, VISA Propety (Modem line settings: DTR and RTS state (and Break (TDx)) , VISA Close)
However, since the serial driver it is not made for this type of timed digital IO, I'm not shure about the resolution you might get. If you have a scope, then do some loop testing and move some windows or do some other system load :-)
Have a nice weekend
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

Similar Messages

  • How can I control a HP 33120A waveform generator with the serial port of my PC?

    Hello,
    I want to control a HP 33120A waveform generator with my PC using the serial port. I don't have any idea about how to do it. If you've done it or if you know how I can do it, please give me some indications.
    Thanks
    Jean-Baptiste Paillet
    PS: I don`t have G PIB port

    The answer to your cross-post in the LabVIEW General group seems to be right on the money:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000032200000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    Regards,
    John Lum
    National Instruments

  • How can I set the SRQ bit on GPIB with LabView ?

    Hello,
    I am developping an application with LabView RT on a PXI RT system. This application acts as an instrument (non controller GPIB), and I need to assert the SRQ line. How can I do that ?
    I know the ibrsv function, but I can't find it in LabView, and I can not use it through a DLL call since GPIB DLLs are not compatible with Real-Time.
    Thank you.

    Hello Alfonso,
    It sounds like you might be getting errors -200279 and -200278.  (In the future, if you post the actual error codes, it helps us to know exactly what is happening).  Error -200279 happens when you are performing a hardware-timed acquisition (meaning the data is sampled according to a clock signal on your board), but your LabVIEW program is not reading the values from the buffer allocated for that task in computer memory fast enough.  Basically it's a buffer overflow error.  It means older samples have been overwritten before you attempted to read them out.  As the error message suggests, "increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem."  For more information on this error, please see the KB (DAQmx) Error -200279 During a Continuous, Buffered Acquisition.
    Error -200278 happens most often when you have configured a finite acquisition, but are calling the DAQmx Read function in a loop.  If you want to perform a finite acquisition, you should only call DAQmx Read once.  For more information on this error, see the KB Error -200278 at DAQmx Read.
    Finally, please refer to Abhinav's earlier post about the sample rate on the 9237 module.  As he described, the NI-DAQmx 8.3 driver will only allow you to set the sample clock to integer divisions of 50k (50,000/n, where n can be 1, 2, 3...13).  Since the maximum divisor is 13, the smallest sample rate that can be used is 3.846 kS/s.  You can check what value the driver is actually using for the sample clock by reading from the SampClk.Rate property of the DAQmx Timing property node.
    I hope this helps!  Let me know if you have any questions about what I've described.
    Best regards,

  • How can i access remote front panel in RT with LabVIEW run time engine in client PC

    Hi to all,
    I have developed the RT application with cRIO 9075 integrated chassis. And i have access its remote front panel in client PC. Now i want to access the remote panel in the client PC without having LabVIEW runtime engine. If i connect the remote panel with that client, it shows only the vi border. i doesn't downloads the  front panel.
    How Can i access its remote front panel without LabVIEW runtime engine in the client PC?

    You cannot view a remote front panel without the LabVIEW runtime - the LabVIEW runtime is what makes the remote front panel possible.  What you will want to do instead is likely create a Web Service that you can access from a remote PC without requiring the LabVIEW runtime.  However, this will require you to develop a web-based HTML or similar UI to interact with the VIs running on your system - NI hasn't yet created a way to export a LabVIEW front panel as an HTML'ish page.  
    -Danny

  • How can I create a new excel workbook only with labview

    Hi everyone...
    I'm trying to create a new excel workbook only with labview but I can't find the file in the hard disk.
    Someone knows?
    Labview 8,0
    Attachments:
    Create new WB with LV.vi ‏18 KB

    You are not using the correct mechanism. Pull up the Example Finder in LabVIEW, click on the "Search" tab, and enter "Excel". Look for an example called "Write Table to XL". Use this as a starting point for creating new workbooks and adding data to it.
    Note: on disk the example is at <LabVIEW install directory>\examples\comm\ExcelExamples.llb.
    Message Edited by smercurio_fc on 06-05-2007 11:08 AM

  • How can I control my iphone 4 (music) wirelessly with my macbook?

    Does anyone know how I can remotely change the song on my iphone through my macbook? I link my iphone up to my music system and would really like to be able to change songs through my macbook.
    I can use the Remote app to control my macbook through my iphone and really want an app that works the other way round.
    Thanks,
    James

    This: http://www.headlightsoft.com/expod/
    or this: http://www.macroplant.com/

  • How can I control my pc and other computers with my ipod touch 5 gen ?

    Hello
    I have recently bought an iPod 5th Generation and I'm very happy with it !! My question is.
    I have an old laptop iBook and it is connected to a hard disk where I stock my music.... So basically, this old computer is my jukebox. The only problem is that the screen on the iBook doesnt work very well (I must press really strong alongside the mousepad in order to see something). So I was wondering if I could control and see (select music and more), from my iPod touch ? Should I absolutely need to have an Apple TV ?
    Is there an APP so I could control my iBook from my Ipod ?
    I also have another laptop (PC) and I was wondering if I could control everything from my ipod touch ? It could be really fun.
    Many thanks, C.

    The is the Apple Remote app that will allow yo to plave your iTunes music via the iPod.
    There aree also apps that allow controllig the entire computer via the iPod. See:
    http://gizmodo.com/5966724/how-to-control-your-computer-with-your-phone

  • How can I control the music on my iPad with my iphone?

    I can't seem to find a way of controlling the music on my iPad from my iPhone

    You can't. You cannot remote control an iOS device from another device if that is what you are trying to do.

  • How can i control when my animation starts/stops with external JS

    I am making a web app that will allow you to go through "pages" by clicking and dragging or sliding your finger (touch devices).
    I am wanting to make a seperate animation on Edge for each page and play it when the current page is on witht the relevant edge comp.
    So far my code allows me to know what page is being viewed and that the animation should be played, however I can not figure out how to play the comp.
    ie.
    WHEN page = 1, play composition "page1".
         If currentPage is not currentPage, stop composition "page 1".
    Please could you help me as I've been racking my brain all day to figure this out.

    Hi,
    You'll find a tutoriel here.
    Then, example #1 and example #2.

  • Can I control the POSIDYN SDS 5000 driver with LabView?

    Hey all,
    I am working on the automation of some high power syringe pumps, the proposed driver is Stoeber POSIDYN SDS 5000 driver (http://www.stoeber.de/TDE/G5/DOKUV56D/442277_01_PHB_SDS_5000_en.pdf).
    Can this driver be controlled via the NI CAN CompactDAQ (http://www.ni.com/white-paper/12316/en/)?.
    I don't understand the level of integration of the NI CAN interface with generic CAN drivers. In concrete, I want to know if I will need custom binary/ASCII commands or if the NI XNET CAN API will provide the necessary function blocks. If anyone has an example VI that would be great.
    Thanks for your time.
    E.

    Hello Cheve,
    Thanks for using National Instruments forums! Answering your question, yes it is possible to control the POSIDYN 5000 with the XNET driver, just to let you know XNET is the software layer that allows specific hardware to execute CAN commands (as well as LIN and FlexRay) and performs all the communication between NI hardware and your application. For a better understanding you can check the CAN Loopback Test.vi within the Find Examples section in LabVIEW (Help --> Find Examples…).
    Have you already thought about which HW platform you will use? Do you need portability with more than 1 POSIDYN driver or your system will just be mounted in a bench? If you can provide me with this information I will be glad to help you with a recommended hardware platform that fits your needs.
    If you plan to use cDAQ the modules that you can use are the 9861 and 9862.
    http://sine.ni.com/nips/cds/view/p/lang/es/nid/209347
    http://sine.ni.com/nips/cds/view/p/lang/es/nid/210072
    Hope you find this information useful!

  • Hello!!!ho​w can I control an omron plc (sysmac cqm1)with an OPC server?I want to adquire a signal controllin​g its amplitude and frecuency.​How can it be done with OPC server?I already have the NI CD of OPC drivers.Th​ank you

    Hello!!!how can I control an omron plc (sysmac cqm1)with an OPC server?I want to adquire a signal controlling its amplitude and frecuency.How can it be done with OPC server?I already have the NI CD of OPC drivers.Thank you

    Hola Jose David, que OPC estas utilizando?, Si tienes comunicación entre tu computadora y PLC pero falla la comunicación entre el OPC y el PLC? La configuración y direcciones entre los dos es correcta? La comunicación es por cable serial?
    Espero tus respuestas
    Saludos
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • How can I control selection on a PDF

    I have Acrobat Pro 9 Pro build 9.4.6 and am constantly exporting documents from indesign to .pdf, and also building docs in the 'combine' feature from mixed pages. 
    While everything seems to go reasonably well, I have a few problems that are due either to my ignorance, or bugs.
    1.  The biggie; How can I control what I select, for the purpose of copying, moving and deleting?   When I drag the touch-up object tool over my selection, it selects what it wants to most of the time; sometimes it selects (i.e., puts a light blue box around) the entire page, instead of my selection (no pages are scanned).  There are very few instances when I get exactly what I want; there are usually a few lines above or below, no matter how careful I am in my selection.  The funny thing is that this is not a constant; sometimes, the tool works perfectly!  and I have my heart in my mouth every time I really need it to work, hoping that it will not force me to go back to Indesign to make minor corrections.   Perhaps my problems are connected to options I select when exporting my indds, but I've tried checking, clearing, and selecting various combinations and nothing seems to work.
    Sometimes, the text selection tool is strange; a wide blue swath develops over the selected text, even though it is still usually possible to  edit the text in this condition.  And BTW, is there anything to do about the fact that some text can't be edited at all because a suitable font replacement can't be found?  Can't a font be added somehow that will take care of this?
    2. Headers and Footers; fairly effortless, but if the footer contains two rows and I want them centered, the second row looks centered in the preview but not in the doc.  I have to go back to the footer dialog and guesstimate how many spaces to place before the second row to get it to look centered.  Also, is there any way to place a logo in a header?  That would be one of my requests for the next version of Acrobat, if not.
    3.Hyperlinks; they don't always work,even though I check Hyperlinks in the Export settings.  Sometimes yes, sometimes no.
    4.  Typwriter toolbar; it also seems to offer font and size changes whenever it feels like it, and I've tried all different orders of typing, selecting, etc.

    It's me again, sorry!  I wanted to save what I'd written, and my message popped up to the board.
    Thank you for any advice anyone has!
    PS  My indd and acrobat are the same version, as they came in the same package (CS4).  Windows XP sp3.
    Oh, one more thing I just remembered, as long as I'm complaining; sometimes if I place an object (the logo) and copy it to another page, it disappears on the original page, as if I've cut it.  Any fix for that?  (strange how I can edit tmy 'reply' but not my original post...well, at least I found where to ask a question fairly quickly!)

  • How can I control the zoom on my mac mouse?

    How can I control the zoom function on my mouse? In the middle of working on things my hand will rub the mouse by accident and all of a sudden the context within the screen is large. I have no idea of how to work this feature on my mouse and most times to get it to return to normal, I have to escape out of the work I am performing.

    If you are pressing the "Control" button on the Mac keyboard, scrolling up will zoom in and scrolling down will zoom out. You can disable this if it annoys you through System Preferences > Universal Access. If you are using Mountain Lion, it would be System Preferences > Accessibility.
    Uncheck the in the "Seeing" or "Zoom" section that says "Use scroll gesture with modifier keys to zoom".  It may be slightly different if you have an older OS X version. I have Mountain Lion and am going off of memory on the older versions.

  • How can I control a button from one swf file to another swf file?

    Hi,
    I have a main.swf file. From that file I am accessing the external.swf file which is an external file.
    Now, how can I write code on my main.swf file for the button which is on my external.swf file?
    Activities.MainPanel.close_btn.addEventListener(MouseEvent.CLICK, btnClickClose);
    Activities.MainPanel.close_btn (This buttons is actually on external.swf file, but I want to write code on main.swf file to execute it on external.swf) how can I control one swf button on other swf file?
    Thanks.

    Here's some example code that you should be able to adapt to your needs.
    // create a new loader object instance...
    var loader:Loader = new Loader();
    // make the download request...
    var request:URLRequest = new URLRequest("external.swf");
    // add a complete event listener to the loader
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
    // start the actual loading process...
    loader.load(request);
    // create a new empty movieClip instance, you will put the loaded movie into this movieClip once its loaded
    var externalMovie:MovieClip;
    // this function is called when the download has finished and the file is ready to use...
    function completeHandler(event:Event):void {
       // set the contents of the loaded movie to the new empty movieClip...
               externalMovie = MovieClip(event.target.content);
       // add this new movie to the display list...
       addChild(externalMovie);
    Now you can refer to the loaded movie with the instance name "externalMovie". So if, for instance, you want to address a button in the loaded movie, you could write something like this on the main timeline:
    externalMovie.addEventListener(MouseEvent.CLICK, btnClickClose);
    function btnClickClose(event:MouseEvent):void {

  • How can i control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?

    Sup buddies,
    How can I control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?
    As the project grows in size the load time increases. How does one control not loading all images ,divs,elements etc. until they're
    needed on the timeline? For example some sections are off and only become visible when recalled. My projects slowly grow in size so loading
    all images , is counter productive . My other option would be to create separate htmls but that breaks the seamless user experience .
    TY...Over N Out... 

    hello, kiwi
    quote: "Is there an easy way to burn a completed project to DVD, but keep only the (lo res, lo size) previews on my hard drive?"
    yes.
    maybe,...
    1. you might think of making DVD backups first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    or,
    2. bring in the photographs to hard drive first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    the low rez Previews will stay in Aperture but the high quality Versions will be exported onto DVDs and gone from the hard drive (if you delete the originals).
    another way would be to export small about 50-70 pixel wide high quality jpegs to a folder on your Desktop and import & keep these in Aperture Library as a reference. make metadata to show where the original Project DVDs are stored and DVD filing system used.
    victor

Maybe you are looking for

  • New To AE from Motion (FCP) - timeline and other questions (PREVIEW)

    Okay, so like your normal person, I just install and open a template and delve into it seeing what can happen. So far, I learned that you need an update for macbook pro (opengl), no problem, downloaded and all is fine. However, I did notice something

  • Macbook 2,1 maximum line-in level?

    i have a mid2007 macbook2,1. recently i'm recording from a cossette into its line-in port. i just want to know what's the maximum input level it is. so i can get a good recording level.

  • Create Image from Array of Pixels

    Greetings: I am trying to create an industry standard image (jpeg, tiff) from a raw data format. I am getting mixed up as to which classes to use. The data itself is in binary little-endian. I am using a ByteBuffer to readInt()s in the correct byte o

  • Nested styles within TOC - a newbie

    Hi, I wonder if someone can help with a TOC query. It will involve nested character styles which I've not really got my head around Currently there are two paragraph styles in the book to appear in the TOC in their own styles (so four paragraph style

  • DAQ Assistant to typedef data cluster

    Hi All, I was hoping someone could be able to shed some light on an issue I have been pulling my hair on for a week now.  I am recently new to LabView (less than 6 months), and up until I have been able to locate/research any issues I had ran into.