Using pipe IO in Labview 6 for Solaris

Hi,
I need to be able to communicate with a process from Labview. As I'm
using UNIX pipes seem to be a neat way of achieving this. However,
I've never used them before and am a little confused. Specifically the
"open_pipe.vi" requires "path to named pipe" as an input. How do I
determine the what the path to a named pipe is and/or how do I control
the name of the pipe if I open it first in the process I need to
communicate with?
As I understand it I will need two pipes - one to write to and one to
read from.
Any advice and pointers to web resources would be appreciated.
Many thanks,
Craig.

Craig,
A pipe is essentially a file in UNIX (with some special features). For 'path to named pipe' you give it a path like any other file. The file is a fifo
(First In First Out) and is used (as you suggest) to communicate between applications. The main problem you will run into is that the application must understand how to use the named pipe. If it can't do that then you will have to come up with something else.
The basic operation would be:
Use Open pipe to create the named pipe file.
Start the application and point it's input / output
to the named pipe.
Use the Read and Write to communicate.
You should also realize that the read pipe, will read x bytes so you must know EXACTLY how many bytes to read. If you read too many you will simply get some part o
f the next item.
I have tried to use these before and never had any real success since there are so many problems with the process.
Good Luck
Kevin

Similar Messages

  • How to use USB interface with LabVIEW Embedded for ARM

    Hi everybody.
    I am developing an application based on the "LabVIEW Embedded for
    ARM". Now I am doing various tests using
    the evaluation board 2300 (with NXP LPC2378), but soon I will
    dedicate to program the micro used in my project (NXP
    LPC2148).
    During the tests, I have seen that "default" LabVIEW interface allows the use
    of CAN, I2C and SPI interfaces of the micro. I want to know how can I also use the
    USB interface that is on the micros -both LPC2148 and LPC2378- (pin USB_D + / D-, USB_UP_LED,
    USB_CONNECT, VBUS).
    Thanks in advance for your suggestions

    @chueco85
    If you've created an application in LabVIEW for ARM and you build it.
    you can go to tools >> ARM Module >> Show Keil uVision
    then go to he build options.
    the hex file will be created when you do a build.
    with flash magic :http://www.flashmagictool.com/
    you can program your device.
    Wouter.
    "LabVIEW for ARM guru and bug destroyer"

  • How to use Crossbow Xmesh WSN LabVIEW drivers for downstream communication with motes

    Hello,
    I am trying to use LabVIEW Crossbow Xmesh WSN  driver for downstreaming commands but driver programs are not working.
    I am interested in changing node (Iris mote with MDA300 board) update rate from LabVIEW program running on host PC .
           I have  used  Set node update rate.vi  with  open stream.vi and start stream.vi  in proper sequence and developed a program to change node update rate. When program is run no error is shown but node update rate is not changed.
          Pl suggest what I should I do.
    What is the function of  WSN write VIs (WSN write Raw 1sensor1point). For what type of message this is used. 
    I  want to actuate relay on MDA300 with mote id 2. What VIs (from driver ) I have to use and how to issue command related to it.
    Incase any one can help I will be grateful
    Roop 

    Hi Arjun,
    I am sending you snap shot of VI developed to change node update rate.and also the heirarchy of drivers  VIs used in the program for  better understanding .
    In case you can figure out why the command  message send  is unable to communicate with mote .
    Also for downstream communication with motes the packet format used is described in Moteworks user manual from MiMSic.com
    I think the developer of these drivers can help you  out in solving my problem.
    Thanks
     Roop
    Attachments:
    sreenshot to arjun ni for checking downstream comm.doc ‏288 KB

  • Is it possible to use CC 5.7 to compile for Solaris 6/7 platforms?

    Hello,
    we are currently upgrading to the new CC 5.7 from CC5.2 (Forte Update 1). One advantage we notice is the new, simplified licensing scheme, and hence the possibility to get rid of the license server installations. However, we still have to support our product on Solaris 7 (and possibly, though unlikely, Solaris 6).
    Because CC 5.7 only installs on Solaris 8, the question is whether it would be possible to cross-compile for those older platforms (e.g. via -xarch). (And use our Solaris 7 installations only for testing, not compile-purposes anymore.)
    Your help is greatly appreciated!
    Many thanks,
    Andreas

    Programs built on Solaris 8 usually will not run on Solaris 2.6 or 7, no matter what compiler you use. Sun Studio 9 (C++ 5.7) supports only Solaris 8, 9, and 10.
    You need to build your applications on the lowest version of Solaris that they are intended to be run on. Maybe you could build on Solaris 7 using FD6u1, and again on Solaris 8 using Studio 10 for customers using Solaris 8 and later.

  • URGENT! SEGV-errors when using Oracle C XML Parser for Solaris

    I often (not always) got SEGV-error with core dump when I use Oracle Oracle C XML Parser for Solaris. This Error is always got in the call of the the function xmlinit(...) with all params as NULL but the first required for the error code and the second which i assign a macro that evaluates to "US-ASCII". Does anyone knows about this problem?
    I am using a very short, wellformed and validated XML document.
    I would be very glad for some help about this!
    null

    Please provide a sample program along with the version number of the XML parser.

  • IPlanet Messaging Server 5.2 (for Solaris 8 and 9) with patch 5.2hf2.13

    Hi..
    iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)
    libimta.so 5.2 Patch 2 (built 19:30:12, Jul 14 2004)
    I heard that SUN have released security vulnerability in Sun Java System or iPlanet Messaging Servers that may allow remote unprivileged users to craft specific messages which contain Javascript to be executed in the end user's browser.
    The problem can be solved by using iPlanet Messaging Server 5.2 (for Solaris 8 and 9) with patch 5.2hf2.13 or later..
    where can I download patch 5.2hf2.13 for messaging server 5.2 ?

    Hi,
    If you have a support contract with SUN you can log a service request to get a copy of the patch via:
    http://www.sun.com/service/online/
    Regards,
    Shane.

  • How do we use if statement in labview?moreover can i use if statement inside for loop?

    how do we use if statement in labview?moreover can i use if statement inside for loop?

    The if statement in LabVIEW is the Case structure. You can find that on the Structures palette right next to the For Loop. If you're still on the same subject about terminating a for loop early, then what you do is enclose your functions inside the loop with a case statment and make one of the case's empty except for one or more constants that you might have to wire. Hopefully, the attached picture will explain what I mean. Also, as I mentioned in one of your other posts, I think this technique is not as good as using a while loop. The array in the attached example is the same size no matter what and you may have to handle stripping extra or invalid elements.
    Attachments:
    For_Loop_with_Case.jpg ‏21 KB

  • How to use Labview drivers for USB-CAN Adapter

    Hi,
    I just recently started working with CAN and I have a PCAN-USB adapter. I'm trying to create a programme for monitoring a series of CAN based devices and I've found Labview drivers at the link below. However, I'm not really sure how to start. I have the specs for the device but I don't know how to proceed. 
    Should I create messages and channels and a data base in MAX first?  If anyone has programmed with this dongle before please give me a guide how you went about it. 
    Labview drivers - http://www.labviewportal.eu/en/device-i-o/82-pcan-usb-driver.
    Thanks 

    I have not used this specific CAN adapter, but I have used other CAN adapters from both NI and other companies.  The CAN database in MAX is useful only if you are using an NI CAN device.  For all other CAN devices you need to use the format that the library uses; most likely that will be raw CAN frames.
    If you do want to use the NI-CAN interface on top of the PCAN library, you can use NI-CAN virtual channels 255 and 256.  These are internally connected, so that anything you send on one is received on the other.  This makes it possible to do translation between raw frames and channels defined in a database, by opening one interface for frames and the other for channels.  You read raw frames from the real device and send them to CAN255, then read them on CAN256; for writing, you do the opposite.  However, this still requires understanding how to read and write raw frames on the underlying device, so I'd start there.

  • We collected data using NI in the Labview environmen​t and created tdms document. Is there a reader for reading the data in Matlab environmen​t?

    We collected data using NI in the Labview environment and created tdms document. Is there a reader for reading the data in Matlab environment?

    A search will often turn up results.
    Reading TDM/TDMS Files with The MathWorks, Inc. MATLAB® Software

  • USING SLICES s10 TO s15 for Solaris 11 on x86

    ORACLE SOLARIS 11 EXPERTS
    How can i do for using the slices from s10 to s15 on a Solaris 11 x86 system ?
    I have the information that i can do this using the "fmthard" command...
    Where i can find a tutorial or a technnical article or web site where list a complete explanation
    abot this topic.
    ¡¡¡VERY HAPPY NEW YEAR TO THE OTN COMMUNITY!!!

    Thanks for the answer...
    ¡¡¡I SOLVED!!!
    I have to do is a "custom file" for example "full_slices.vtoc" with the following format
    using the command:
    #prtvtoc /dev/rdsk/c4t1d0p0 > full_slices.vtoc
    * /dev/rdsk/c4t1d0p0 partition map
    * Dimensions:
    * 512 bytes/sector
    * 63 sectors/track
    * 255 tracks/cylinder
    * 16065 sectors/cylinder
    * 2609 cylinders
    * 2607 accessible cylinders
    * Flags:
    * 1: unmountable
    * 10: read-only
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    0 0 00 0 2104515 2104514
    1 0 00 2104515 2104515 4209029
    2 5 01 0 41881455 41881454
    3 0 00 4209030 2104515 6313544
    4 0 00 6313545 2104515 8418059
    5 0 00 8418060 2104515 10522574
    6 0 00 10522575 2104515 12627089
    7 0 00 12627090 2104515 14731604
    8 1 01 0 16065 16064
    10 0 00 14731605 2104515 16836119
    11 0 00 16836120 2104515 18940634
    12 0 00 18940635 2104515 21045149
    13 0 00 21045150 2104515 23149664
    14 0 00 23149665 2104515 25254179
    15 0 00 25254180 16627275 41881455
    Now i just run the following command as the "root" user and dont forget to poinT to the "SLICE 2 - WHOLE DISK":
    # fmthard -s full_slices.vtoc /dev/rdsk/c4t1d0s2
    ¡¡¡Now i can use this slices as RAW DEVICES for my Oracle DB or new ufs file systems!!!
    Edited by: TechRider on 4/01/2012 04:40 PM
    Edited by: TechRider on 4/01/2012 04:55 PM

  • How could you install 10g R2 Db EE using containers for Solaris?

    Do you know if there is a particular procedure in order to have my installation using Solaris' containers?
    First of all, what is a container for Solaris?
    Please could you give a reference to read about it?
    Thank you.
    Paola
    : (

    Hello Madrid!:
    My Oracle´s hero!, your are always a leader for us, the dbas who have just one passion talking about databases: Oracle.
    Well It is going to be hard, because I am not only installing Oracle inside a Solaris container but also migrating from Sybase to Oracle!
    But again I am acting as a leader, and being woman it is more difficult. I hope that I can see you later, in a course again, but it could be, at the end of this year, because I am not going to be in Mexico City, I am now studying Sybase in order to convert all the dbs to Oracle. I have already installed successfully with your recommendations. You are perfect.
    c u later my favorite OCM. I insist, what a beautiful last name you have.
    Paola.
    8 ) (wearing glasses)

  • After installed language for solaris, how to use it in Netscape

    After installed languages for solaris,
    How can I see them in Netscape:
    View/Character set/...
    Do i need to modify some files?
    Thanks
    Joanna

    Hi,
    Not certain what your external system is, but it may be worthwhile to go through the QM-IDI documentation to see if that meets your requirements
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/26/b43927506511d182c20000e829fbfe/frameset.htm
    Alternately, take a look at BAPI_INSPOPER_GETDETAIL to determine how the lot expects to receive results, and BAPI_INSPOPER_RECORDRESULTS to set the results accordingly
    Regards,
    JL

  • HTML printing in Labview running Sun Solaris

    We are creating html test data files in labview and would like to print them on the Sun Solaris. Labview for Solaris can print the files but just prints the source code (doesn't format the code into nice tables, etc). You can also print the front panel but it resizes all the data to one page (very small and not easily modified). Currently we have to manually open a browser (i.e. hotjava) and then print the files.
    Thanks in advance for any help.

    Hi,
    First the disclaimer...My knowledge of the Sun environment is very limited. Given that; it may be possible to use launch your browser with LabVIEW and pass it a comman line argument to print the desired HTML file.
    Just my 2 cents,
    Regards,
    Juan Carlos

  • Device Driver/formatio for Solaris?

    I pulled down a device driver for a GPIB instrument (HP 4145) It requires a library called "formatio". Is this a National Instruments lib and, if so, is this available for Solaris?
    Thanks and regards,
    John

    John,
    It looks like you may have downloaded the LabWindows/CVI version of this driver. I noticed that there is a contributed version of the driver for LabVIEW (which I assume is the development environment that you are using) for the HP 4145B. That one may work for you, but since it is contributed there won't be much I can do if it doesn't.
    Hope this helps.
    Scott B.
    National Instruments
    Applications Engineering

  • DataSocket library available for Solaris 8

    We are in the process of evaluating LabView and/or Labview/CVI for our application. One of the questions I have is whether a DataSocket library is available for use on a Solaris 8 platform so we can receive LabView data (via a DataSocket) there? If it is available, is there some sort of evaluation copy I can get ahold of to validate our concept??
    Thanks
    Jim Galbraith
    Idaho National Engineering and Environmental Library
    [email protected]

    Jim,
    The DataSocket(DS) library is available for use on a solaris 2.8 platform with the only limitation that the DS server is not available. You can request online evaluation versions for NI-Software at the following link:
    http://sine.ni.com/apps/we/nioc.vp?pc=res&cid=1380〈=US&p_0=eval
    Cyril
    Cyril Bouton
    Active LabVIEW Developper

Maybe you are looking for

  • List View order

    What dictates the order of list view items after the chosen one? I use labels (colors) for the primary list view order, the secondary order appear to be reverse alphabetical. I want the secondary order to be normal alphabetical. Can I set his somehow

  • JVM Crashes with a VM state:not at safepoint (normal execution) error

    Hello. I have been battling with this error occasionally ocurring for months. There are many suggestions in various blogs and they all seem to think it's a JVM bug. I'm not so sure. I am running JBOSS 4.0.5 on SuSE Linux 10. JVM is Java HotSpot(TM) S

  • Data pivoting in query

    Greetings Oracle gurus! Problem: I'm trying to write a query that does some data pivoting. I've done this before in the past on smaller data sets, and they've worked great. However, now I'm doing it against a table that has well over a million record

  • [SOLVED] Agar - OpenGL widget toolkit

    Agar is a set of cross-platform libraries written in C/C++/Ada for graphical applications. The main library of the distribution is a widget toolkit, Agar-GUI. Agar is open source, released under a revised BSD license. http://libagar.org/ There is alr

  • HT1535 What exactly is stored under "OTHER" on your iPhone that you only see when it's connected to iTunes?

    What exactly is stored under "OTHER" on your iPhone that you only see when it's connected to iTunes?