Jump to content

siva

Members
  • Posts

    34
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by siva

  1. Implementation of Common industrial Protocol (CIP) via EtherNet [EtherNet/IP (CIP)]

    EtherNet_IP_PCCC

    Use these set of VIs to communicate with MicroLogix Series PLCs Via EtherNet.

    These VIs use simple TCP/IP Communication.

    Communication : Ethernet, TCP/IP

    Protocol : EtherNet/IP

    Service :CIP (For Connection Management), CIP Service for PCCC

    Command : PCCC

    Tested with : MicroLogix 1100, MicroLogix 1500,1200(with NET-ENI)

    No OPC Server Required

    No Automation Server Required

    No NI-DSC Module Required.

    Note: These VIs access N7 Integer File. To access other Files in the PLCs, just replace the "Fileno" Constant(0x07) with a Control and make it as a parameter to the SubVI.

    EtherNet_IP_CIP

    Use these set of VIs to communicate with CompactLogix, Control Logix Series PLCs, Any Device that supports CIP(EtherNet/IP)

    These VIs uses simple TCP/IP Communication.

    Communication : Ethernet, TCP/IP

    Protocol : EtherNet/IP

    Service :CIP (For Connection Management, Read, Write)

    Command : CIP Commands

    Tested with : Compact Logix Series PLCs

    No OPC Server Required

    No Automation Server Required

    No NI-DSC Module Required.

    Visit : ODVA Website for EtherNet/IP Protocol Specification

    • Like 1
  2. Can a LabVIEW Program generate a LabVIEW Code.. ?

    Is it possible to do the following in labview,

    #include <stdio.h>

    {

    FILE myCodeFile;

    myCodeFile=fopen("GeneratedCode.c")

    fprintf("#include<stdio.h>");

    fprintf("#include<math.h>");

    fprintf("main(){int a;a=sin(1.2);printf(""%f"",a); }");

    fclose(myCodeFile)

    }

    Note : The Ouput has to be a LabVIEW code, not a C Code.

  3. I'm a new labview user that currently working on a project which using webcam for online machine monitoring .i'm using labview 7.0 I had successfully installed the NI-IMAQ for USB camera.I have run through the guideline in the readme file but i can't get any image. What i can c in my image output is nothing but gray with the image name. Am i missing any step? Can someone kindly provieds some guidelines on this?

    Attached a ActiveX Control that can be used for acquiring images from webcam..

    1) Copy the WebCam.ocx to system32 folder

    2) register the Control by executing the following in command prompt, c:\windows\system32>regsvr32 WebCam.ocx

    3) Now Insert the activeX Control in ur Front Panel..it would be available by the name, "WebCam.LiveWindow"

    After inserting, we will be getting Live Images from WebCam..

    If you want a image to store into a bmp file, then use CopyImagetoFileBMP method available in the controls..

    Download File:post-4279-1168672256.zip

  4. A very important distinction - thanks!

    Guys, the problem was sorted out by applying the patches released by NI Support..

    Attached the patch..

    Please do the following to resolve the problem.

    To solve this problem replace the dir.mnu file located at:

    C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\addons\database directory with the one attached. This will also solve the garbled context help.

    Download File:post-4279-1168671705.zip

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.