Using Fieldpoint from Labview RT on a PXI System

I have a PXI system with Labview RT (PXI 8186 controller with LVRT ver 7.1).
I wanted to connect a FP remote I/O system to this controller. The Fieldpoint system I have has a FP-1000 RS-232 Network module.
I was hoping to be able to connect the FP-1000 to the serial port of the PXI-8186, and use the standard Fieldpoint VIs to write/read data (as you would from a Windows-based Labview app).
It doesn't seem to be that easy, trying to download any code with a Fieldpoint VI down to my RT target gives an error ("failed to load shared library FPLVMgr.dll on RT target device"). Looking through MAX I see that Fieldpoint drivers are not loaded on the RT target, and there is no option to load them there either.
So: Ho
w do I control my Fieldpoint units from my PXI System using Labview RT?
Any help would be much appreciated.
Thanks,
Ravid

Hi, Ravid.
Effectively, under LabVIEW RT, you cannot use the standard FieldPoint VIs to communicate to a FieldPoint module, since they are not supported. If you have a serial module, like the FP-1000 or FP-1001, you need to use Optomux commands to interface and communicate to it. You can find great examples on how to do the communication in the Example Finder of LabVIEW >> Hardware Input and Output >> FieldPoint >> Optomux >> and use any of the examples that use VISA to communicate to the modules. To run the examples, first target LabVIEW to your 8186 and open the example. Before running it, match the baud rate and address specified in your FP-1000 with the controls in the Front Panel. Also, verify that you have either an alias defined for COM1, or use AS
RL::INSTR1 for the VISA resource name. You will need to have VISA RT installed on your RT Target to be able to run this examples.
You can find the Optomux commands in LabVIEW under the Advanced FieldPoint palette. For more information on Optomux commands, you can take a look at the FP-1000/1001 Programmer Reference Manual
Let me know if you have further questions. I hope this helps!
Gustavo Valdes
Applications Engineer

Similar Messages

  • Problem of security using ADO from Labview to connect to Access 2000 Data Base

    I have a problem using ADO from Labview to connect to Access 2000 Data Base.
    First I open a ADO_DB_Engine and create a Workspace as an ODBCDirect. After I execute the open_data_base using the workspace. Here you can specify the parameter connect with /type of connection / user / password.
    The problem is the following:
    Although you configure a password for the Administrator user in Access, you can read/writte to data base from Labview using ADO without any security and without putting the user and password in the parameter connect. I need to access with security to data base using users and permissions but it seems that the parameter connect does not operate.
    I attach
    you a example of the vis and database. Remember create a ODBC connect with BD3.mdb
    Thanks a lot
    Peter Mst
    Attachments:
    SECURITY.zip ‏70 KB
    BD3.mdb ‏112 KB

    Hi Kahn,
    If you use ADODB_connection -> Connection.Open and set in connection string :
    "Provider=Microsoft.Jet.OLEDB.4.0; Jet OLEDBystem Database=c:\.....\Protegida5.mdw; Password=pepe;user ID=jose; Data Source:c:\......\BD5.mdb";
    and after connection.execute ->
    INSERT INTO tabla1 VALUES (5,'XXX'
    you will be able to access to the database with security using the provider=Microsoft.Jet.OLEDB.4.0. With this provider you have to use the path and the name of the database file c:\.....\mdb file. From this way the problem is solved. (SEE SAMPLE_ADO_W2_JET.VI).
    BD5.mdb have the following administrator user: user:jose / passwordepe (Protegida5.mdw)
    The problem is when you want to
    use ODBC and DSN. The name of this ODBC Provider is MSDASQL;. If you use this type of connection you can not enter to the database I attach you.
    This database has a new administrator owner. I deleted the default administrator. If you support the default administrator you can connect to database by ODBC / DSN but the security disappear because you can always enter to database with any password, user o PC.
    FINALLY I HAVE 3 QUESTIONS FOR Application Engineers of National Instruments or someone who knows these subjects before deciding the best way to connect locally o remotely with security to Access from Labview:
    1.- Is it possible to enter to Database BD5.mdb from ODBC and DSN with this owner?
    2.- I want to connect remotely to Access database too. Is it possible to use Microsoft.Jet.OLEDB.4.0 using the path (.mdb file) without DSN?
    3. Which is the optimal Provider for Microsoft Access?
    I thank you beforehand for your technical support.
    Peter Mst.
    Attachments:
    BD5.mdb ‏116 KB
    Protegida5.mdw ‏112 KB
    sample_ADO_W2_JET.vi ‏45 KB

  • I am using fieldpoint and labview to log and monitor the temperatur​es of my system. but i am not using Labview 6i with DSC, how can i do it??

    i am using fieldpoint 2.0 and labview 6i to monitor my system, but i think i don't have labview DSC.

    I have written a relatively large Fieldpoint application "just" using LV5.1 FDS, so it can be done.
    Fieldpoint can be seen as an external instrument, so you need to use the driver/vi's that comes with FP.
    I believe using DSC would only make the job easier for you.

  • How to freeze and unfreeze panes in window by using Excel from LabVIEW

    Hello
    I am creating an Excel Report file programmatically using LabVIEW. I make the row headers for the sheet and store data using the program.
    The requirement that i need is that when the user opens the Excel sheet, the row heading should remain fixed at top, as the sheet is scrolled down by the user.
    This is possible in Excel, by clicking on Window in the menu bar and then select Freeze panes/Unfreeze panes. The same operation i need, to be done from LabVIEW. Please let me know how this can be done.
    I use LabVIEW 2009
    Thank you.
    Solved!
    Go to Solution.

    Please see this discussion. TCPlomp has an example of how to achieve this.
    Cory K

  • Read Locals (using ParallelModel) from LabVIEW

    Hi
    I'm trying to read Locals from a ParallelModel execution using LabVIEW.
    I thought this might work:
    ThisContext.Thread.GetSequenceContext(1).Locals."NameOfLocal", but it did't work
    Any suggestions?
    regards
    Richard

    Hi,
    You need to used the Execution reference for the TestSocket.
    Get a reference to the Thread and use Thread.GetSequenceContext() to get a reference to the SequenceContext.
    Get a PropertyObject from the SequenceContext using SequenceContext.AsPropertyObject() then you can use the GetVal or SetVal methods.
    Hope this helps
    Regards
    Ray
    Regards
    Ray Farmer

  • Error from labview 6.1 with the system windows 7

    I use Labview 6.1 vi to control a Tektronic oscilloscope and a BNC universal pulse generator via GPIB-USP connection. The vi worked very well with the system windows XP. The system was changed to Windows 7. Then one error message (Trigger signal is not recognized. Check the connection between 'Trigger out' and 'Aux in') comes whenever I start to run vi. The connection between 'Trigger out' and 'Aux in' works under mannual mode, so it is really ok.
    Could the compatibility between Labview 6.1 and windows 7 be the reason? If yes, are there tricks to use Labview 6.1 on windows 7?  Thanks. 
    Solved!
    Go to Solution.

    I do not know coding with Labview actually.....
    I set the pulse generator to mannual mode and send pulsing signal to scope. The signal was received well and displayed by the scope. It means the connection between 'Trigger out' and 'Aux in' is ok.
    The record of NI I/O interface is attached when the error message comes.
    Thanks.
    Attachments:
    Capture.txt ‏85 KB

  • Missing functionality if storing TDSM from LabVIEW

    In DIAdem File Browser window is selected a file from DIAdem 11.0 Examples directory. File FFT_Expl_1 has icon with „tree pictogram“ and „tree pictogram“ can be expanded to see content of file (Time, Oscillation), bellow of File Browser is displayed many file properties. Anyway these properties are not displayed in DataPortal area?!? See picture 1.
    Pict. 1
    If I click on the file content in tree hiearchy channel Oscillation I can see properties for this channel and small graph with the signal preview. See picture 2.
    Pict. 2
    To make my own data I have used examples from LabVIEW 8.6. One of these is on the picture 3 TDMS - Express write data (time and frequency domain).vi.
    Pict. 3
    Every time I create TDMS data from LabVIEW 8.6 (it doesn’t matter which example I use) I see in DIAdem File Browser instead of tree icon the question mark icon?!? The question mark icon cannot be expanded by clicking on it?!? Also the amount of Shown properties is significantly lower in comparison with DIADem example files. Also no signal preview is displayed?!? How to proceed with LabVIEW and TDMS function to have possibilities of DIAdem example files?
    Screenshots are in attached DOC file. 
    Please help
    Bilik
    Solved!
    Go to Solution.
    Attachments:
    TDMS problems 2.doc ‏289 KB

    Hello bilik,
    Thank you for the great description of your problem, the Word document with the screen shots really helps with the troubleshooting.
    It looks to me as if you haven't indexed the directory where your TDMS files are stored. The "?" icon indicates that the file is not indexed. If a file is not indexed, only a subset of the properties are shown in the dialogs.
    The easiest way to solve this issue is to index the directory that contains you data files (your directory icons are grey, they should be yellow). This can be done by going to the directory (or subdirectory) in the DIAdem NAVIGATOR window, and right clocking on the directory name. From the context menu, select the function "Add Search Area ..." - your directory will then be transferred to the Search Areas part of the NAVIGATOR and all the TDMS files will be indexed. At the point the files will show all the properties and the "?" will disappear.
    Let me know if that helped,
         Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • How to use dll in Labview ?

    I compile this code to dll file with VC++2010 filename is test_dll.dll .
    #include "stdafx.h"
    #include <iostream>
    #include <Windows.h>
    using namespace std;
    int main(int a){
        cout << "Test dll...............\n";
        return a;
    After that, I put Call Library Function node in editor and double click Call Library Function node. I browse test_dll.dll into Library name or path and set function prototype to int32_t main(int32_t a); but it show error Call Library Function Node 'test_dll.dll:main':function not found in libraly. How to use dll in Labview ?  And I have more question is what is differrent from Tools -> Import -> Shared Library(.dll) and use Call Library Function node.
    Solved!
    Go to Solution.

    The issue you are having is that LabVIEW is not capable of using C++ DLLs directly. It only handles C DLLs. This does not mean that if you you cannot use the DLL if it's compiled with the C++ compiler as opposed to the C compiler. Rather, it means that you must take extra steps in order to use it from LabVIEW. The primary issue is that of name mangling or adornment. This is discussed here: http://zone.ni.com/devzone/cda/tut/p/id/4877. Basically you need to prepend extern "C" in front of your prototypes in your header files. I would also suggest reviewing this article: https://decibel.ni.com/content/docs/DOC-14564.

  • How to Pass Container in a queue from LabVIEW to TestStand?

    I was succussful to pass simple type(string, number) using queue from LabVIEW to TestStand base on the example: Use TestStand Queue.seq.
    I want to pass a container variable from LabVIEW to TestStand. But there are some errors happen.
    Anyone who can help on this issue?
    Thanks in advance.
    Attachments:
    Sequnce and VI.zip ‏28 KB
    VI Error.jpg ‏61 KB
    Run_time Error -17001.jpg ‏41 KB

    You ought to have a listener somewhere that calls a function
    to then set up the loaded swf. In that function you can do this
    kind of thing:
    var ldrmc:MovieClip;
    function swfloaded (e:Event) {
    ldrmc = null;
    if (e.target.content is MovieClip) {
    ldrmc = e.target.content as MovieClip;
    If the swf was published for AS3, then ldrmc will end up
    being a pointer to the root of the swf, and you can call functions
    or set variables however you like. If it was an AS2 swf, ldrmc
    would be null.
    Inside the loaded swf you could try trace statements, to make
    sure you're looking up the hierarchy far enough. Like this:
    trace(MovieClip(parent.parent));
    If that doesn't trace MainTimeLine, then maybe you're not
    looking up far enough. Don't forget that the swf itself is in a
    loader, and so may be one level down from where you thought it was.

  • How to implement a dual booting PXI system using windows 7 and labview RT

    Good Day
    My name is Mariano Ocana from the University of Manitoba, and I want to implement a dual system using windows 7 and labview RT in a PXIe-1082 chassis with a PXIe-8102 embedded controlled (the chassis came with windows 7 installed). What are the steps to use both systems (windows and RT)  in the same chassis?, in the NI help comes an example implementing a dual system using windows xp and RT, it is the same procedure?.
    Thank you in advance for all your help.
    Regards
    M. Ocana

    Greetings, Mariano.
    The real issue you have to contend with is whether or not you have a LabVIEW RT license.  If the 8102 controller was purchased Windows-Only, you likely do not have a license to run LabVIEW RT on the controller - you can purchase one, I think it's about $500, and at that point you can request a LabVIEW RT Configuration CD (that's not what it's called, but the sales guy will know what I'm talking about).  The Config CD is a CD that will partition your controller correctly with both FAT32 and NTFS filesystems (in the appropriate way) to allow you to run Windows 7 and LabVIEW Real-Time on the controller correctly.  Once done, you can then switch within the BIOS between LabVIEW Real-Time and Windows in order to dual-boot.  
    Either way, you likely need to contact NI sales to either purchase an RT license (if one was not received at the time of purchase) or to request a Configuration CD (it might also be called a dual-boot install CD or similar).
    -Danny

  • How to create a table in MS Access from Labview using ActiveX?

    I want to transfer datas from Labview to Access using activeX method. My only problem is to find out how to create a new table (array) in Access from the Labview program.
    Remarks: I use Labview 6i and MS Access 2000.
    For the moment I can write and read datas of Access from Labview.
    If someone could help me... that would be grate!

    This is off the Microsoft MSDN site "creating an external table". I think you can drop the last step.:
    Open the database you want to create the table in. If it is the current database, use the CurrentDb function to return an object variable that represents the current database. If it isn�t the current database, use the OpenDatabase method to open the database you want.
    Use the CurrentDb function to create a Database object that points to the current database.
    Use the CreateTableDef method of the Database object to create a table definition for the Microsoft Access table.
    Use the CreateField method of the TableDef object to create one or more fields in the Microsoft Access table.
    Use the Append method of the Fields collection to add the new field or fields t
    o the Microsoft Access table.
    Use the Append method of the TableDefs collection to create the Microsoft Access table.
    Use the TransferDatabase method to create the external table in the specified folder.
    Use the Delete method of the TableDefs collection to delete the Microsoft Access table definition.

  • I got a java excutable file and document from the instrument supplier I want to use it in labview , I want to Know how to do it , step by step

    I got a java excutable file and document from the instrument supplier I want to use it in labview , I want to Know how to do it , step by step
    Attachments:
    this is a java file changr the jpg to jar .jpg ‏101 KB

    I'd recommend searching the forums to find your answer.  http://forums.ni.com/ni/search?submitted=true&q=java+labview

  • How do i pass a daqmx task from labview to matlab using the math interface toolkit?

    I want to use DAQMX functions from Matlab using the Math Interface Toolkit (MIT). How can I have a labview function output (return) the DAQMX task to matlab via the MIT?
    I want to do this so I can start a DAQMX task in Labview from a matlab function and return control to matlab without losing the task.

    Hi Mark,
    (I already posted this answer in your other thread, but let's keep THIS thread alive - it makes more sense here in the LabVIEW forum than in Instrument Control forum.)
    Since the DAQmx Task is not a native data type that can be passed directly to MATLAB from LAbVIEW, try flattening the DAQmx Task to a string before passing to MATLAB. However, I doubt that you can access the task from within MATLAB, but feel free to give it a try.
    Good luck!
    - Philip Courtois, Thinkbot Solutions

  • Error -2146960888 when opening excel from labview using active x

    attempting to open an instance of excel from labview using active x, I even tried using the "open excel and make visible.vi" found on this site. I get errors every time, Inserting a break right after the property node, I found that it does open excel with no active workbook. once the program runs to ompletion excel terminates. The error is on the line right after the property node executes.

    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F15456A4E034080020E74861&p_node=DZ53003&p_submitted=N&p_rank=&p_answer=&p_source=External
    Attachments:
    XL97table.zip ‏29 KB

  • I am using Activex controls from Labview to log the data into Excel spreadshee​t. My applica

    tion is running fine without giving any error messages. But even after the vi stops, excel process does not shutdown. "Excel.exe" process keeps running until I end it from Windows NT Task Manager. Is there any way to end the excel.exe process from Labview?

    tion is running fine without giving any error messages. But even after the vi stops, excel process does not shutdown. "Excel.exe" process keeps running until I end it from Windows NT Task Manager. Is there any way to end the excel.exe process from Labview?I use Excel Active X control frequently to save and then analysis test data. In order to properly destroy the "Excel.exe" process it is important to close all the automation refnums opened when using the Excel active x controls. After completing your desired Excel task wire all the refnums in reverse order they were created into the Automation Close function in Functions->Communication->Active X pallette. This includes all Application, Workbook, Worksheet, or Range refnum. Missing even one of these refnums will mean that Excel.exe will still persist in the task manager and cause problems when excel is opened from outside LabVIEW. I hope this helps.
    Stephan

Maybe you are looking for

  • FI-MM & FI-SD integration

    Hi guyes, Pl send me documents on FI-MM, FI-SD & MM-SD integraion Pl fwd it to '[email protected]' Thanks in advance

  • Help with monitor calibration - simulating NTSC on computer monitor

    I know the proper way to monitor video is using an external NTSC production monitor. Since I don't have one I'm wondering how I can get the closest to simulating an NTSC monitor on my Apple Cinema Display. I have made a monitor calibration using gamm

  • af:poll not working in adf table

    Hi All, Does anyone have tried create timer using <af:poll inside a table?, i have a problem like this: <trh:script> var count=0; var timer; var sec; var min; function startCount(event){ inputField = event.getSource().findComponent("totalTime"); inpu

  • Table  CI_INFOOBJECTS

    Hello all, Could some one please let us know how can we get the data dictionary of the table CI_INFOOBJECTS. We are trying to find number of reports currently available in the PROD BO server . Using a SELECT in the query builder takes a long time wit

  • ICal - I have all the events from the past decade listed for this week

    My iCal calendar has every event from the last ten years listed in every day - each event is tagged 'repeat Every day' and 'end Never'. I have a non-corrupted version on my iPhone. I have tried restoring from Time machine and this works but then reve