VB6 and compact fieldpoint

I have a request to add 4-20 mA and relay outputs to an existing VB6 application using compact fieldpoint.  Is VB6 still supported by the compact fieldpoint drivers/software, and if so, what is the recommended interfacing approach?
Thanks,
-Scott Hein
Diablo Analytical, Inc.

Scott,
There does not appear to be nay reason why you cannot use VB6 with compact FieldPoint. The implementation of your application should be the same for FP and cFP.  Here are some articles that reference this:
Can I Use Visual Basic with FieldPoint?
FieldPoint Optomux Programming Reference Help
Best,
National Instruments
Applications Engineer

Similar Messages

  • PoE switch and Compact Fieldpoint

    Hello all... Is it possible to connect my Compact Field Point Controller to a PoE switch (Power over Ethernet Switch)??? This is because some other devices on the same subnet require PoE (IP cameras) and I wanted to know if this can cause some sort of problem with my Cfp... Should I connect the Compact Fieldpoint to a regular switch and connect that switch to the PoE switch??
    Let me know any suggestions...
    Thanks a million in advance,

    Hi Jaime!
    Currently there are only certain products that support the PoE standard, unfortunately the cFP family is not one of them. The best you can do is connect your cFP to a switch and then to the PoE switch like you said and check if that works. Here is the document where the PoE and NI products are described:
    http://zone.ni.com/devzone/cda/tut/p/id/9847
    Hope this helps!
    Have a great day!!!

  • Measurment Studio 8.6 Network Variable and Compact FieldPoint

    Hello,
    Looking for Vb.Net 2005 and Measurment Stydio 8.x Example illustrating how to browse multiple cFP items based on Network Variables.
    Thanks

    Hi,
    I don't think that you will be able to get the pop browser with network variables in Measurement Studio either.  The only example I could find was the project in C:\Documents and Settings\All Users\Documents\National Instruments\MStudioVS2008\DotNET\Examples\NetworkVariable\Basic\vb.  In this you would have to hard code the shared variable that you want to use.  Also, I found this article that might be interesting to you Migrating to Measurement Studio Network Variable from DataSocke.  
    I do have some good news on the cRIO front though, it supports both DataSockets and OPC.
    Justin Parker
    National Instruments
    Product Support Engineer

  • Gains Available with Compact FieldPoint

    What gains are available with Compact FieldPoint
    I/O modules?

    This question does not really apply to FieldPoint/Compact FieldPoint. Different FieldPoint modules have different input ranges. By changing the range of a channel, the gain may be adjusted automatically. A user has no direct control over the gain. FieldPoint and Compact FieldPoint IO Modules have input ranges from +/- 25 mV to +/- 120 Volts depending upon the module. What sort of signal ranges are you looking for?
    Regards,
    Aaron

  • Are there any relay modules available for Compact Fieldpoint, and if not, what are the alternatives?

    I'm speccing out a Fieldpoint system, and although Compact Fieldpoint has many features that make it superior to Fieldpoint for my application, I'm wondering why no relay modules seem to be available for it.
    The cFP-RLY-420 is referenced in the manual it shares with the FP-RLY-420, and a search in the product section comes up with several pages that aren't viewable, but it doesn't seem to be currently available.
    More importantly, if there are no relay modules available at this time, what would be the alternatives for switching? A small Opto22 backplane wired to a DO module perhaps?

    Mako,
    Several of the more specialized modules in FieldPoint have not yet been released in Compact FieldPoint. However, National Instruments is presently working on releasing most of these traditional FieldPoint module in the future.
    Depending on your application, either the cFP-DO-401 or cFP-DO-410 (which are both providing sourcing outputs) may be a possible alternative. The DO-401 module can sustain up to 2 A per channel, 8 A squared per module whereas the DO-410 can sustain up to 1 A per channel. Please note that these modules only handle low voltage DC.
    Regards,
    Cyril Bouton
    Applications Engineer
    National Instruments
    Cyril Bouton
    Active LabVIEW Developper

  • Selecting and running vi's on a compact FieldPoint 2120 via remote panel

    Hi,
      I'm trying to provide two html files to run two different vi's on a compact fieldpoint. I can run either of them by setting them as 'run as startup' in the Build Specification which creates the startup.rtexe program on the controller but the only way I can run two different vi's on the fieldpoint is by renaming the files in the startup directory before calling the html file (and that doesn't work that well). Is there a better process to allow different programs to be run on the compact fieldpoint via the remote panel/html calls?
    thanks

    Hey AgB2,
    I think the best way to get multiple HTMLs linked to their respective VIs would be to set your VIs as the Startup VIs when you build the EXE to deploy to your Compact Fieldpoint. A KnowledgeBase article describing the steps to do this can be found here:
    http://digital.ni.com/public.nsf/allkb/466EA9705F9​8E07786257687005E081B?OpenDocument
    Next, all you'll need to do to get your two HTML files to run two different VIs will be these steps:
    1.Build the HTML for each VI you want to control
    2. Enable the WebServer for your cFP
    3. FTP your HTML files to the www folder on your cFP
    Once you restart the cFP, your EXE will run at startup with both VIs and you can access them by navigating to http://<ip address>/<vi name>.html. Just to double check, I did this on my computer and had no problem loading both HTMLs or taking control of both VIs at the same time.
    Logan H
    National Instruments
    Applications Engineer

  • Compact FieldPoint and Shared Variables

    Hi Real-Time community,
    let me first to describe my problem: I have a project running perfectly on Windows XP machine. The Real-Time Target (compact FieldPoint) is acquiring a data from different sensors and sends them via Shared Variables to the host machine (WinXP). Now this host application has to migrate to Windows 7 machine, which second Ethernet port is also connected to the compact FieldPoint's network. I have created an installer, it run on Win 7 computer but I I see no data there. Shared Variables are standart network-published. What else I need to configure to get Shared Variables visible over there? Thank you in advance for any helpful hint.
    Armen

    Hi,
    we do have the full edition of Signal Express, this is not the problem. We are already logging the information comming from our cFP-1808 : TC-120 and AI-111 module. The problem is that the AI-111 module is a 4 to 20mA module, and we have thermocouple connect to it. We want to read temperature in Signal Express instead of mA.
    There's a option in MAX where you can add scaling to a cFP module. This scaling work in MAX, in the OPC server of the cFP, but not in Signal Express. In Signal Express, you still read the mA value.
    I know we can add a formula in Signal Express, but we don't want to do that, when there is an other option in MAX.
    Thanks

  • How to install "Compact FieldPoint Embedded Data Logger Example Program" on cfp2200

    i finally managed to get max to see the devices of my cfp2200.
    (i had to disable every unused networkadapter due to overlapping subnets)
    now i want to deploy the example programm "Compact FieldPoint Embedded Data Logger Example Program"
    http://zone.ni.com/devzone/cda/epd/p/id/3221
    i therefor have tried to install the runtime 8.5 on the target. however this is not possble, because i have labview 2010 installed and it gives the message:
    "the host has a newer version available"
    ok. runtime 2010 should work to - not?
    i open a new project - import my *.iak-file and drag-n-drop the content of "cfp_data_logger_source.zip" onto the target.
    now if i open the file cFPEmbeddedDataLogger.vi the run-button is cracked and by pressing it an errorlist opens.
    the errors say stuff like:
    target does not support this function/subvi
    and
    vi has been modified with a different applicationinstance
    please help me to make this work.
    i know that it is possible to get the programm to run on the cfp2200 even dough it is primaly designed for the   cFP-2000, cFP-2010, cFP-2020, cFP-2100, cFP-2110,
    cFP-2120.
    big THANX already for you help !!!!!

    Hi, thanks for your help=) I've manage to drag the file into my targeted controller. I am now doing the setting of the data logger program, but there's one thing I'm unsure of. May I know what does it mean by the cFP controller clock? http://zone.ni.com/devzone/cda/tut/p/id/3219 . Thanks. =)
    Log On Startup
     Start logging when the controller powers up.
    Start Log Time
     The time to start logging.
    Stop Log Time
    The time to stop logging.
    Note: Make sure the clock is set correctly on the controller. The settings described above refer to the cFP controller clock.
    Log Rate
    The number of milliseconds to wait between each acquisition.
    FP Drive For Data Files
    The drive to store the log files in. The C: drive is the default for all cFP controllers. If you want to save to the removable CompactFlash drive on the cFP controller, select the D: drive.
    Digital "Pause" Line
    The Digital Input item to use as a "pause" button for data logging. Logging pauses when the signal is high. When the signal goes low again, a new file is created and logging continues if appropriate.
    Note: Use only Digital Input items for the Digital "Pause" Line.
    Tip: You can use DIP Switch 3 to block the current data from being logged. This switch works the same way as the Digital "Pause" line.
    Logging Session Tag
    Is stamped on the spreadsheet that the data logger creates.

  • DSC for compact fieldpoint​(cFP)

    which IO server type should be used for building DSC application for compact fieldpoint target?
    when i use my computer as target then i get various options for IO server type like custom VI,opc client,epics,data set marker,modbus.But when i choose compact fieldpoint as target i got only epics and modbus options.Is there any problem with my HW/SW or with my concept?
    kindly clearify.....
    regards
    vks

    Hi,
    if you just wanna use Labview for logging and graphics (using Ethernet) AND you do NOT use a Real-Time cFP-Controller then you do not need Labview Real Time.
    E.g. if you use NI cFP-1804 - Ethernet/Serial Interface for Compact FieldPoint.
    (http://sine.ni.com/nips/cds/view/p/lang/en/nid/202527) 
    If you are using a Real Time Controller than you will NEED Labview Real-Time. 
    You cannot work without it!!!
    Best regards
    Dippi 

  • Has anyone implemente​d a QUADRATURE IN / QUADRATURE OUT applicatio​n using the Compact FieldPoint​?

    Has anyone implemented a QUADRATURE IN / QUADRATURE OUT application using the Compact FieldPoint? The units being used are the cFP-QUAD-510 [input] and the cFP-CTR-500 [output]. What I would like to do is use the QUAD-510 to capture a quadrature signal from a sensor, which in turn would generate a count per quadrature detection. Within LabVIEW, adjust the count received. Then, output a quadrature signal, based on the adjusted count, using The CTR-500.

    Hello Andre,
    Thanks for your response. That example does provide the output desired, and it is currently being use in my application, along with the 32-bit counter example available via NI for the QUAD-510, which also works. My query was mainly geared to find out if an application with the characteristics described in my original question has already been implemented, this, to avoid "re-inventing the wheel." Additional input on this thread is welcome and appreciated. Thanks.
    Regards,
    Dag Gollopp

  • Launch DS in compact fieldpoint

    Hi,
    I have two simple VIs that uses datasocket, Write DS.vi and Read DS.vi.
    I'm using the function  Launch DS Server if Local URL.
    In my computer works ok, but when I execute my VI in a compact FIeldPoint (cFP-2020), DS server don't works. It appears the messsage "Launching the DataSocket Server is currently not supported on non-windows platforms. Please try connecting to a DataSocket Server running on windows." (application TargetOS is FALSE).
    Are there any solution?
    Thank you.
    Vicen
    WinXP / LV 7.1
    Attachments:
    Launch DS Server if Local URL.vi ‏66 KB
    Write DS.vi ‏70 KB
    Read DS.vi ‏67 KB

    Look for "Publish.vi" in the FP palettes.
    That VI and its associates will deploy a DS Server and allow you to read and write from same on a FP unit.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Why should I prefer NI Compact FieldPoint to Siemens S7-400 PLCs?

    NI guys please answer:
    Why should I prefer NI Compact FieldPoint controllers to Siemens S7-400 PLCs to build an automation and monitoring systems for a factory?
    I am asking this because one of our clients insists to use Siemens S7-400 family of PLCs to build an automation systems and we want to convince them to use NI cFP, but we need help from NI advisors to bring more satisfying reasons to our clients in order to change their mind.
    The case includes 51 AI, 15 AO, 108 DI and 51 DO.
    The whole process of this chemical factory must be automated and also monitored in a control room in two touch screen monitors and a big 52" LCD panel.
    Any help will be appreciated from NI advisors!

    For what it's worth, I'd like to make a comment.  It's difficult to compare the various PLC vendors with the NI line of products such as cFP because everyone has their various perceptions.  In short for me, the NI products are far easier to program than typical PLC's because of the much greater flexibilty and the rich features found in the LabVIEW programming environment.  I've programmed several PLC projects over the years that include GE Fanuc, Allen-Bradely, Omron and Siemens (Including the S7-400 series)  I'll take the LabVIEW environment any day over miserable ladder logic and the other versions such as instruction lists.  The customer gets a better product when it is easier to program and test.  I often provide features for the customer using LabVIEW and cFP that I would never think of doing using ladder logic.  The bottom line is that it's too easy to compare hardware without consideration of the software or benefits of features available.
    And then there are the customer's perceptions.  Just the other day I met with a potential customer who hates Siemens with a passion because he had experienced a lot hardware failures.  Conversely I have other customers who will not accept NI products only because they are not familiar with them.  For example, their technical personnel are familiar with Allen-Bradley and so that's what they want to stay with.  I have a very large international customer who has a corporate mandate to use Seimens.  It goes on...
    I consider my time to be somewhat valuable, which means that I have different pricing structures that are based on what the customer wants.  When a customer requires a non-NI product, I literally double the charge for programming time.  Some jobs I win and some I lose.  However, I'm very busy in the mean time and will continue the preference of vi's over PLC programming.

  • Timed switching of channels on Compact Fieldpoint DO401

    I am running a compact fieldpoint system with 4 x DO-401 modules in it. The idea behind my program is to create a control program that will switch the outputs of the DO-401 at predetermined times. These times being set/stored and then loaded when a certain sequence is required by the user.
    I have achieved this in what seems a crude and basic way which seems to be slow to run.
    In total i have 60 output channels to control, each one has a 'start time' and a 'duration' field allowing the user to state when the channel is to be switched and for how long.
    My current solution is to have my program running in a flat sequence. Within this flat sequence I have 60 x smaller flat sequences.
    The flow of these sequences are - Wait for the start time to be reached - Send a high value to the specific channel address (using CFP assistant), this switches the output of the channel on - Wait for the 'duration' time to be reached - Send a low value to the specific channel address, switching the output off.
    This approach works but seems untidy and i am sure there is a better approach out there.
    Can anyone suggest any ideas

    Hello,
    Take a look at the attached VI. This is an quick way to achieve what you are after. The code is documented so you can follow whats going on. On the Front Panel the user inputs a start time, which FieldPoint line it should be targeting and a duration in seconds.
    To comment on the previous post this would be a more efficient and ultimately more accurate way of doing this, although the development time would be increased.
    In LabVIEW there are VIs to pull out channel lists and devices from an IAK file so you could programatically decide which channels you could output to without any human interaction (after you set up a configuration file within LabVIEW.) These can be found in the Advanced palette in the FieldPoint sub-pallete.
    Good Luck
    Tom | NIUK
    Attachments:
    solution.vi ‏29 KB

  • Error 6 occurred during build of compact FieldPoint executable

    I am building my executable for the compact FieldPoint and I received the following build error:
    [ERROR]
    Code:6
    An error occurred while saving the following file:
    C:\Program Files\National Instruments\LabVIEW 2009\vi.lib\Utility\SMTP\smtpeml.llb\SMTP Email Get Case Insensitive Search Pattern.vi
    Invoke Node in AB_Source_VI.lvclass:Close_Reference.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_RTEXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_RTEXE.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_Frmwk_Build.lvclass:Build.vi->AB_UI_FRAMEWORK.vi->AB_Item_OnDoProperties.vi->AB_Item_OnDoProperties.vi.ProxyCaller
    <APPEND>
    Method Name: <b>Save:Target Instrument</b>
    <Call Chain>Error 6 occurred at AB_Source_VI.lvclass:Close_Reference.vi -> AB_Build.lvclass:Copy_Files.vi -> AB_Application.lvclass:Copy_Files.vi -> AB_RTEXE.lvclass:Copy_Files.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_RTEXE.lvclass:Build.vi -> AB_Build.lvclass:Build_from_Wizard.vi -> AB_UI_Frmwk_Build.lvclass:Build.vi -> AB_UI_FRAMEWORK.vi -> AB_Item_OnDoProperties.vi -> AB_Item_OnDoProperties.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  Generic file I/O error.
    =========================
    NI-488:  I/O operation aborted.
    Any ideas what caused this or how to fix it?

    Hi Carol
    I encountered an error similar to this when i was working with CD and SIM, I solved the problem by building the executable from the C: drive concluding that the file reference was too long.
    http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx
    Be sure to also disconnect all type definitions in Application Builder.
    Message Edited by Eric_R on 10-12-2009 03:22 PM
    Thank You
    Eric Reid
    National Instruments
    Motion R&D

  • Need help getting networked shared variables on compact fieldpoint to work

    I'm still a newbie and am trying to get Networked Shared Variables to pass from a VI running on a PC to a VI running on a Compact Fieldpoint. I created a VI that sends a message via a Networked Shared Variable and a VI that receives it. I have them both in the same project. If I run them both on the PC, it works, I can send a message string from the first VI to the Networked Shared Variable and read it in the second VI. I have the second VI turn the LED "A" on and the LED "B" off if I send the string "a", and turn the LED "B" on and the LED "A" off if I send the string "b", and turn them both off if I send anything else. It works as expected if both the VIs are running on the PC. The second VI also continuously blinks the LED "C" so I can verify that it's running.
    I "deployed" the second VI to the Compact Fieldpoint as follows:
    In Project I dragged the VI from My Computer (under Project: name.lvproj) down and put it under the Compact Fieldpoint name.
    I right clicked on Compact Fieldpoint name and verified it was set to "Connect".
    I right clicked on the second VI and selected "Deploy".
    I started both VIs with the "Run" arrow. At this point I know second VI is running since the LED "C" keeps blinking. But, when I try to send an "a" or "b" nothing happens, so the VI on the Compact Fieldpoint must not be receiving the messages in the Networked Shared Variable.
    I also right clicked on Compact Fieldpoint name and selected
    "Disconnect". The second VI continued to run since the LED "C" keeps
    blinking, but I still can't get messages to pass.
    Any help will be greatly appreciated.

    I got this to work. I moved the library (.lvlib) containing the Networked Shared Variable to down under the Compact Fieldpoint name. Now it works.

Maybe you are looking for

  • Error writing data in a flat file using UTL_FILE feature

    Hi All, I have written a package which fetches data from four different cursors and inserts into a temporary table. Now this temporary table is used to write data in a file using the UTL_FILE feature. fhandler := UTL_FILE.fopen (l_path,'Demand_Transa

  • Jdeveloper 11.1.2.0.0 Aduit rules problem.

    Hi All, I am using JDeveloper 11.1.2.0.0. I have created some custom audit rules and its working fine .But i cant override the warning or error messages. I have follwoed by the following steps. Tools -->Preferences -->Audit -->Profile -->Rule -- > Ja

  • File size comparisons, InDesign CS3, CS4 and CS5?

    Hi, all. It seems there was a trend for several major releases where each time Adobe released a new version of InDesign and InCopy, average file sizes grew by 20% or so from the old release to the new release, at least back in the older CS days. Has

  • Not able to access HTMLDB from another server running HTTP_SERVER

    Hi I had htmldb installed and running from dataabse server but then I moved APACHE server to another server. Here Apache is running from OEM 10g grid control I set up dad.conf and marvel.conf files for connection to htmldb server. Also I created marv

  • PL/SQL: numeric or value error (character string buffer too small)

    Hi All, Below is the procedure used to send notifications. It was working fine in previous DB version :- 10.1.0.5.0 and there was recent upgrade to 11.2.0.2.0. I complies fine, but when executing it throws the error. PROCEDURE PROC_STATUS_MAIL_UNADJ