CVI with Fieldpoint

There seems to be next to no support for Fieldpoint as it relates to CVI.
How does one reset their FP Network using CVI functions? Any help or
advice would be appreciated.

Hello Jeff,
It is my understanding that there is an instrument driver that comes with
FieldPoint.
I'm guessing that when you still the driver for FP it asks you what your
programming
environment is. You choose CVI (I have LabVIEW and I know there is an API
for FP that
comes with the driver) and it installs the instrument driver (under
c:\...\cvi\instr) with a
name such as FP_XXX.fp.
You load this driver in CVI and then use the functions to communicate with
your device
via FP network.
Also check if the FP driver installed examples for use with CVI.
just my 2cents,
Azucena
"Jeff Blackburn" wrote in message
news:[email protected]..
>
> There seems to be next to no support for Fieldpoint as it relates to CVI.
> How does one reset their FP Net
work using CVI functions? Any help or
> advice would be appreciated.

Similar Messages

  • Timeout error with fieldpoint in Labview 7.0

    I'm totally new to Labview and fieldpoint. I have Labview 7.0, with Fieldpoint 5.0 installed with updates for Labview 7 installed only, MAX 4.0. Configured my comms module fp1000 to com 2 on Pc all seems OK, and finds all my I/O modules. Only got 1 channel connected on a fp_rtd_124, and can read a temperature. Randomly I keep getting timeout error when using Labview (simple Vi setup to read temperature) or using MAX  and the "Start" icon. Can anyone advise on possible causes.
    Also in my playing around today, I was creating my iak file using Fieldpoint Explorer 3.0.2 but since updating to Fieldpoint 5 & MAX 4, it seems to have deleted the Fieldpoint Explorer. Do I need to reinstall explorer or can I use MAX to do all the iak configs.
    Finally how do i link my iak file (electrical units) to a scale file in the VI, so I can read engineering units. I see MAX has the scaling function, but where do I link them together.
    If I'm approaching this in totally the wrong way, please advise 
    Many thanks in advance.

    Hi Adrian
    With regards to your LabVIEW program, would it be possible to send in your code and I will have a quick look at it. With regards to the time out error, do you receive an error code of some sort, this will help me in distinguising what is causing this error.
    Within MAX you can now save your iak file configs and then you can point LabVIEW towards the file that you saved. You do not need to install Fieldpoint Explorer.
    Kindest Regards
    YatinM
    NIUK & Ireland

  • Connecting LV with Fieldpoint

    Help!
    I am a seasoned LV developer that has to travel to a job where fieldpoint is installed and waiting for my software. I have never used FP before and do not know what I need to interconnect my software to the customers I/O. I am told that it is installed as a network interface and that the test software is working. They have a FP-TC-120 and an FP-AI-100.
    Q1. What do I need to do to get the "AI Sample Channel.vi" to run.
    Q2. The vi needs DEVICE and a CHANNEL array. Where do these values come from?
    Q3. Are there any drivers needed to make the connection beside what is provided by NI for the FP, and the LV Runtime library?
    Steve

    Steve,
    A1) The AI Sample Channel.vi will not run with FieldPoint. FieldPoint has its own API and does not use the DAQ API. With FieldPoint and LabVIEW 7.0 or later, you only need to worry about two VIs; FP Read and FP Write. The FP Read and FP Write VIs both take a FP IO Point reference input (right click, select Create Constant and then Browse for the item you wish). The VIs are polymorphic for your data type to be read or written. Options are Boolean, Boolean Array, Float and Float Array and you should choose the data type based upon the channel you are addressing. FieldPoint is configured via Measurement & Automation Explorer and it sounds like you customer has already done that. If you use the Example Finder in LabVIEW, you should find a number of FieldPoint Examples.
    A2) See A1 above, device & channel array are not used by the FieldPoint driver.
    A3) You will need LabVIEW and the NI-FieldPoint driver (which requires and includes Measurement & Automation Explorer), nothing else.
    Regards,
    Aaron

  • How to measure and log frequency with fieldpoint CTR

    Hi,
    I am developing a data acquistion and control system for an engine dynamometer using the fieldpoint modules and Labview.  One of the most important signals is the engine speed, measured in RPM.  The RPM signal is a 0-12V pulse where one pulse equals one revolution of the engine.  As well as being an important piece of data for later analysis, engine RPM will also be in the input into a PID controller, so the signal must be both accurate and have a high measurement frequency. 
    Currently I am using the FP-CTR500 modules to measure the frequency of the signal.  I am already aware of the included frequency measurement VI example, as well as the one posted before for low frequency measurements, and I have gotten both to work with my setup.  I would be using the low frequency VI becuase the max frequency measurement would be in the 200Hz range. 
    The first problem I am having is with the structure of the VI and how the data is output.  The case structure in the VI activates when the counter is read and resets the counter, then switches to the next case.  I would like the RPM number to output out of the case structure into a write_to_file VI and PID controller input.  The problem is that when the case switches, the counter is reset to 0, which will be recorded in the written file. 
    This is some example output data (RPM):
    1232
    0
    2321
    0
    2400
    0
    2521
    0
    The data is being written correctly, but of course I can't have 0 readings when the case structure changes.  This would be especially problematic when input into a controller VI. 
    The next problem I am having is with sampling rate.  If I were to use the low frequency measurement VI, the sampling rate of RPM would be variable based upon the the speed of the signal.  Or, the original frequency measurement VI has an adjustable sampling rate.  Of course, in my system there are a number of other signals that need to be recorded at the same time.  I have found that as I am collecting data, the "write to file frequency" is entirely dependent on the read frequency of the frequency measurement.  Therefore, if I had set the read frequency VI to read at 1 Hz, data will be recorded only every 2Hz.  Ideally I would like an overall measurement frequency of all channels (mix of analog and digital) to read between 20-50Hz, but if I am limited by the frequency measurement. 
    Any ideas on how to solve this problem, either through Fieldpoint or Labview?
    I can post my VI if this help.
    Thanks,
    Huang

    Thanks for your reply. 
    I should probably describe my current setup before I go into anymore details with the problem.  As for my specific setup, I am using an FP-1000 connected with an AIO600, AI110, CTR500, and TC120 all running through the RS232 line to a desktop running labview 8.  The actual counter module is reading a tachometer signal output from a separate engine controller.  THe output is a 0-12V ON 50% duty cycle signal.  As for data logging, i am simply using a "write to measurement file"  Express VI.  I have a while structure which holds all of the express VIs which access the fieldpoint IO, and these are all routed to the "write to" VI. 
    As for the specifics of the data logging problem, as I said, when I set the count frequency of the "Fieldpoint Frequency Measurement" VI to 1Hz, (which means the VI calls the case structure at 2Hz), the "write to measurment file" VI is called at the same rate (2Hz).  Which means that the overall logging rate of the VI is only 2Hz.  Is there someway to decouple this? 
    I was able to solve the problem of calling the frequency variable from the case structure by using a local variable which is called outside the case structure. 
    And now I have been having a lot of problems with reading the actual frequency from my engine controller.  THe actual signal will only range from 0 to around 200Hz.  I noticed, by comparing the actual signal to what was being read in my labview program, that after around 80Hz the signal increases by around 1.5times more than the actual signal.  ie.  Actual signal = 100hz, Read Signal = 150Hz.  After trying to figure out what was the problem, I decided to change the Noise Filter settings to 200Hz.  It actually worked for all the frequency ranges up to around 150Hz but after that the filter attenuates the signal to the point where the actual signal is 160Hz, but is being read at 100Hz.  My question is if there is a way to change the actual filter setting outside of the 2 given setpoints (200hz and 40khz) or if you have any other suggestions on how to fix this problem?  I was thinking of creating a noise filter input in MAX so that i could play with the values in Labview, but am i only limited to those two filters? 
    Thanks again for your help,
    Huang

  • Pulse width measurement with FieldPoint CTR-502

    I would like to measure the pulse width of a signal (ranging from 10 ms to
    400 ms out of a signal with period width of about 1 second). I would like to
    use a fieldpoint counter module FP-CTR-502. I could find examples on how to
    measure frequency but I did not know how to alter it in order to obtain the
    pulse width.
    Thanks,
    Martien

    To measure pulse width of a fixed-period signal, you only need to use one counter, so the configuration and program would be different than the frequency measurement example. Set the count source for counter 0 to "32kHz Reference" and the gate source (and wire your signal) to "Gate Input 0." You'll also need to create a control channel to reset counter 0 (as described in the frequency example).
    Your LabVIEW program should run as follows:
    - When Gate Input 0 becomes true, do nothing
    - When Gate Input 0 becomes false again, read then reset counter 0
    - repeat
    You can use FP Advise to wait for the gate to change (just like the frequency example).
    Once you have the number of counts, you can divide that by the frequency (32 kHz) to calculate the "on tim
    e" (pulse width) of your signal.
    Regards,
    Michael Shasteen
    Applications Engineering
    National Instruments
    www.ni.com/ask
    1-866-ASK-MY-NI

  • Memory leak with fieldpoint and labview

    I have an application which is showing an issue of a memory leak.  The application does several things, but the part that seems to be causing the trouble is related to use of Fieldpoint VIs.  The application reads individual AI channels on a Fieldpoint AI-110 (10 channels, where the set of channels is measured once per second)  I have attached the code related to this.  The memory leak is quite large (~1.5GB in 24 hours of operation).
    I am using LabView 7.1, and Fieldpoint 4.1.  The parent application which uses the attached code is a stand-alone application.  The operating system is Windows 2000.  Fieldpoint communication occurs over a RS-232 link.
    Thanks in advance,
    Andy
    Attachments:
    FPAI100_meas_voltage.vi ‏62 KB

    Hi Andy,
    I did not see anything fundamentally wrong with what you wrote, but there were
    a few things that I think could be used to be changed.  However, there
    were a few things that I did modify that might make a bit of a
    difference.  In your application you were using sequences and a bunch of
    local variables.  Since LabVIEW is based upon data flow, you can control
    the sequence of execution by making data dependencies and simply wiring one
    thing to the next.  By simply using LabVIEW the way it is meant to run I
    was able to completely remove the sequence structure and also eliminate the use
    of all of the local variables, all while having the exact same execution order. 
    It could be that the local variables were causing the memory leak that you
    noticed, but I really doubt they could be the cause of such a large leak. 
    I really think there is probably something else going on in the application
    because from what I saw from this bit of code there really is no way that it
    would have such large problems.  Users use the FP commands daily without
    any problems, so most likely these are not the root of the problem.
    Go ahead and try the modified code and see if you can implement similar local
    and global variable reducing techniques throughout your application. 
    Hopefully that will help reduce some of the memory leaks you are seeing. 
    Typically the largest cause of an apparent memory leak really occurs from
    building an array within a loop, so make sure you don't have any situations
    where that occurs in your code either.
    Regards,
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments
    Attachments:
    724727-FPAI100_meas_voltage.vi ‏56 KB

  • Lookout communication with FieldPoints

    I have taken over this location and I have very little to no documentation as to what does what on the Fieldpoint I/O's. I am up against the Software license limit of 100 I/O points. Currently my process is outdated and I have a need to add I/O's for additional functions. I tried to delete unused/un-needed Lookout control panel objects in order to reduce the I/O count but was not successful. Most objects could not be deleted "due to dependencies". In some cases, I was able to delete objects but the I/O count stayed at 100. The manual offered no help.
      New plan: start a new process.
    I copied the syntax for each of the Lookout control panel objects that I wanted to keep from the old process that I wanted to use in the new process. I did this for each control panel in my new process to get the functionality just the way I needed it.
    When done, having eliminated all of the no-longer needed I/O's, I had expected to see the I/O count around 50 which would allow for new required functionality. This all sounded good on paper.
      However, my new process will not communicate with any FieldPoint I/O's, (I/O count =0), unless I have the old process and the new process running simultaneously. Then the I/O count is 100 and my new process communicates just fine, but having the old process running defeats the purpose of creating the new process. That is to eliminate un-used I/O points to make room for new I/O functionality and stay under the 100 I/O limit. Although, I am able to save my new process, (which is less than 100 I/O), when it runs simultaneously with the old process, the 100 I/O limit is exceeded and Lookout defaults to Demo Mode, which is limited to 60 minutes of operation.
      Obviously somewhere in the old process is some kind of enable instruction for the Field points, that I don't have in the new process, but I do not have a clue as to where to look or what to look for. Again the manual did not offer any help.
      The FieldPoint units that we are using are: FP DI 301, 330, FP DO 401, and FP AI 110, along with the FP 1001 serial network modules 
      Desperate in Denver.
    Need answers fast!
    thanks

    KDVR,
    To get the best support for lookout check out these places:
    www.ni.com/ask
    and submit a new email support request with Lookout selected for the Software Platform.
    Lookout Discussion forums
    Regards,
    Peter Flores
    Applications Engineer

  • Can I use ENET-232 with Fieldpoint?

    I am using the Fieldpoint system with great results, but what I can do
    is limited by the fact that the FP-2015 has only one serial port. Can
    I use the ENET-232 with the Fieldpoint unit to increase the number of
    serial devices I have access to? Thanks.

    but to use the serial port on the Fieldpoint itself, can you use NI-VISA or
    do you have to use FP OPTOMUX calls?
    "Chris Rake" wrote in message
    news:[email protected]..
    > Sure! Each Enet-232 will give you 2-4 additional serial ports.
    > You'll need the latest version of LabVIEW RT and NI-VISA, and then you
    > can access the Enet-232's ports using VISA calls from within your
    > LabVIEW RT application.
    >
    > You'll still need a windows box to configure the Enet-232's network
    > settings, but once your network is set up properly you'll just need
    > the FP-2015.

  • Writing a Compressed AVI File in NI LabWindows/CVI with the IMAQ Vision Acquisition

    I'm still facing some problems when I try to save pictures from a GigE Vision camera into a compressed avi-file in a LabWindows/CVI application on Windows7.
    The task is to grab images from the camera with 30 fps to monitor a process, evaluate the grabbed pictures to find certain characteristics of the monitored process and save them in an avi-file to have the possibility to load and evaluate them once again Offline if necessary.
    My questions: which compression filters can I get with the NI-Imaq Vision Acquisition and Vision Development Runtime 2012 SP1? Is a mpeg4 codec available to compress quickly and effective? Can I use a third party codec or only the ones delivered with NI-Vision?
    I posted the problem two times already, but there is little response up to now. Thanks

    The encoding algorithm, or codec, that's used for compression needs to present on your system. When I had done some research on this sometime back, I found that if your custom codec could align with the DirectShow architecture, then your codec would work with IMAQ AVI functions.The codecs that are available may vary from system to system, depending on what software is currently installed. Be sure to check out this article:
    Writing a Compressed AVI File with the IMAQ Vision Acquisition Software
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • LabVIEW Simulation Interface Toolkit with Fieldpoint 2010

    Hi,
    I'm using SIT 3.0.1 with Labview 7.1 and FP-2010 hardware. How can I configure my model.dll parameters to Hardware I/O  of FP-2010 ? In SIT connection manager show only the I/O for NI-CAN, NI-DAQ and NI-FPGA.
    Please help me. Thank you very much.

    Hello,
    NI-FieldPoint is not an option in the SIT Connection Manager.  Therefore, it will not automatically generate code for the FieldPoint like it does for the other options. 
    You can, however, do this manually, and I suggest you take a look at this KnowledgeBase article. 
    I hope that this helps! 
    Kameralina
    Ask NI (ni.com/ask)
    Search The KnowledgeBase
    NI Developer Zone
    Measure It. Fix It. ni.com/greenengineering/
    NI Vision ni.com/vision/

  • Error communicat​ing Labview with Fieldpoint hardware

    Hi,
    I run Labview in conjunction with the Fieldpoint hardware. Upon reinstalling the labview program after a computer crash, I am no longer able to re-establish the communication with the Fieldpoint hardware. It seems to be a driver problem but I am not able to pin point exactly the problem. This is the error message when the software "SHIME" was run:
    Error 7 occurred at Open File+.vi: Open File.
    Possible reasons:
    LABVIW: file not found. Or
    NI-488: non-existent board.
    I greatly appreciate any suggestions for trouble shooting.
    Sincerely,
    Trisna

    Hi Aaron,
    thanks for the advice. In fact I was just trouble shooting the problem with an advisor/technician from National Instruments and he confirmed the same thing that there is no problem between the communication of the computer and Fieldpoint. It is more of the problem with the software itself. I am running a software called "SHIME" that stands for simulated human intestinal microbial ecosystem but I couldn't locate any open.vi or auto.vi file on the CD; you mentioned looking for something in the software.
    I am communicating with the people who sold us the SHIME system and I appreciate your advice.
    Sincerely,
    Trisna

  • How can I read two channels with fieldpoint and labview

    I'm trying to read two or more channels with the TC 120, and I follow the examples of sopport page, but doesn't work.
    What can I do?

    For more information about reading or writing to or from multiple channels in Fieldpoint, please refer to:
    How Do I Read or Write to Multiple Channels on a Fieldpoint Module in LabVIEW?
    This should enable you to read multiple channels. The only other option available is to use one fp open.vi, multiple Create Tag.vi's and multiple FP Tag Read.vi's.

  • Continuously do a task in parallel of the sequence with fieldpoint modules

    I would like to continuously read values on FP-AI-100 while my sequential program is running. When I put the VI out of the sequence, the value is only read once, at the end of the sequence. I'm using Fieldpoint devices and can send my program to anyone could help me.

    I can't test demobox.vi but I made 2 parallel while loops ; the first one execute then the second, but never both at the same time... I join my program if you want to look at ; (step five of the sequence)
    Attachments:
    perso.llb ‏622 KB
    sequence_fabrication_4.vi ‏166 KB

  • Why do I get Error 33487 when measuring TC signals with FieldPoint

    I am measuring temperature with a cFP-2000 and cFP-TC-120 using K-type thermocouples. I am intermittantly getting Error 33487 (Signal out of measurement range) from FP Read.vi the first time the unit tries to take a data sample after startup (it automatically starts colelcting data once it is done booting). The temperature should be nowhere near the signal limits (about -450F to 3200F) - when the data is collected without an error I am seeing 75 - 250F. What could it be?

    Hi,
    I have posted you an answer through the standard support channel, let me know if that answers it.
    Regards
    Andre Oliveira
    Applications Engineer
    National Instruments

  • How to compensate for mili-volta​ge output interactio​n with FieldPoint FP-AI-100 Module?

    I have the white and green outputs of four Omega PX180B (100mV = 200 psig full scale) full bridge pressure transducers hooked to a FieldPoint FP-AI-100 analog input module.  I have a separate regulated 10V DC supply providing power to each transducer.  At zero pressure, FieldPoint Explorer and LabView read only small offset milivolts as expected.  When one transducer is exposed to 100 psig and the others are at zero, the exposed transducer milivolt signal is reduced to about 80 psig; while the other three read from 5 to 10 psig.  I think they are interacting?  How can I prevent this?  Can I ground the COM terminal of the FP-AI-100 module?  If so, to the 10V DC supply or to the FP-1000 module?

    Sorry, this is a hardware issue and it has to be fixed in hardware.  A couple more ideas to try:
    Take the green wire from sensor and connect to Vin of one channel.  Connect white wire to Vin of another channel.  Connect COM of AI-100 to common of 10V supply.  Measure both channels in your vi and add the two voltages together before making the conversion to PSI.  Would take twice as many AI channels but it might work.  I would read the entire module and the same time.
    You could also build your own simple signal conditioner.  Just need a good instrumentation amp set for a gain of 1.  AMP02 works well for this.

Maybe you are looking for