Interested in a LabView-Chat? (Datasocket)

Hello,
if someone needs a labview-chatprogramm then check the attached file.
I made some tests with the datasocket and here is the result.
Installatation:
- Take two computers connected overLAN
- Start the Datasocket-Server on one Computer
- Change  the IP-Adress in the config-TAB in both Computers
- Rename the "nicks" in the config-TAB in both Computers
- Give "write-access" to the second computer in tht datasocket-server-manager for the item
Any ideas how to set different colors in the history for each user?
Attachments:
LabChat.vi ‏35 KB
screen.jpg ‏22 KB

Celest1111 wrote:
Or can you please re-direct me to any place that discuss about simple LabView Chat??
What is the purpose of this execise? There are plenty of good chat programs available, so it seem silly to roll your own.
I can see a purpose as a learning tool, for example if you simply want to get more familiar with LabVIEW programming and network communications in general.
The LabVIEW help and NI.com resources are pretty good. So if you have a question abaout datasocket, You should be able to find plenty of resources. Where have you looked so far? Did you find something that needs more explanations?
Here's a LabVIEW 2010 version of my above code. Warning: it is a simple refacturing of the existing code and I have not tested it. It simply demonstrates how to eliminate all local variables, duplicate diagram constants and unneeded sequence structures, all without changing the functionality from the old original program posted on the top of the thread.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
LabChatMOD.vi ‏15 KB

Similar Messages

  • OPC connectivi​ty with labVIEW without datasocket​s

    Hi,
    I wish to know how do I achieve OPC connectivity in LabVIEW without using Datasockets and DSC module ?
    Regards
    Ashutosh

    One option would be to write an OPC Client yourself using VB/C++ and call it from LabVIEW. 
    Another is to use existing ActiveX controls for OPC.  Like this one (just as an example.. I have neither tried it nor endorse it):
    http://www.opcactivex.com/
    -Khalid

  • Datasocket returns old data

    I use the datasocket Read VI in LabVIEW to read images off a webpage. I append [text] to get the image back in a string and can then save it to the local harddrive.
    Trouble is, without reporting an error, the vi will on occasion return the same image it returned on the last call. (Eventhough it was from a different URL)
    Has anyone else observed this?
    Does anyone know what to do about it?
    It used to happen about 2.5% of the time, but now it appears to happen much more frequent.
    The big difference is that the HTTP apache server is now much closer.
    Any ideas?

    Interesting, I have used the Datasocket VIs to do a similar thing in the past without error.  Do you happen to have any example URLs we could use to reproduce this?
    Regards,
    Burt S

  • Teststand automatic test report printing using LabView workaround

    I tried the LabView workaround for the automatic printing of test reports in TestStand (see email message below). 
    It will work if I set the URL to a specific HTML TempReport.  However, TestStand is configured to generate a unique test report for each UUT.  So, in the test report directory there are xml reports and the occasional HTML report, example TestReport_00104.html.  Not sure then what to set the URL to?
    Note:  Your reference number is included in the Subject field of this message.  It is very important that you do not remove or modify this reference number, or your message may be returned to you.
    Hi Bill,
    Thanks you for your reply.
    Right ok. Well, if you are interested in the LabVIEW workaround, I can send this to place it in your modified sequential model.
    The workaround works as desired. It does it all automatically. I have set it to not prompt the user for the print dialogue but this can be easily changed. Therefore, for any example program in Teststand, if it is based on the modified sequential model, an HTML style report will be printed on the default printer automatically.
    It needs to be placed in the following location:
    Within the Sequential Model, within 'Single Pass>>Print Report' do the following:
    - Replace all the 'Main' steps (Navigate to HTML, Print HTML File & Close IE Browser) with the LabVIEW function call.
    - This one function call will do all the steps above at once.
    NOTE: In the LabVIEW VI, you will need to select the correct directory where the new html files are being created. Otherwise the print function will not work. This is called URL. Make you sure you have checked this.
    For ease of understanding I have included these steps in a word document with screen shots.
    As I do not know which version of LabVIEW you might have, I have attached three versions of the .vi file; 2012, 2011 and 2010.
    In regards to the mention of Teststand not having built in functionality for automatic printing of reports, unfortunately this is the case.
    I hope this will be a sufficient workaround for you.
    If you problems implementing this solution, please ask me for further information. However, it should be fairly simple to do.
    Just to inform you, I will be out of the office from 12.45pm today for the rest of the week on annual leave.
    I will be back in the office on Monday 14th January 2013, should you have any further queries.
    Kind Regards,
    Dominic Clarke
    National Instruments
    Applications Engineering
    www.ni.com/support
    Attachments:
    Print HTML file from LabVIEW.zip ‏39 KB

    Hi Bill,
    I managed to implement this.
    In the sequential model I added a LabVIEW action after 'Add Root Tags To XML Report'
    As URL I use a sequence local: Locals.ReportFilePath
    I points to the ML report in my case and then the VI works fine.
    However I'm looking for extra functionality and that is waiting untill printing is completed.
    Can you help me on that ?

  • How do you read a cluster over DataSocket with C?

    Hello All,
    I am new to Labview and DataSocket in particular, so any help would be greatly appreciated.
    I am trying to write a data viewer program in IGOR (www.wavemetrics.com) which will receive multi channel data being published to a DataSocket server and display the requested channel real time. In order to do this I had to write a dll in C, then import that into IGOR, which allowed me to access all the functions in dataskt.dll (DataSocket Library - NI LabWindows™/CVI™ 9.0 Help ).
    I have successfully compiled this dll with the DS_Open, DS_IsConnected, DS_DiscardObjHandle, DS_GetDataValue functions and tested them by publishing and retrieving a type double from the server. The problem I am having is that the real data is published as a custom cluster of a double, two singles, and a 1D array of singles (the datapoints at that time slice).
    The second input of the DS_GetDataValue function is an unsigned int which represents the type of data expected from the server. There is a list of acceptable data types is in cviauto.h, but as you can see none of them are for a cluster (or structure for that matter):
    /* Use these to specify the type of a function parameter, function return */
    /* value, and a property. */
    enum {
    CAVT_EMPTY = 100,
    CAVT_NULL,
    CAVT_SHORT,
    CAVT_LONG,
    CAVT_INT = CAVT_LONG,
    CAVT_FLOAT,
    CAVT_DOUBLE,
    CAVT_CY,
    CAVT_DATE,
    CAVT_BSTR,
    CAVT_DISPATCH,
    CAVT_ERROR,
    CAVT_BOOL,
    CAVT_VARIANT,
    CAVT_UNKNOWN,
    CAVT_UCHAR,
    CAVT_CSTRING, /* null terminated ansi (multi-byte) string */
    CAVT_OBJHANDLE,
    CAVT_CHAR,
    CAVT_USHORT,
    CAVT_ULONG,
    CAVT_UINT,
    CAVT_LONGLONG,
    CAVT_ULONGLONG,
    CAVT_BASICTYPE_MASK = 0x0fff,
    CAVT_MODIFIER_MASK = 0xf000,
    CAVT_ARRAY = 0x1000,
    CAVT_BYREF = 0x2000,
    CAVT_IN = 0x4000,
    CAVT_OUT = 0x8000,
    CAVT_AUTO_CLEAR = 0x0800 /* valid only for VARIANT arguments. VariantClear is called on the variant after the function call */
    Then the third input is a pointer to a variable that is the same data
    type. I have created a structure to match the cluster and tried to
    pass that but it does not change the values of the structure.
    Another thing I have tried is the DS_GetDataType function, but that returns 100 which corresponds to CAVT_EMPTY.
    Is there any way to define one of these for a cluster? Is there a better way to do what I am trying to do? Any help would be appreciated.
    Thanks,
    -Jeff VT

    Thanks for the response.
    Unfortunately I do not have control over how the data is published to the server.  There are actually several clusters like I have described, each with data for a particular location during the test, all being published to the same server.  The data recording program that we have is written to accept the cluster (it is a labview program) so we don't want to change the way it is published right now.  Also we are dealing with a couple hundred datapoints in the array for each cluster.
    -Jeff VT 

  • How to build anintractive questionare using labview

    Hi everybody,
     I am working on Curriculum Developement where I would like to come up with an automated LabView questionare as an alternative solution to existing paper-based questionaires. I'm interested in using labview but I have no idea how to begin. could someone please help me out.
       I really,Really need this help.

    Thank you so much Adnan,I know I may sound stupid asking these questions but its because I need help and would really love to use labVIEW and understand it even better (am not big in programming much less using text based languages,but I love labVIEW and would want to explore it even further! thats why I opted to use Labview in building this interactive and automated questionare).
    This questionare should capture almost all the information that is required,thus it will include both detailed and one word answers. check boxes and radio buttons if possible. as you have pointed out,the questions should be put in a database and the corresponding answers also to be captured in a database for later analysis.
    My labVIEW knowledge is not wide but am going through some materials at the moment plus your support and I hope to accomplish this within the shortest time possible.
    regards

  • Looking for Labview driver for Agilent 4294A (HP)

    Help!
    I've been browsing the driver database looking for the Labview GPIB driver
    for Agilent(formerly HP) 4294A Gain-Phase Analyzer.
    Does anyone know where I can get it?

    Hello all,
    NI is interested in developing LabVIEW and CVI drivers for the Agilent 4294A. I have been trying to obtain one of these units on loan from Agilent for the past couple of years with no success. If anyone can spare their 4294A for the duration of driver development or can influence Agilent to loan a 4294A, NI will write certified CVI and LabVIEW drivers for it.
    Jason Hobbs
    Instrument Drivers

  • Does DataSocket work with OPC in 64-bit computer?

    I doubt it. I recently wanted to interface LabVIEW 2010 DataSocket vi with OPC server in same machine, which is 64-bit, and it never succeed. it always pop up error "the server is not properly registered...". not only one OPC. none of OPC servers in the PC can be read by DataSocket.
    but when i tried same OPC and same version of LabVIEW in a 32bit computer, guess what, it WORKS FINE!
    So I doubt that DataSocket is able to interface OPC in a 64-bit machine. 
    anybody has idea? 

    Hi Daniel,
    Unfortunately, NI OPC Servers is not officially supported on Windows 7 (32-bit or 64-bit). I am assuming this is the OS you are using)
    The officially supported operating systems are: 
    Windows Server 2008 (32-bit and 64-bit) 
    Windows Vista Business/Ultimate (32-bit and 64-bit) -most recent 
    Windows Server 2003 
    Windows XP 
    Windows 2000 Server 
    Windows 2000 Service Pack 2 or higher 
    Windows NT 4.0 Service Pack 6 
    We don't have a specific timeline for Windows 7 support on NI OPC Servers right now. But, to be honest, I don't see that you'll have any problems running NI OPC Servers on Windows 7. In fact, my machine here is running Win7 and I haven't had any problems to date with running NI OPC Servers 2010 and neither have any of my colleagues that are running the same setup. So, although it's not listed as a supported OS, you shouldn't have any problems doing this. 
    Best regards
    Matt Surridge
    National Instruments

  • LabVIEW programmer

    Respected sir/madam,
    i am D.muthukumar complete my B.E in electronics
    and instrumentation engineering and i have knowledge about in
    labview based automation in real time project and simulation project.So i kindly requested to you provide the opportunities in
    your oraganisation and i am follow the rules and regulation of the oraganisation for improve the organisation,my knowledge and my nation.
    thankyou
    your's faithfully
    D.muthukumar.
    D.MUTHUKUMAR,
    S/O V.P.Deivasigamani,
    Kilangundal (P.O),
    Mulanur (Via),
    Erode District - 638 106
    Email:[email protected]
    Ph: 04202-228769.
    OBJECTIVE:
    To get placed in a reputed organization and to use my skills to develop the organization, my career and my nation.
    PERSONAL SKILLS:
    Ability to communicate in an effective and impressive manner, Quick learning capacity, Easy going and Self-Determined Team Player.
    EDUCATIONAL QUALIFICATION:
    Qualification Institution Year of Passing % of Marks
    B.E(EIE) Erode Sengunthar Engineering College,Thudupathi/ Anna University May-2005 69.42% (Upto 7thsem)
    Diploma in ECE Thiru Ramakrishna Nallammai Polytechnic, Dharapuram. April-2002 87.9%
    H.S.C. Govt. Higher Secondary School, Mulanur, May-2000 70.4%
    S.S.L.C. Govt High School, Seshayanpalayam May-1998 83.4%
    COMPUTER SKILLS:
    Operating System : Windows 9x, Windows NT
    Languages : C
    Packages : Visual Basic-6.0, LabVIEW 7.1
    AREAS OF INTEREST:
     Automation using LabVIEW.
     Industrial instrumentation.
     VHDL, Microprocessor and Microcontroller Programming.
    PROJECT DONE:
     Title : VIRTUAL INSTRUMENTATION BASED AUTOMATION FOR
    PAPER COATING PROCESS” using LabVIEW 7.1
     Title : PICK AND PLACE ROBOT WITHOUT USING MICROCONTROLLER
     Title : VIRTUAL INSTRUMENTATION BASED WATER TREATMENT
    PLANT AUTOMATION FOR BANNARI AMMAN SUGARS INDUSTRY
    ACHIEVEMENTS:
     Presented a paper in a National conference on “Virtual instrumentation based harmonic analysis of Component levels in infra red spectroscopy” at Tamilnadu College of Engineering on 26.08. 2004
     Member of Rotary club and Participated in the Rotary international District 3200 conference
     Won the first prize in the District level poetry competition
     Won District level first prize in a skit related to Anniversary Celebrations of Tripur Kumaran in Erode district.
    EXTRA-CURRICULAR ACTIVITIES:
     Secretary in fine arts club
     Newsletter editorial committee member for the overall college
    PRERSONAL DETAILS:
    Age & DOB : 22 yrs, 20/04/1983.
    Sex : Male.
    Marital Status : Single.
    Nationality : Indian.
    Languages known : English & Tamil (to Read, Write & Speak).
    Hobbies:
    Writing poetry, PC games and reading books.
    Reference:
     Dr.T.Shanmugam,
    Principal,
    Erode Sengunthar Engineering College,
    Thudupathi, Erode-638057.
    Phone-04294-232702.
     A.Vidhya,
    Lecturer,
    Department of Electronics and Instrumentation Engineering,
    Erode Sengunthar Engineering College,
    Thudupathi, Erode-638057.
    Phone-04294-232702.
    I hereby declare that the above-furnished information is genuine and true to the best of my knowledge.
    Place:
    Date :
    (D.MUTHUKUMAR)
    Attachments:
    muthu resume.doc ‏84 KB

    Hi Tom,
    I saw your posting...
    I'm ready to work for your project on weekends and free time..
    Do let me know about your requirements.
    Perks/Pay is your choice... (but something need to be payed)

  • LabVIEW Crashes when Opening Project

    Hey Guys,
    I'm running into an interesting issue where LabVIEW crashes when opening a project. This is the second time I've run into this issue, on the same project. To get around it the first time I simply deleted and re-made my project, but since it's happened again, I need to figure out how to debug it. The symptom is that LabVIEW will crash when opening the project (sometimes I can see the "vi loading" screen) without any indication that crash has occured. It doesn't even launch the error reporter, the process just dies. Anyone know how I can go about debugging this?
    Solved!
    Go to Solution.

    xkenneth86,
    What version of LabVIEW? Have you ever had previous versions of LabVIEW on your computer? Can you attach a screenshot of the crash?
    David H.
    National Instruments

  • DAQ Chat Support 'Beta' Program

    I tried the:
    Chat with an Engineer! Try out our LabVIEW Chat Support and DAQ Chat Support Beta Program
    Is there anyone at the other end?  I've been waiting 2 hours and nothing...  It just says "Waiting for technician"
    R

    Hey!!
    There was someone at the other end 

  • Looking Forward to kickstart a career in LabVIEW

    I am a B Tech Graduate in Instrumentation (2008-2012) from Cochin University of Science And Technology (CUSAT),Kerala. I have a keen interest in NI labVIEW and associated products from National Instruments. I have experience using labVIEW as a software tool during the course of my mini project(simulation of boiler control)  and academic main project (Design and Automated Testing of a miniature Hydrophone). I am looking forward to enrich my knowledge base in LabVIEW and enhance my career by exploring the wide possibilities of NI,LabVIEW in Instrumentation by working with a labVIEW client.
    Please see my resume here
    Attachments:
    Akhil Kumar,Resume.doc ‏68 KB

    Hi Ajay,
    SAP MM Consists of the following topics.You need to be acquainted with the following topics in training.
    1. Procurement Process (++)
    Purchase Requisitions
    Purchase Orders
    Request for Quotation
    Stock Purchases
    Consumable Purchases
    Subcontracting
    External Services
    Reporting
    2. Master Data
    Material Master
    Vendor Master
    Info Records
    Source List
    Quota Arrangement
    Messages
    3. Purchasing Optimization (++)
    Contracts
    Scheduling Agreements
    Invoicing Plans
    Release Procedures
    Purchasing Document Configuration
    4. Inventory Management (+++)
    Goods Receipts
    Goods Issues
    Stock Transfers
    Reservations
    Consignment
    Physical Inventory
    Availability Check
    Movement Type Configuration
    Messages
    5. Valuation and Account Determination
    Material Valuation
    Price Control
    Account Determination
    Split Valuation
    6. Material Requirements Planning
    Reorder Point Planning
    Lot u2013Size Calculation
    Planning Run
    Planning Results
    7. Logistics Invoice Verification (++)
    Invoices
    Credit Memos
    Automatic Settlement
    Invoice Verification in Background
    Subsequent Adjustments
    Freight Invoices
    Blocked Invoices
    GR/IR Account Maintenance
    8. Configuration of Organizational Structures and Material Master
    MM-Organization Structures
    Material Type
    Field Selection
    9. Solution Manager
    Solution Manager Overview
    10. Experiences from Implementations (Case Study or Project)*
    Setting Up Company Structures (organizational units in mySAP Business Suite)
    Integration and Dependencies.
    I believe taking MM training will be the best option for your career.
    Assign Points if helpful.
    Thanks and Regards,
    Naveen Dasari.

  • Using labview applications on mobile phones

    Hello,
    I am interested in using LabVIEW applications on Mobile Phones. Kindly suggest how it could be used and which type of mobile phones are suitable it.
    Thanks

    Hi Intelligent,
    National Instruments has a Mobile Module for developing applications specifically for mobile devices.  Check out this article for supported devices: LabVIEW Mobile Module Software Requirements and Supported Devices.
    In addition, if you device runs Windows XP Embedded, you should be able to install the LabVIEW Runtime Engine and then run an executable built in LabVIEW.
    Have a great day,
    Chris V
    Applications Engineer
    National Instruments

  • Group Video Chat

    I am yet to find a good tutorial or example code on how to implement a group video chatting application.  Is it possible to use RTMFP Groups to launch multiple chat windows without using point-to-point connections?  If I'm attempting to use RTMFP Groups then should I use DIRECT_CONNECTIONS or not?  I have looked over the Video Phone Sample Application but it is a 2 way communication model and I'm interested in group video chats.
    Any help, resources or advice would be greatly appreciated!  Thanks in advance.

    I would also like to know, how do you get all peerIDs for everyone who is a member of a group.  To link up video, do you have to h
    ave the explicit peerID of the user from which to pull the camera feed?  Is there a way to iterate through all users in a group and pull the camera feed?

  • I want to try out Face Time. Anyone want to chat?

    I want to check it out but don't have any friends who own an iPhone 4. Anyone else want to have a test conversation with me? Don't worry about having to look cool, I look like the reflection in a car door. We can chat about our iPhones, music, sports or even nothing at all. We could speak through interpretive dance or just stare at each other. On another note, I just want to say that although it's not been perfect by any stretch, this phone has been a vast improvement over my 3g. Fewer dropped call, better reception. I did have the death grip and the bumper seemed to subdue that issue. It runs circles around the 3g speedwise and I find apps to be more responsive. It does seem more fragile but a $300 phone isn't something you want to dropkick on to your desk at the end of the day. I do have occasional proximity issues but I believe all these things will be sorted out in time. Not deal breakers.

    hey, ive yet to try out facetime. i just moved to gatlanta from koxville, and i dunno anyone with an iphone 4 to try it out. every time i call 1-888-facetime i never get thru. a recording tells me to go to an apple website to learn more. if anyone would be interested in a facetime chat email me [email protected] and btw im a 24 yr old male.

Maybe you are looking for

  • Adding text to a file (not overwriting it)

    Hello, I am trying to have a printwriter just add text to a file instead of have having it rewrite my file. Here is the code currently in my code: outstr = "ANSWER = " + numbera; PrintWriter outscan = new PrintWriter("output.txt"); outscan.printf(out

  • Alignment guides

    I have smart guides turned on in CS5 and am moving an object around another object and see the alignment guides that come out horizontally, though I am not sure what they indicate? I get a horizontal line when one shape is next to another, is this si

  • Table of contents - Troubleshooting Defining Levels

    I am trying to crate a TOC, with 2 levels of information. The 1st level is the Chapter Heading (no page number), followed by the contents under each chapter heading (with page number). The sequence works fine for all left-facing pages, but not for ri

  • ERP Installation error

    hi folkes, while installing ERP ECC 5.0 i  am getting this eroor in sappool.log file failed to read short nametab of table ARCH_NUM                       (rc=32)conversion failed for row 0 of table  VARKEY = ⁘†††††††††††††††††††††††† (CNV) ERROR: cod

  • Group by problem at pivot table

    Hi, firstly i am making a table, everything is ok, after i click pivot table, st_desc column writes same value again, i couldnt understand the reason. please check my screen shots below, http://www.odilibrary.com/index.php/oracle-data-integrator/99-g