Cfp 2020-di-330

Hi everybody!
I'm trying to perform a digital input acquisition using the cfp 2020-di-330 , but i don't understand how to make the physical connections.
In the diagrams i see two inputs INa and INb, but i don't know which one i have to use since i'll be working with TTL signals. 
I have worked with DAQ's , but this is a little differnt, i think i don't need the external supply for doing this.....thanx in advance!!!
Solved!
Go to Solution.

TTL signal is applied between INa and INb, reefer to the manual, specifically page 9.
http://www.ni.com/pdf/manuals/323301c.pdf
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~

Similar Messages

  • Performance blocker on cFP-2020: file-I/O! How to improve?

    Hi all,
    after resolving my serial-communication problems I still have a performance problem. The code is way too slow which causes e.g. the ftp-server on the fieldpoint to not respond anymore to requests from my PC. I always get timeouts. I also frequently get loop-finished-late events within my two state-machines. I have now used the timing and performance monitor to sse which vi is taking so much time. The result: A file-I/O vi that writes data and log-entries into three different log-files. With a former verion I simply used one vi that appends a string to an existing file. However, since this function disappeared with LV8.2 I had to rewrite the code to use the following sequence of LV-functions:
    - file open
    - set pointer to the end
    - write string
    - file close
    My vi shich calls this sequence is horribly slow - execution time per run is about 200ms and the top of the list in the performance monitor. Are there any suggestions on how to improve this code? I simply want to add a string to the end of the log-file......
    The vi is attached. There are two features in the code which are not self-explanatory: The first sub-vi generates a new file if is used for longer than a preset time (15 minutes in my case). So the create-time of the file is stored in the filename and whenever the current time exceeds create-time plus 15 min. A new file name is created. For simplicity, the name is stored only for the first of the three log-files. The other two are created by string operations from the first filename. Second, whenever a file is "created", that means is does not exist yet, a data-header is written to the file, before data is appended.
    Can you see simple improvements here that will accelerate this code? Maybe open the file only once and then append data subsequently and only close it when a new file is created? But I do not need all three files all the times, there may be situations where only one file is needed, and the others need not be created at all.
    Thanks,
    Olaf
    Attachments:
    makedatalogfiles.vi ‏42 KB

    Ravens Fan wrote:
    I think moving the open file, move to end of file, and close file out of the loop would certainly help.  These functions could be associated with or built into your "determine new file" VI.  Since the file paths get passed into the loops, you could pass them through with shift registers so that you can close them after the loops end.
    One other thing to look at is your initialize array and insert into array functions.  I believe insert into array is one of the costlier functions.  Build array would be better.  And initializing a much larger array and using replace array subset is better yet.  But if you wind up with more elements than you had originally initialized for, you will have to use build array to enlarge it.   I would recommend searching the Labview forum for insert into array, build array, and replace array subset for threads that do a better job explaining the differences and advantages of each.
    Thanks, that improved the performance of this vi by about two orders of magnitude. The application is now much more stable.
    However, I cannot connect to the cFP-2020 anymore by ftp. I even swithed the fieldpoint to boot without vi.
    To be specific, I can access the cFP and cd into all directories except for the directory with the data. I assume that there is a large
    amount of files in it now, but used to work before even with lots of files. The only thing that might be not so nice is that there is a space
    in the folder name, but that has been like that for years now and used to work.
    Is there any reason (corrupted file or something like that) that can cause the ftp to fail on this specific directory?
    Thanks,
    Olaf
    ...at least I am very close now to a satisfying and running system.... :-)

  • Time synchronisation fails on a cFP-2020

    Hi all,
    I am having problems with time synchronisation on my cFP-2020.
    Whenever I restart the FP, the time gets updated from the
    specified "server", a laptop running the control vi that
    communicates with the autonomuous  vi that runs the cFP.
    But then time drifts dramatically, roughly 10 minutes per hour!
    How can I debug this, set the priority for the time synchronisation
    higher (is that possible?) or solve the problem in a  satisfactory
    way?
    To avoid influences of the LAN I now use a router that isolates
    the cFP and the Laptop from the rest of the network, still the same
    result!
    Thanks,
    Olaf

    If you are using the Get Date/TIme vi, the timesource is the OS.  This clock will drift away from the
    hardware clock under CPU load, just like on a PC.  Do you have any loops w/o waits or something
    else that might be using up a lot of CPU cycles?  If you turn off the FP unit for an hour does it power
    up thinking it was off for 50 minutes?  This might indicate a hardware problem.
    After much gnashing of teeth and many discussions with very patient NI people, I have collected the
    following suggestions for time on embedded fieldpoint:
    1) Use the hardware clock as a source rather than the OS.  Create a 500 mS loop to do a FP Read
    of one of the dip switches on the controller and write the timestamp to a functional global.  Read this
    functional global whenever you want the 'real' time.  Don't use the Get Date/Time or similar functions.
    2) Anywhere that you need only relative time, i.e. 'do x every 500 mS' use the mS timer function.
    3) If you are doing a time comparison make sure you consider the case where the clock is significantly
    out of whack, either direction.  If the clock gets a step change (daylight savings?) you don't want your
    1 S loop to wait 3600 +1 S ( or worse, wait until LV time overflows in 2038!).  Actually this is more of a
    general LV suggestions.
    4) Handle the setting of the time on the FP unit within your application.  Disable the timeserver.  This
    way you know when your clock changed plus you can address any potential jitter.
    Hope something in here helps.
    Matt

  • Loosing connection to cFP-2020 when editing subvis

    I'm frequently loosing my network connection during the following scenario: Boot my cFP-2020, successfully connect with LVRT, successfully lode and run labview source code with 20MB available memory and stack is 180K, then when I stop my labview program and try to click on a subvi or other parts of the diagram causes me to loose my connection to the cFP-2020.
    Once I have lost my connection to the cFP-2020 I cannont ping it or use the FTP server, so I have to re-boot it to get it to work again. Thanks for any help you can offer.
    Brad Whaley
    validation engineer
    Intel Corp.
    Brad Whaley
    LabVIEW Certified Engineer

    Brad,
    How are you stopping the embedded LabVIEW program? Are you using the Abort Execution button in LabVIEW or have you provided a programatic way of stopping your VI (e.g. stop button to conditional terminal of while loop)? If you are using the former method, it may be that one or more of your sub VI's is not exiting in a stable manner and is causing the problem.
    Regards,
    Aaron

  • Can cFP-2020 be used like a FP-1600 without a downloaded vi

    Is it possible to use a RT FieldPoint interface module like a non-RT module?  I want to adapt some code to RT but would like to transition to the FieldPoint hardware.  Is it required that the cFP-2020 module have a downloaded vi to operate?

    Hello notaclue,
    Khalid is correct, you do not have to download a VI to the controller to use it.  There are a few ways to communicate with your Fieldpoint bank.  You can target the controller with LabVIEW RT and then when you click run on your VI, the program will run on the controller without you having to actually transfer the VI to the target.  It is actually running embedded on the controller but is not stored there after you restart the controller.  See chapter 4 in the cFP-2020 User Manual for more information.  You can also build the application to the controller so that it is stored there and has the ability to start upon boot up of the controller.  The last way I think may be what you are looking for, which is to use the Fieldpoint VIs without targeting the controller.  You can just access the channels of the bank using IO Points.  This tutorial gives a nice explanation of how to do this. 
    Thanks,
    Laura

  • How do I revert fieldpoint cFP-2020 controller back to an older os version.

    I recently updated our fieldpoint controllers cFP-2020 to labview runtime 7.1. The system worked fine. Then, I pressed update os and Our system no longer worked. The old rev was 0416 and the new one is 0502 as seen in fieldpoint. How do I get the old os back on so that I can get more testing done?

    Hello Speeddaemon:
    There is a known issue regarding the cFP 20xx controllers which occurs when the OS is updated.
    I wanted to ask you a couple of questions regarding your controller to determine if your issue is similar to the one we know of:
    1. Is your controller considerably new? The issue we found has to do with controllers that were shipped between November 2004 and January 2005. If you have a revision that is before F you might face this problem when you upgrade the OS.
    2. If you do not have revision F or later, did you download Safe Mode 10.4 or later before updgrading the OS?
    3. What exactly is the error you receive? Are you still able to assign it an IP address?
    4. Have you tried formatting your computer? Did you receive an error when you did this? If so, what did the error say?
    This issue might be a bit more involved than what we think it is as of now. If you could give me some more information on the above questions, it would help a lot.
    Thanks,
    Jaideep J
    Applications Engineer
    National Instruments Corp.

  • NIMax crashes when installing software to cFP-2020

    New CFP-2020, LV 6.1, FP 4.0, ethernet w/crossover. Even though I can assign a new IP, IMAX causes page fault after removing old software. Hmmmm, wonder if the CFP-2020 is bad.......

    I had a big problem setting up my cFP2020 to start with. It took about a week working with tech support. Eventually I managed to assign an IP address and download all the software. Yesterday I had to reset the controller and it just lost everything! To get it back I had to shut down and start up and mess about with the DIP switches, remove it from the network and plug it into my machine using a xover cable. Only then could the IP address be re-assigned.
    All the while MAX was being very very slow and I though it had crashed a couple of times, although it turned out just to be thinking. Maybe you were seeing some of these issues too. I've heard from more than one person now that the cFP2020 is not a straighforward beast to problem solve!
    Hope this sheds some more light.

  • CFP-2020 COM Ports 2 and 3 usage

    Hi,
    I'm working on an application that needs to control multiple instruments through serial interface.
    I'm able to control this instrument through COM1, but when I take the same instrument and try to control it from COM2 I don't have any communication.  In fact, so far I have not even gotten a simple loop-back test to work on COM2.
    Is there a clever way to verify that COM2 is writing anything out to COM2?  I'm using a custom RJ45-10position for the FP end, to an RJ45-8pos at the power supply side, (but this end I have a TXD to RXD loopback)
    I've included the simple test VI I'm using as well incase this helps anyone.
    Thanks for any help or suggestions,
    Daniel
    Attachments:
    TEST - PS Conn.vi ‏24 KB

    Hi!
    daniel_vi wrote:
    The cFP-2020 spec I
    read that had the RJ45-10pos pinout seems to have the pin numbers
    reversed.
        ...what do you mean?!?!?!? Here's the data you need to build the cable (RJ50, or 10 position RJ, don't call it RJ45 ):
       (From cFP-20xx User manual, april 2004 edition)
       So be careful to connect pin 9 and 8 to have a loopback, anc not 2 and 3 (okay unless you number from right )!!!
    graziano
    Message Edited by Graziano on 10-03-2008 02:12 AM
    Attachments:
    pin_10_RJ50.PNG ‏25 KB

  • Mobile cFP-2020 hangs

    Hi!
    Background: Mobile Datalogger for a transportation cooling system including temperaturs, humidity, fuel, GPS / GSM Modem (serial ports) with a cFP-2020/LabView system.
    I have different loops for reading sensor values, write data to flash, communicate with GPS and Modem via RS232.
    Problem: CPU hangs after a couple of hours every time it is rebooted.
    Does anybody have an idea?
    Regards, Louis

    Louis,
    What do you mean by hang? Does the program simply appear to stop doing anything, or does the unit re-boot and start flashing the status LED?
    Assuming that it is the latter (which is a crash), the most likely culprit is memory allocation. Assuming that it is the former, than you will have to add in diagnostics to assist you in tracing the source of the hang. A question that comes to mind is are you using the Error cluster, and if so, how are you handling errors? If you wire the error cluster to all of the VIs, but do nothing to handle it, then after an error occurs, most VIs will stop executing (if Error Status==True).
    I recently had a program that appeared to hang after 24-48 hours. The system had 8 parallel loops each running a state machine and only some were getting hung. I added debug information to each loop through by using the PublishData.vi and published separate information on the state of each loop. By watching the timestamps and information, I was able to determine in which states the loops were when the hang occurred, and then added more debug markers in the specific states to further isolate the cause. I repeated the process until I had identified the specific VI that caused by hang. You can also use the LEDs (A-D) to display status information of the program.
    Regards,
    Aaron

  • Corrupted software installation in cFP-2020....

    My cFP-2020's status led flashes three times, I know that means a corrupt
    software installation.
    I think someone in my department tried to do something and after doing it
    wrong she decided to install the whole operating system from scratch.
    Now it seems that I cannot recover the installation: the system is
    unavailable, and if I try to install the firmware following instructions on
    the manual I end up getting an unrecoverable error. BTW, the installation
    process is very slow and it end at around 75% of the entire procedure.
    Any help as to how I can reinstall the software would be greatly
    appreciated.
    Thanks to everyone!
    Nicola

    First, try FTP'ing to the cFP-2020 and delete all files that you possibly can. This can be done by opening a web browser (Internet Explorer) and typing in ftp://xxx.xxx.xxx.xxx where the x's are the ip address. You probably will not be able to delete all files, but delete as many as you can.
    Next, set the Reset dip switch into the ON position and cycle the power on the cFP-2020. You should notice that the status LED will blink 1 time continuously. At this point, set the Reset dip switch to the OFF position and cycle the power again. Now you should be able to configure the module as well as install the software for the module.
    I hope that this information is helpful. Have a good day.

  • Setting up a tpc-2006 with a cfp-2020

    Hi all,  hope all is going well, been a while since I was here. 
    With a new project we are working on, we have opted for the cfp-2020 unit and the tpc-2006 screen, but we are having a little trouble getting things connected.  I have a feeling that firmware needs upgrading on the 2020 (as the last project's 2020 needed) but it may be more than that.
    Any suggestions how to see the project on the 'small screen'? 
    Cheers for any help you may have
    Steven

    Hi Steven
    Can I ask you for some more info about what your doing, and what the issue is - what have you done so far in your attempt to get this working? What code have you written? What do these applications do?
    If you can give me some more information about where you've got to so far, then I'll see if we can work out where the problem is.
    Regards
    Hannah
    NIUK & Ireland

  • The "Format Disk" option does'nt appear on my cFP-2020 controller option

    Hi
    In my network, I have three controllers cFP-2020. I want to format one of them. But,  I does'nt see the option "Format Disk" on this cFP-2020 controller.
    When I try with the two other, I see the option "Format Disk".
    Normaly, I does'nt have problem for this operation. It's the first time the option does'nt appear on the menu.
    I don't know what I can do for format my disk
    Thanks

    Hi Phil,
    Take a look at these KnowledgeBases and they should help you out.  If not, let me know and we'll see what else can be done:
    Reformatting the Internal CompactFlash Memory on NI Real-Time Controllers
    How Do I Format Controller Disks and Reinstall the Software?
    Regards,
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Error in firmware cFP 2020 & connection time out error in MAX

    Hi!
    My cFP 202O status LED is flashing twice - which indicates that there is an error in the firmware (according to the user manual). I've already installed the latest firmware downloaded from the NI website and it says that I'm suppose to update the OS from remote system in MAX. When trying to update the BIOS system, this comes up.
    Version on the remote target : 10.1
    Available version on the host : 10.4
    I'm a little confused as to which is the remote target and which is the hosting system? It also says that the previously installed software will be removed if update is continued and that it might damage the hardware if manually booted or turned off so I'm a little skeptical to proceed.
    I'm alsoreceiving error messages in MAX. Errors in MAX are 'Connected - No software installed' and connection to a remote device timed out. I'm wondering if this error occurs because of the firmware problem or is it because of the timeout settings? Which is better? A higher or lower timeout time?
    I'm new with this. Any info is greatly appreciated! Thanks!!!
    Solved!
    Go to Solution.

    The target is your compact Fieldpoint.  The host is your PC that you are on.  Since the PC has a newer version, you will want to have that software downloaded to the cFP by way of MAX.  Of course there is a slight chance you could lose power to the cFP if your luck is bad and the power goes out in the middle of the upgrade.  It would be best to have your power supply for the cFP running off a battery backup UPS for security.
    I'm guessing the error is due to your firmware problem.
    If you are really uncertain on how to proceed, it may be best if you contact NI directly and they could help walk you through the update process.

  • MAX does not find cFP- RLY-423, cFP-RLY-421, cFP-AI-112

    I am using a cFP-2020.
    MAX shows the cFP-330 @1
    It does not show the cFP-RLY-423, cFP-RLY-421, or cFP-AI-112 which are also plugged into the backplane.
    When I right click on cFP-2020 @0Bank and select create new the Device type pull down does not show a cFP-RLY-423, cFP-RLY-421, or cFP-AI-112.
    I installed the software that came with the cFP-2020 that I received today.

    The NI FieldPoint drivers will ship with the information on the currently released modules only. Thus modules released after the software has shipped will not appear in the device listing. However, all modules have an electronic data sheet that is automatically uploaded to the computer by the FieldPoint software when an unfamiliar module is located using the Find Devices command. This allows NI to release new modules without having to release a new version of driver software for each new module.
    Have you performed a Find Devices on the system? If not, please do so. At that point, the modules should be found, and from now on, they will appear in the devices listing for that particular computer.
    Are the Power and/or Ready LEDs lighting on the cFP-RLY-42x and cFP-AI-112 modules? If the Power LED is not lit on those modules, that would explain why they are not found by the system. Try swapping the order of the modules to see if there is a problem with the module or with the backplane.
    Regards,
    Aaron

  • How to get the cFP IP Address?

    Hi, I have a VI running standalone at a cFP 2020, and I can access the front panel using webserver. But to access these VI, I need to know the cFP 2020 IP address. This way, I'm leaving a fixed IP Adress. Now I want to put this cFP inside the company net, and, to do this, I'll select the "Obtain IP address from DHCP server" from the IP settings. But, doing it, if I know the cFP controller name, there's a way to discover the IP address?

    Try using String to IP followed by IP to String (and select dot notation). I believe the name should be resolved correctly.
    Try to take over the world!

Maybe you are looking for

  • Logic 8.02 Crashes often. Too Many BUGS!! Unstable.

    Hi, There's too many problems with Logic 8.02. It's not stable and keeps crashing. I save often becos I expect it may crash unexpectedly whilst loading plugins. The final straw for me was when I couldn't even save my session - as saving it actually c

  • Policy name and column name inside a policy function

    I have the following function associated with a policy in the employee table for SSN and SALARY columns FUNCTION empid_policy_fn (object_schema IN VARCHAR2, object_name VARCHAR2) end; When the policy fires, the schema name and the name of the table a

  • Rename of Field

    Hi,, i want to rename of a field of a table as i have oracle 9.0.0.1. regards

  • JScrollPane autosizing

    Hi, I have a rather large GUI. There is a jtabed pane. The right pane contains a scrollpane. This scroll pane contains and upper and lower jpanel. each jpanel contains a jtable and another jpanel. When either of the jtables contains data and I click

  • Camera app disappears

    I tried to configure the Microsoft Exchange account, on successful configuration the camera app icon disappears. After deleting the account again it appeared on my iphone home screen. I dont know why there is conflict with a Microsoft Exchange accoun