Communicat​e with cFP 1804 on Ethernet with Microsoft C

I don't want to use LabVIEW or LabWindows to communicate via ethernet or serial to cFP=1804 I want to use Microsoft C C++ 6?

Yeah I know we have programmed the device in LabVIEW/LabWINDOWs  but in this particular case it needs to run in the same project with all the legacy code in MS C\C++ 6 and we need to keep it lean and mean so we prefer just using the FieldPoint DLL in the project as we do with DaqMX.dll  but it seems that doesn't work perhaps due to some kind of data exchange with NI MAX.
We tried using the code that works in LabVIEW and generating a DLL .h and .lib files and calling it from MS C\C++ 6 application but it seems as though it was executing the code in the DLL but not actually communicating with the Field Point modules/controller. 
thanks for any help at this point!

Similar Messages

  • Can I use to Labview 6.1 with cFP-1804?

    I have Labview 6.1, Can I use to it wiht with cFP-1804?

    Hello,
    Yes, you can use LabVIEW 6.1 with cFP 1804.  According to:  What Version of the FieldPoint Driver Added Support for the cFP-180x?  Support for the cFP-180x was added in FieldPoint 4.1.2. You must have version 4.1.2 or newer in order to see the network module in MAX and use it in LabVIEW. In your case, it cannot be a newer version because the newer versions don't have support for LabVIEW 6.1.    Check which version of the FieldPoint software is included in the  CD that came with your cFP 1804. In case it is 4.1.2 then you are all set; in case it is 5.0 or a newer one you will have to download version you need.  You can find drivers at ni.com --> Product Support --> Drivers and Updates.  For Product Line select Distributed I/O  FieldPoint.  For Software  select NI-FieldPoint.   For version, you will see v4.1 and then it skips to v5.0.  Try version 4.1. 
    If it doesn't work. You will have to contact an Application Engineer  in order to get a service number and then we will provide version 4.1.2. Dial the free telephone number according to your country or region. You can find the number at  ni.com.  The number for Mexico is 01 800 010 0793.
    The following link is a Quick Start Guide for Compact FieldPoint  cFP 180x: http://www.ni.com/pdf/manuals/374176b.pdf
    Have a nice day!,
    Pablo Bernal
    AE Mexico
    Message Edited by Pablo Bernal on 07-04-2007 02:13 PM

  • CFP 1804 stops when second PC plugged into second ethernet card

    Good Morning
    Having an issue with two PCs and a CFP 1804.
    I currently have a CFP 1804 linked to a PC running a VI, no issue.
    I've updated the VI with a series of shared variables that I need to read and respond to from another PC about 20 feet away.
    I wanted to connect the two PC's via crossover ethernet cable, but when connected, the CFP crashes (as seen in MAX and the VI crashing).
    The two PCs and cfp are on distinct static IPs, but most likely the same subnet. Will this cause the crashing? How can I correct this and still use the shared variables?
    Any thoughts would be appreciated.
    LV 2013 Pro
    Solved!
    Go to Solution.

    Zach;
    You were spot on. I added a network switch, and assigned static IPs to the remote PC, Labview Development  PC (host) and the CFP. Thanks! However, I am having issues with deployment of the executable.
    I was able to deploy the executable to the remote PC and its bound variables, and it communciiated no issue with the LV PC (host).
    Ive tried to deploy the software to the host PC, however,  upon execution, there appears to be no communication between the VI executable and the Shared Variables. When running, the green arrow indicators on the variables are empty (not even red).
    When I look at the Distributed System Manager, I can see my host pc, remote pc and the two libraries, but they show them errored and unexecuted.
    I have the variable engine, USI, MAX, Runtime 2013 F2, Deployable License, Distributed Sys Manager included as additional installers.
    Im at  loss why the variables appear “unlinked” in the executable.
    FYI: developed with LV 2013 and all updated drivers as of 25 Oct 2013. Deployed on XP pro.

  • How do I use WINSOCK with VB6 to communicat​e with a Fieldpoint FP-1600 module ?

    I have a Fieldpoint system connected via a FP-1600 ethernet module to our local network. I can use CWDataSocket with Visual Basic 6 (under WinNT 4) to communicate with the fieldpoint hardware via the fieldpoint explorer and OPC server. But if I try to read multiple channels from say an analog input module, only one reading is returned (i.e. a single float).
    It would appear that in order to read multiple channel simultaneously, I need to by-pass the OPC server and communicate directly with the FP-1600. The FP100x programmers manual explains what commands to use and what responses to expect etc. There are also exampls on the NI web site using the MSComm VB control to co
    mmunicate with fieldpoint RS232 comm modules. But can't find anything that specifies how to configure the WINSOCK conection in order to achieve communication with an FP-1600.
    If someone could post an example of a VB application that can do this, or explain how I should go about it, I would be very grateful.

    Ben,
    The FieldPoint OPC Server will publish only the first element of a multi-channel analog signal. What you should do is use multiple DataSocket connections (URL's), one to each channel to get all the data that you desire. There is no drawback to doing this method (other than needing to code additional connections using the same CWDS object). The information will not be any better or worse synchronized and all the data is independantly time-stamped.
    I would not recommend that you try to bypass the OPC Server. The FieldPoint Ethernet modules use a NI ethernet protocol that is proprietary so there is no information or examples on doing direct communcation using winsock.

  • Communicat​e with LIN device via RS232

    Hi,
    We have a project to communicate with a card containing the LIN bus. I seek a solution to communicate directly with the card via the RS232 port. I think use an rs232 adapter and a rs232-LIN transceiver directly to the card. The links below containinformation of material:
    http://www.mikroe.com/eng/downloads/get/1276/max23​2_manual_v100.pdf
    http://www.mikroe.com/eng/downloads/get/1507/lin_m​anual_v100.pdf
    I want to know if anyone has used this solution before. Do you think this is feasible.Thus, the problem is that Labwindows allows easy implementation of code ofcommunication with the card (functions, examples ...).
    Thank you for your opinion about this solution.

    Hello,
    Sorry for the delay. Can you describe me your solution. I thought of another alternative. Can I communicate directly using the rs232 port, a LIN  transceiver and a power adapter (rs232 to TTL). Can you tell me what library I should use because I do not know really what is the principle.
    Many thanks

  • Can not communicate any with Server, BUT I CAN CONNECT SUCCESS FROM "MANAGE SITES"

    I can NOT see Server Files in dw cs6 , so i can NOT upload/download or communicate any with Server, BUT I CAN CONNECT SUCCESS FROM "MANAGE SITES"...WELL WHERE THE PROBLEM?

    From the File view pop-up menu, choose Remote server

  • My husband's only way to communicate is with ipad.  He now has double-vision.  The icons are too small.  Is Apple planning on accommodating us boomers and handicapped with a larger icons? Zooming doesn't help becuase of limited manual dexterity.  Thanks

    My husband's only way to communicate is with ipad.  He now has double-vision.  The icons are too small.  Is Apple planning on accommodating us boomers and handicapped with a larger icons? Zooming doesn't help because it's not a permanent setting and he can't change it too meet his needs because of limited manual dexterity.  I understand and appreciate the desire for consistency, couldn't they make a two or three size option setting. Small, Medium, Large and maybe Xlarge?

    Thanks.  Tried it.  The size of icons is great but now the part of the screen is missing.  For example, he likes going into his  music app, yes, it was easier for him to see and select, but once in the app he couldn't see the sides, so he couldn't select song without a double-tap to get it out of zoom.  I will see if I can arrange his pages so that all icons show.  This is a sort of work around.  Larger icons would be a better solution.  My husbands illness makes him akin to a person with ALS, so his ipad is his prized possession.

  • HD 4600 - Can't communicat​e with monitor via HDMI

    Hi, I have recently purchased a Toshiba Satellite S50-B-15U and I'm trying to connect it to my 3 year old AOC monitor
    via HDMI (the Toshiba doesn't have a VGA port). However whatever I try I can't get the laptop to communicate with
    the monitor. The graphics card in the Toshiba is a HD 4600 with a version 10.18.10.4061 driver.
    Someone on another forum suggested that an older version of driver (9.18.10.3165) would cure the problem but when I try and install this on the laptop it keeps saying I have the latest driver and it will not let me change to the older version.
    I should add that the laptop communicates fine with my TV via the same HDMI port and cable. Also, the monitor works
    fine via VGA to my old tower PC. Any suggestions appreciated
    Solved!
    Go to Solution.

    Satellite S50-B-15U (PSPRBE-02V051EN)
    Any suggestions appreciated
    If you're really stuck, try out an adapter.
    -Jerry

  • CFP-1804 Supported by Signal Express?

    Does Signal Express (Version 2.0.0) work with a cFP-1804?
    What about other cFP controllers (ie cFP-2120)?

    Hello Barty,
    Our Field Point products are not supported with Signal Express. I reviewed the ReadMe for Signal Express. Here is a list of the drivers that are supported:
    LabVIEW SignalExpress is compatible with the following products:
    NI-DAQmx 7.3 or later
    NI-SCOPE 2.7 or later
    NI-FGEN 2.2 or later
    NI-HSDIO 1.3.1 or later
    NI-HWS 1.3.1 or later
    NI-DMM 2.4.1 or later
    IVI Driver Toolset 2.0 or later
    LabVIEW SignalExpress will install or update the following applications:
    MAX 4.2.1
    LabVIEW Run-Time Engine 7.1
    LabVIEW Run-Time Engine 8.0
    LabVIEW Run-Time Engine 8.2
    IVI Compliance Package 2.0 or later
    NI-VISA 4.1.0
    Microsoft .NET Framework 2.0
    I hope this answers your question.
    Cheers,
    Emilie Kopp | Applications Engineer | National Instruments

  • Setting IP address on the cFP-1804

    Hello,
    I just purchased the cFP-1804. I would like to connect it via Ethernet crossover cable to a PC (that will be running LabVIEW). I have connected the cFP-1804 and the PC. The cFP-1804 and PC both indicate that they are connected (i.e. - the cFP-1804 indicates a green LED under 100mbps and a organish LED for active and the PC indicates that a connection is made at 100mbps as seen on the toolbar). When I open MAX and look under "Remote" heading it does not list the default IP address. I have read through most of the help files and it suggested I right click on "remote" and create new. I did so. However, it asked for the IP address of the cFP-1804, I could not find that information nor could I figure out how to determine it. My best guess was to open the windows network connect and see what it read the IP address to be (but I think it may have given me the PC's IP address). I plugged that IP in but it said it could not connect to that device b/c it is not online.
    Does anyone know how to properly congiure the cFP-1804 to be recognized by the host computer (i.e.-determine the IP address). I know that in order for the cFP-1804 to appear in MAX the target has to be on the same local subnet as your PC but I am figuring that if they are directly connected they would be. If they are not is there a way to get them on the subnet mask? If not what other methods do I have connected these two devices?
    Thanks.

    Hi rchaoua,
    Do you have NI-FieldPoint installed?  Without the FieldPoint driver, MAX
    will be unable to detect the cFP-1804.  If you need to install the
    FieldPoint driver and are using LabVIEW 7.1, 8.0 or 8.2, you can download it
    from here. 
    If you need the FieldPoint driver and are using a different version of LabVIEW,
    let me know and I'll be more than happy to help you locate the correct version
    of the FieldPoint driver to use.
    If you are unsure whether you have the FieldPoint driver installed, expand My
    System >> Software in MAX, and if the FieldPoint driver is installed you
    will see FieldPoint in the software tree.
    Additionally, if your computer has firewalls in addition to the Windows
    firewall, that may also be blocking the device from being discovered in
    MAX.  Make sure all firewalls are turned off as well as any anti-virus
    software.  On occasion, I have seen anti-virus software prevent devices
    from being discovered in MAX.
    Please let me know if you need additional assistance.
    Message Edited by Ching P. on 10-09-2007 09:00 AM
    Regards,
    Ching P.
    DAQ and Academic Hardware R&D
    National Instruments
    Attachments:
    FieldPoint_Install_MAX.JPG ‏122 KB

  • Problem with microsoft virtual WiFi Miniport adapter

    Hi, I am Shakil Rahman. For last 4-5 days, the wireless interent connection has not been working. I have tried to figure out the problem with the aid of internet since I am not so efficient about computer. According to the information obtained from internet,
    the problem is with microsoft virtual WiFi Miniport adapter and there is a 'Triangle symbol' (Symbol of attention) unlike Atheros AR5B93 wireless network adapter and Broadcom Netlink (TM) Gigabit Ethernet under the 'Network Adapters' title. In this circumstances,
    how can I fix this problem to enable wireless connection? I would be grateful if you help me out.

    Hi Shakil Rahman
    You can try to uninstall your WIFI adapter driver in your Device Manager, then reboot your computer, the system will find and reinstall the driver automatically.
    If there is no use, please contact your computer manufacture for further  help.

  • Interface jsp application with microsoft outlook

    hi friends,
    i have a requirement in one of my project.
    the project is something like this..
    my jsp page contains some fields
    like
    To:
    Subject:
    & many others....
    now i want my jsp application to communicate with microsoft outlook,
    wher i press submit on my jsp page & all the data entered in the jsp page should replicate in my outlook & from here i can send across the mails..is it possible....or is there any other way i can send mails using my jsp application..
    expecting ur replies to tackle intrestin problem
    thanks in advance
    Ganesh BS

    hi,
    check with this code.....if u have outlook its well N good..other it works with other mail systems like yahooo...(only thing u need is internet)
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <%@page language="java" %>
    <html>
    <head>
    <SCRIPT LANGUAGE="JavaScript">
    function mailsome1(){
    who=prompt("Enter recipient's email address: ","[email protected]");
    what=prompt("Enter the subject: ","none");
    bod=prompt("enter text","");
    if (confirm("Are you sure you want to mail "+who+" with the subject of "+what+"?")==true){
    parent.location.href='mailto:'+who+'?subject='+what+'?textbody='+bod+'';
    </SCRIPT>
    </head>
    <body background="background1.JPG";>
    <a href='javascript:mailsome1()'>E-Mail Someone!</a>
    <FORM>
    <input type=button value="E-Mail Someone!" onClick="mailsome1()">
    </FORM>
    </body>
    </html>

  • When i login with microsoft account cannot access with administrative share c$

    i have a problem when i login to windows with microsoft account cannot access any network computer with administrative sharing c$,d$ with windows 8.1 
    but when i login with local account can access
    and some people tell  me create key in regedit t fix it 
    after enter user name and password show this error 
    and i apply your instruction  and not fix until now
    note:
     my Machine windows 8.1 if another machine in network windows 7 can access a hidden share if machine in network windows 8.1 show this message in image 2 
    but if i login with local user can i access all machine hidden share network windows 7 and 8.1

    yes this computer i want to access  name poland2-work and have two users 
    first :administrator
    second : poland 2

  • Is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    No

  • Does iWork come with a form of powerpoint presentation compatible with Microsoft Office Powerpoint?

    I recently bought a MacBook Pro and need to purchase iWork or Microsoft Office. Does iWork come with a form of powerpoint presentation? If so, is it easy to use and compatible with Microsoft Office presentation software? The latter question is extremely important as we use Microsoft Office primarily at the college.

    Yes, Keynote is iWork's PowerPoint equivalent. You can save as a PowerPoint file as well. Very easy to use IMO.

Maybe you are looking for