Labview with cfp -DO- 403

Hi
I have two small programs to test cfp - DO - 403 module in LabView.
The first programing,I get it from exmaple from NI. It work ok with this module.
The second programming, I create it with DO share, but i does not work, I don't see the error.
Please download and fix it help me.
Thanks
Nguyen Van Hung
Attachments:
Digital Output(The first program).vi ‏14 KB
Digital Output cFP-DO-403(The second program).vi ‏11 KB

I have never used the "All" channel, at least not for writing values out.  So  I don't know if there are any gotchas with that.
One thing I do notice is that for your first program, you are writing out an array of 8 elements.  But for the 2nd program, you are only writing out an array of 3 elements although it is an 8 channel device.  (Put a probe or indicator on that error wire to see if it says anything).
My suggestion was to create an array of the Fieldpoint I/O points and iterate through them in a loop.
Attachments:
Analog%20Output%20cFP%20-%20A0%20-%20210&200(The%20second%20program)[1]_BD.png ‏25 KB

Similar Messages

  • I need to count intermitte​nt high speed pulses from an outside source with cFP-CTR-50​2 and labview.

    I need to count intermittent high speed pulses from an outside source with cFP-CTR-502 and Labview 8.2 . I've found example code for generating pulses and creating intricate count setups but no straightforward examples of a simple counter. Any suggestions?

    Hello tinfish,
    I could not find a simple example that implements simple counting either, but it should be straightforward enough for us to try. Do you have the CTR module configured properly in MAX? If so, can you monitor the channels on your CTR 502 for input? Try connecting a square wave or some other digital pulse to the terminal to test the functionality of the counter module first (before programming). If you monitor the input channels with somethign connected you should see the count increment each time it sees a rising edge (assuming default configuration).
    Once you've verified that everything works in MAX, you can set up your CTR module in a LV 8.2 project. If you need help with this, refer to the help document (look in the "Configuring FieldPoint in LabVIEW" section):
    C:\Program Files\National Instruments\FieldPoint\documentation\Online Help\fplv.chm
    You should be able to just read a channel tag from your CTR 502 using an FP Read VI. (Simply drag the channel from your project onto the block diagram). Since counting is the default behavior of the 502, there is no special programming involved to make it work.
    I hope this helps -- if it's too high-level we can talk details about specific questions you have.  Have a good one!
    Charlie S.
    Visit ni.com/gettingstarted for step-by-step help in setting up your system

  • 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

  • How can I read pdf files from LabVIEW with different versions of Acrobat reader?

    How can I read pdf files from LabVIEW with different versions of Acrobat reader?
    I have made a LabVIEW program where I have possibility to read a PDF document.  When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC. Lather when the Acrobat Reader was upgraded to version 6.0, there was an error when VI tries to launch the LabVIEW program. And Later again when we upgraded to Acrobat Reader 7.0.5 I must again do some changes and rebuild the EXE files again
    It isn't so very big job to do the changes in one single LabVIEW program, but we have built a lot of LabVIEW programs so this take time to due changes every time vi update Acrobat Reader. (We have build EXE files.)
    The job is to right click the ActiveX container and Click "Insert ActiveX Object", then I can brows the computer for the new version of acrobat Reader. After this I must rebuild all the "methods" in the Activex call to make the VI executable again.
    Is there a way to build LabVIEW program so I don't have to do this job every time we update Acrobat Reader?
    This LabVIEW program is written in LabVIEW 6.1, but I se the problem is the same in LabVIEW 8.2.
    Jan Inge Gustavsen
    Attachments:
    Show PDF-file - Adobe Reader 7-0-5 - LV61.vi ‏43 KB
    Read PDF file.jpg ‏201 KB
    Show PDF-file - Adobe Reader 5-0-5 - LV61.vi ‏42 KB

    hi there
    try the vi
    ..vi.lib\platform\browser.llb\Open Acrobat Document.vi
    it uses DDE or the command line to run an external application (e.g. Adobe Acrobat)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • How to create a dll in LabVIEW with a 2D array

    I'm attempting to create a dll in LabVIEW with the following parameters from Test DLL.vi:
    Inputs:
    IN1 - Word
    Buffer - 2D array of Unsigned Byte
    Output:
    OUT1 - Unsigned Byte
    The prototype is constructed as follows in the Build Specifications of the Project:
    uint8_t TestDLL(int16_t IN1, TD1Hdl *Buffer)
    The dll builds successfully but when I attempt to use it in another VI (using the Call Library Function block) the prototype appears but it does not look like what was defined from the Build Specifications.  Instead it looks like the following:
    void TestDll(void );
    I attached some screen shots of all the settings as described above.
    Attachments:
    Test DLL Front Panel.JPG ‏85 KB
    DLL Prototype Before.JPG ‏84 KB
    DLL Prototype After.JPG ‏54 KB

    The Test DLL.vi is what I used to create dll prototype with in the Build Specifications in the project.
    Note:  There is no logic implemented yet.
    Attachments:
    Test DLL.vi ‏7 KB

  • I have found a person who has a driver software to connect Labview with PCI card. But he says that i need to download a freeware software to configure the PCI card. But you have mentioned that freeware is for GPIB boards. Is it correct ??

    I have found a person who has a driver software to connect Labview with a general PCI card. But he says that i need to download a freeware software from NI website to configure the PCI card. But you have mentioned that freeware is for GPIB boards. Is it correct ?? Is there any other way out ??

    I would ask the person who told you about the freeware software to help you find exactly where it is. I am not aware of any freeware software for configuring motion PCI cards but maybe the person you know might be able to help you locate it.

  • How to use labview with the handyboard

    Hi,
    how to use labview with the handyboard
    Thx...

    I'm assuming you're talking about this, since you didn't provide a link for those of us who don't know what you're talking about.
    As the other poster said, you didn't say how you want to use LabVIEW with it.  If you want to write LabVIEW programs than run on the microprocessor, then you're out of luck.  If you want LabVIEW to interact with it, then you've got a couple of options, SPI probably being the best, but it also has DI and AI that you could use to communicate with it - the DI's could be used as a parallel interface.
    Message Edited by Matthew Kelton on 12-17-2007 02:21 PM

  • How to use labview with gpib to connect with Agilent PNA E8362B ?i am newbie ..just started to work on labview about a fortnite bck and a novice in interfacing skill ..so plzzzzz explain me in a litle detail

    how to use labview with gpib to connect with Agilent PNA E8362B ?i am newbie ..just started to work on labview about a fortnite bck and +i am a novice in interfacing(networking... jst know tidbits) skill ..so plzzzzz explain me in a litle detail

    Sir
    We were able to solve that problem...but now could you advice as to which DC power supply we should use (preferably avalable in India) so that it can be controlled by Labview (through a gpib/rs232/any other port) to give a square wave of desired frequency/other parameters.
    Regards
    Shivam

  • How to use labview with gpib to connect with Agilent PNA E8362B ?

    how to use labview with gpib to connect with Agilent PNA E8362B ?i am newbie ..just started to work on labview about a fortnite bck and +i am a novice in interfacing(networking... jst know tidbits) skill ..so plzzzzz explain me in a litle detail

    Duplicate Post.

  • Link labview with other software which can do hydraulic simulation such as Nanas Fluent.

       Hi all:
              I currently want to exchange data between labview with Ansys fluent. That is: sending flow boundary condition and initial condition from labview to hydraulic simulation software (ansys fluent), and get simulation result back to labview from that software.
             I didn't find any modules online to link labview and fluent together. (There are others such as Labview Solidworks module)
             Is any one know how to link labview to any software which can do hydraulic simulation?
             Thank you very much. :-)
      -Bowen

    Do you know of any other programs that exchange data with Ansys?  If so how do they do it?  ActiveX is a common way for communicating between LabVIEW and other programs, is this an option?
    Justin Parker
    National Instruments
    Product Support Engineer

  • Diffing Files in LabVIEW with Perforce?

    I've read the sections of articles about doing a graphical difference in LabVIEW with Perforce here: http://zone.ni.com/devzone/cda/tut/p/id/4631#toc4 and here: http://decibel.ni.com/content/docs/DOC-1681#Graphi​cal_Differencing, but I still can't get it to work!
    When I right click on a VI from the Project Explorer that is checked out and select Show Differences... Perforce complains that it doesn't know how to do the diff on the files. I assume this is because I haven't told Perforce about the LabVIEW Diff features or the .vi file extension types. How do I this? Is there an article I missed somewhere that describes this step by step?
    Edit: I forgot to mention, how do I use the Compare VIs tool in Tools -> Compare -> Compare VIs? When I do this it bring up a dialog in which the first field is the VI I have open. The second field is blank, and that is the VI that I would compare the VI open to. However, since I am using Perforce, the previous file revision are in Perforce. How do I tell this dialog to compare it to a file that is in Perforce?
    Thanks in advance!

    In the LabVIEW help there's a LVCompare.exe topic; under that, look at "configuring source control with."  Following the directions there will allow you to show differences directly from Perforce.  However, within LabVIEW, this shouldn't be necessary -at least, it's always worked "right out of the box" for me with no further configuration.  Which of the two LabVIEW Perforce clients are you using?  You may need to use the command line version in order for differencing to work properly.
    Compare VIs does not work the way you seem to expect for VIs in source control.  It simply compares any two VIs loaded in memory.  To compare with the latest version from Perforce, use Tools -> Source Control -> Show Differences.  If you want to compare something other than your current version versus the most recent revision in Perforce, you'll need to execute the diff from within Perforce.

  • 'The termination occurred in system E03 with error code 403 and for the rea

    hello gurus,
                     i am very new webdynpro for abap.i strucked in one place at the time of designe a webdynpro component.
    i created one webdynpro component with one view.when i am going to design the view it is showing an error like .
    Service cannot be reached.
    'The termination occurred in system E03 with error code 403 and for the reason Forbidden'
    for this we need to activate some service at sicf transaction level.
    could anybody suggest me which service i need to activate to overcome my problem.
    best regards,
    raja.

    If you are creating webdynpro component for first time then check the below link and activate the service mentioned.
    http://translate.google.co.in/translate?hl=en&sl=de&u=http://help.sap.com/saphelp_nw70/helpdata/de/43/e86de5008b4d9ae10000000a155369/content.htm&ei=C56BTqinCMTqrAfr5sycDg&sa=X&oi=translate&ct=result&resnum=1&ved=0CB8Q7gEwAA&prev=/search%3Fq%3Dhttp://help.sap.com/saphelp_nw70/helpdata/de/43/e86de5008
    First check above one.
    this is for understanding
    http://sdnabape.blogspot.com/2010/11/step-by-step-configuration-for-running.html
    Regards
    Srinivas

  • How do I invert meter in labview with needle pointing downwards

    Hi,
    I need to invert meter in labview with needle pointing downwards .
    Can somebody guide me?

    Try rotating the scale.  The needle will follow the scale.  This should help.

  • Getting errors and LabView with ARM project won't compile

    Hello there, I am currently turning to make a project run on a STM32f103C8 chip using LabView with ARM. I am currently trying to compile a ARM project but I have no been successful.
    I have tried using the STM32F10x template uploaded by Joshua, and it tries to compile. At first I was getting the "stm32f10x_tim1.c" file missing error, but that was solved by downloading the file from firmware v1 and adding it to the includes folder. but now i am getting a new error saying "profile_timer.h" is missing.
    I am using:
    Windows 7
    LabView 2010 evaluation
    NI ARM module
    and I am trying to compile a empty project
    Here is the error code message, any hepl will be useful, thanks:
    [12:39:37 PM] Status: Error
    Build target 'LabVIEW'
    compiling RTX_Config.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling Retarget.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling TargetInit.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling ARM_Serial.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling LVTree.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling Pict.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(17): error:  #5: cannot open source input file "profile_timer.h": No such file or directory
    compiling arrresize.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\analysis\development\include\platdefines.h(321): error:  #35: #error directive:
    Target not created
    Status: Build failed.

    blank projects using other included boards seem to compile fine
    and i have added a mock "profile_timer" to the keil library (just as a quick fix) and it seems to have stopped a lot of the errors, however i am still getting a few
    these seem to be:
    compiling CCGDatalogSupport.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\libsrc\comms\CCGDatalogSupport.c(23): error:  #5: cannot open source input file "CCGFileSupportPriv.h": No such file or directory
    compiling CCGFileSupport.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\libsrc\comms\CCGFileSupport.c(22): error:  #5: cannot open source input file "CCGFileSupportPriv.h": No such file or directory
    compiling CCGFileSupport2.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\libsrc\comms\CCGFileSupport2.c(22): error:  #5: cannot open source input file "CCGFileSupportPriv.h": No such file or directory
    compiling CCGIrDASupport.c...
    compiling CCGNetConnRefNum.c...
    compiling CCGSerial.c...
    compiling LVTree.c...
    compiling Pict.c...
    compiling arrresize.c...
    F:\National Instruments\LabVIEW 2010\CCodeGen\analysis\development\include\platdefines.h(321): error:  #35: #error directive:
    Target not created
    Status: Build failed.
    i'll see if i can find a file for the ccgfilesupportpriv.h but the error directive worries me a bit

  • Need someone experience​d in DASYLab or LabVIEW with Sales Experience

    Hi All,
    Apologies if this is the wrong place to be posting this, but not sure how else to go about my query.
    I'm urgently searching for someone experience in DASYLab or LabVIEW with some sales experience for a job in the UK, about 30 mins outside of London.
    If you know of anyone who might fit the bill, please get in touch - [email protected]
    Thanks!

    LauraHW wrote:
    Apologies if this is the wrong place to be posting this, but not sure how else to go about my query.
    The correct place is here: LabVIEW Job Openings
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • App Store quirks / feature requests

    Some really annoying things about the App Store that really should have been addressed by now: 1. Why does the App Store close when you install an app?  If you want to install more than one app this is really annoying; especially if you have many pag

  • Internal isight does not work in any of the applications

    I rarely use my built in camera, however I recently noticed that my built in camera iSight (macbook) is not functioning with any of the applications (ichat, photobooth, skype). Dont know how to trouble shoot. Any advise please?

  • Why won't my thunderbird open links from my emails?

    Hyper links pop up in the task bar at the bottom when scrolled over but won't open at all.

  • Ipod touch not synching with latest version of Itunes

    I connect my Ipod touch 2nd generation 8 gig to Itunes latest version and it makes the moves as if it were synching but contacts and events do not appear on the Ipod after synching. I mean new events and contacts. I have erased duplicates on my  MacB

  • Error Code - 43 - won't let me delete files

    Anyone any ideas on how to get Leopard to let me delete some trash files please? I have copied the contents of a graphics CD to a folder on my desktop. Each subdirectory contains the PDF files I want and five autorun.* files for PCs. I don't want to