Connect CFP-2000 with Measurement Studio

Hi, I haven't understood how to connect a CFT-2000 module with Measurement Studio and VC++.
Can any one help me to find documentation and sample related this task?
I'm  interested into this topics:
- is it possible to manage a CFT-2000 ethernet device with MAX? In ordere to use that device can i use DAQmx?
- which  kind of data I will recive over ethernet raw, scaled..
- is it possible to select one particular board of AI?
- is it possible to execute multiple applictions (LabView and  Measeurement Studio) connected with the same CFTP-2000 controller into one PC?
Thanks

Dear Bobby60,
First of all I suggest you this FAQ.
You can connect and configure cFP 2000 from MAX through NI-Field Point and Labview Real Time.
You have to use Labview Real Time to program an application on the cFP 2000.
Comms to Labview and Measurement Studio can be realized through OPC Shared Variable and TCP/IP. In the last option you will have to program your own server in labview RT and deal with multiple client stuff.
Best Regards
FiloP
It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
Richard P. Feynman

Similar Messages

  • How to connect CFP-2000 with Measuremen​t Studio

    Hi, I have already posted this question into Measurement Studio for VC++  group but probably the right one is this.
    I haven't understood how to connect a CFT-2000 module with Measurement Studio and VC++.
    Can any one help me to find documentation and sample related this task?
    I'm  interested into this topics:
    - is it possible to manage a CFT-2000 ethernet device with MAX? In ordere to use that device can i use DAQmx?
    - which  kind of data I will receive over ethernet raw, scaled..
    - is it possible to select one particular board of AI?
    - is it possible to execute multiple application (LabView and  measurement Studio) connected with the same CFTP-2000 controller into one PC?
    Any help is appreciate
    Thanks
    Roberto

    Ravens Fan wrote:
    It's also possible that you messed up the experiment!
    That's True.
    But a good experiment shuold always be falsifiable.
    FiloP
    It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
    Richard P. Feynman

  • Compatibility of NI IMAQ with measurement studio

    I would like to know where the NI IMAQ driver software is compatible with measurement studio.

    Hello,
    NI-IMAQ driver and its API is fully compatible with Measurement Studio. If you have already installed NI-IMAQ with Measurement Studio support, see the following directory (default path) for shipping examples
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\IMAQ
    Let me know if you have further questions on this.
    Regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • I am using IMAQ vision for Measurement Studio, Ver6.0 with Measurement Studio Base Package,Ver6.0(Professional Edition).Can I work in IMAQ Vision for Measurement studio, Ver6.0 If I upgrade Measurement studio to Enterprise Edition,ver8.0.1

    I am using IMAQ vision for Measurement Studio, Ver6.0 with Measurement Studio Base Package,Ver6.0(Professional Edition).Can I work in IMAQ Vision for Measurement studio, Ver6.0 If I upgrade Measurement studio to Enterprise Edition,ver8.0.1
    Thanks
    Biswajit

    Howdy Biswajit,
    The IMAQ and Vision ActiveX controls you are using with Visual Basic 6 do not install with Measurement Studio. They are installed when you install the IMAQ software and include support for Visual Studio 6. Upgrading to Measurement Studio 8.0.1 will have no effect on your IMAQ controls since they are not related to one another. Purchasing Measurement Studio Professional or Enterprise packages allows you Visual Studio 6 support for other ActiveX components. Refer to this link for a list of ActiveX components included in those packages. 
    If you are asking about using the ActiveX controls in .NET, then take a look at this KnowledgeBase entitled Do NI-IMAQ and NI Vision Support Microsoft Visual Studio .NET?
    Hope this clarifies things!
    Best Regards,
    Jonathan N.
    National Instruments

  • SharePoint Connection not available with Visual Studio 2013

    I've installed Visual Studio 2013 in my SharePoint 2010 environment. When I try to add the existing SharePoint Connections I've used in Visual Studio 2010 there is always the same error: Remote SharePoint site connections are not supported. The SharePoint
    site is located at the same server, I'm able to access the Central Administration with Visual Studio 2013, but I can't access my development SharePoint Web Application.
    I'm sure I do have access to the configuration database, in Visual Studio 2010 I'm able to delete and add SharePoint Connections without any problems. The URL of the development SharePoint connection (like sp1.sharepoint.contoso.com) is not named like
    the URL of the Central Administration (like servername:5000). The port of my development SharePoint is 80, but I can't access with servername:80 too. My account is in the group of the local administrators, Visual Studio is started as Administrator
    and my account is a SharePoint farm administrator and additionally a site collection administrator of all site collections in my SharePoint web application.
    Any idea what's wrong with this SharePoint connections?
    Thanks in advance. Georg

    Can you try the following workaround and see if it helps? First try adding host entry for your server name and if that works change it to sp1.sharepoint.contoso.com.
    SharePoint
    2013 Visual Studio Project Error – “Cannot connect to the targeted site”
    I understand your situation is different than the one mentioned in the blog but given you seem to have all the permission so may be you try and see if the error is because of above issue. Actually if above does not work (assuming your are on your development
    environment), try adding your account to DB Owner on your site collection database as mentioned here.
    http://www.sharemuch.com/2010/03/19/resolving-vs-2010-solution-deployment-issues-for-sharepoint-2010-projects/
    Amit

  • Program DAQCard-AI-16XE-50 with Measurement studio

    Does DAQCard-AI-16XE-50 can works with a application created by Measurement studio? I have developed a data acquisition software base on PCI-MIO-16E-4, but I want swith the card to DAQCard-AI-16XE-50, it likes doesn't work, I don't known why?

    Thanks lots to Chris and RamziH,
    I have tested DAQCard-AI-16XE-50 on Max, it works fine all analog channels, the device nubmer is 1. So, in my program I am using this device number, checking the sample rate no more than 20kHz and no analog output function in my program, but it still doesn't works. Does CWAI works with DAQCard-AI-16XE-50? The DAQ driver version is 6.9.2.
    Thanks again.

  • DataSocket SelectURL method fails with Measurement Studio and vista

    The application uses the datasocket .SelectURL method to browse compact fieldpoint OPC items but the following error is raised:
    System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
       at NationalInstruments.Net.Internal.Win32.IAxDataSocket.SelectURL(Object startUrl, Object title, Object options, Object filters)
       at NationalInstruments.Net.DataSocket.SelectUrl(String startUrl, String title, SelectOptions options, String filter)
       at NationalInstruments.Net.DataSocket.SelectUrl()
       at DrillSense.Sensors.Sensor.SelectURL() in C:\DrillSense VS2005\DrillSense\cls_Sensor.vb:line 309
    This method works with Windows XP Pro however.
    The Development Environment includes:
    MS Visual Studio 2008 with SP1
    Measurement Studio 8.5.0 for VS 2008
    Windows Vista Business
    Is there a workaround to browse OPC items?
    Thanks,
    Barrett

    Hi Barrett,
    I would like to verify that the PC with Vista installed can see the OPC item.  Do you have an alternative programming language which you can use to verify communication?  If not, you may try Measurement & Automation Explorer (MAX).  If you do not see the fieldpoint in MAX, I would try the suggestions outlined in this KnowledgeBase article.
    How to Network FieldPoint to a Host Computer with Ethernet
    It would also be helpful if you could provide a bit more information about your setup.  I'm particularly interested in what .NET language you are using within Visual Studio (C#, VB.NET, C++, etc.).  I may have to try and reproduce the behavior on my end, so if you could provide as much detail as possible it would be helpful.  Thanks Barrett! 
    Rod T.

  • Converting a Labview time into a string with Measurement Studio C++

    In my Measurement Studio-based C++ application, I'll be sent a Labview
    time in the format of a double, which I believe is seconds since 1904.
    Does Measurement Studio for Visual C++ contain a function that will
    convert that time value into a string format? I'd like to end up with
    something like "hh:mm:ss:msec". I'm basically looking for the
    equivalent of the Labview vi, "Format Time/Date String". If Measurement
    Studio doesn't provide this, is there some other (hopefully simple) way
    to do this?
    I can request that the Labview application send me time in a string
    format as well as a double; this will require several changes to the
    Labview application sending the timestamp, but if that is a simpler
    solution that's the option we'll take.
    Thanks in advance,
    Adam

    Measurement Studio does not have a function for this, but you can do
    this yourself by first converting from LV epoch (1/1/1904) to Unix
    epoch(1/1/1970) and then using c runtime time functions
    UNIXEpochOffset is the difference between the 2 epochs at GMT. To
    convert to a UNIX system clock value, just subtract the sum of this
    number and your time zone offset in seconds
    lvTime is the value returned by LV timestamp
    #define  UNIXEpochOffset 2082844800
    int _tmain(int argc, _TCHAR* argv[])
        __int64 lvTime = 3214396284; //10:48:13.173 AM 11/9/2005
        //GMT offset for Central Time is -6 (3600 seconds). You will need to account for daylight savings time.
        int offset = -3600;
        time_t unixTime = lvTime - UNIXEpochOffset - offset;  
        struct tm *newtime = localtime(&unixTime);
        printf(asctime( newtime )); //prints out the time in a string format.
        return 0;
    Bilal Durrani
    NI

  • Urgent Help needed : Connecting Access 2000 with forms 6i

    Dear friends,
    I am really struggling to solve this connection issue. I am working with forms 6i, oracle 8i, in Windows XP pro environment. Developing programs using oracle 8i tables is ok, but there are tables in Access 2000, which I have to add the program that I am developing. The things I have done are
    - I have already tables in MS Access databse.
    - I Installed ODBC for microsoft and for Oracle as well(which . I added the MS Access Database there and I can perfom SQL from Oracle ODBC.
    - I also installed OCA for developer from the CD.
    From this point I followed the instructions in Developer Help menu and I was not able to connect and still trying, I will appreciate if anyone provide me sometips. Thanks in advance
    Best Regards

    Hi,
    I know the bad solution. But anyway, I'll tell you in any kind of help. I also had an AccessControlException when I started a RMI client program using JFileChooser. I rewrote policy files again and agin, but in vain. The last and ultimate method I did was remove the RMISecurityManager. This is obviously dangerous in the Internet, but if you use your application in the intranet or in some kind of safe environment. There would be no problem.
    Hope this could be any kind of your help.

  • Problems on connecting Developer/2000 with Oracle

    1. Can Developer/2000 for window95/NT release 2.0 connect with Personal Oracle8i for Windows 98 under Windows 98 environment?
    2. Can Developer/2000 for window95/NT release 2.0 connect with Personal Oracle7.3 for Windows 95 under Windows 98 environment?
    3. What is the default database name of Personal Oracle8i for Windows 98?

    If you get an error message with a number, did you try looking for this number in the oracle errors book (online on OTN? just click search).
    Developer/2000 is quite old, better get the newer versions from otn.oracle.com.

  • Can't connect my iPad with midi studio

    The iPad never shows up in the directory. I tried also with  ad-hoc and i also got pings and still nothing in midi studio. When I try manually to set the iPad all I get is an error message after like 5 seconds. I created a new user and also there i got nothing. I made a new location in network. I also tried repair permissions from installion cd and nothing.  What can I do? What do I miss here?  I'm scared to do a fresh install and to get nothing. Please help me out :(

    The iPad never shows up in the directory. I tried also with  ad-hoc and i also got pings and still nothing in midi studio. When I try manually to set the iPad all I get is an error message after like 5 seconds. I created a new user and also there i got nothing. I made a new location in network. I also tried repair permissions from installion cd and nothing.  What can I do? What do I miss here?  I'm scared to do a fresh install and to get nothing. Please help me out :(

  • Frequency sweep with vb6 and measurement studio

    hello! i hope you can help me with my problem
    im using:
    -PCI-MIO-16E-4 Daq-Card (at the moment, later i will get the PCI-6115 Daq-Card)
    -Visual Basic 6.0 with Measurement Studio
    my Problem: i want to stimulate a mechanical system with sine-waveforms of differernt frequencies, because i want to measure the resonance frequency of the mechanical system.  For that i want the Daq-Card to output a sine waveform, the frequency should be swept from one frequency to an other frequency (i think the real values dont matter at the moment). The Problem is that the sine-waveform must not be interrupted  when you change the frequency, because this would disturb the movement of the mechanical system.
    I allready tried (without Measurement Studio) to use the fifo buffer (regeneration of thewaveform in the fifo) to be independent of the delays caused by the pc-system, but when i change the updaterate (change of the frequency) of the DAC there is again a dependence on the pc-system and the waveform goes to zero Volts for a while.
    And i also tried to use the Chirp-Function (CWDSP.Chirp) of the measurement Studio, but with this function i have the problem, that i cant define how long the DAQ-Card outputs the actual frequency.
    greetings A.Herman

    Hello SG_ENGINEER,
    So that is possible, but it is a completely different approach than that mentioned above.  You would have to use a continuous analog output program and change the output waveform.  Check out the attached example.  I modified a shipping example to do an analog output and increment the frequency of the output waveform. 
    -Alan A.
    Attachments:
    Continuous_Analog_Out_Update_Sinewave.vi ‏100 KB

  • Problems with cwStats (MS 6) after evaluating Measurement Studio 7

    I have the Full version of Measurement Studio 6 installed on my development machine. I recently installed Measurement Studio 7 to begin migrating our application to .NET. While recently doing some upgrade work on our VB6 project I started receiving an error when using the "full" capabilities of the cwStats control. It basically tells me that I do not have a license for the "full" version. I have installed the latest updates for MS6 but am still having the problem. Is this a known issue and is there a workaround?

    Hello,
    With Measurement Studio 7.0 we shipped a utility called ActiveX License Fixer. This was due to this known issue that the license of a released 6.0 will go into evaluation mode for 30 days if someone installs 7.0 released over the controls.
    You should run this utility from the Measurement Studio 7.0 CD (it has a readme) and it will fix everything up for you.
    Regards,
    Jeff
    NI

  • Application distribution Measurement studio

    We have now developed a software application using Measurement Studio and VC++ for "capturing" live communication data from line as step 1 of the application and "analysing data" separately as step 2. We can do the 2 steps without any problem on a data acquisition machine. However, when we run the same application on a desktop PC (not a digitizer or not connected to digitizer) we expect the application to RUN only step 2. The question here is then, in order to set application up on a desktop PC (not a digitizer or not connected to digitizer) what changes I should do (in terms of un-tying NI scope acquisition functions)?
    NI Software : Measurement Studio for Visual C++ version 7.0
    NI Hardware : High-Speed Digitizers (Scopes) device PXI-5122
    Driver Version : NI Scope 2.6
    OS : Windows XP

    THanks for response.
    >>> Aha, I didnt realize that you were using the C++ scope classes. The scope driver does not >>> get loaded until the very first call to the scope class. So you would not need to setup >>> delay loading nor would you use LoadLibrary or GetProcAddress.
    Our application was developed using MFC VC++ 2003 .NET edition. Sorry I missed the details.
    >>> You will get an exception when you use the CNiScope constructor and if the system does >>> not have the scope driver installed.
    Exactly, I do get an exception when I use the CNiScope constructor. However, what I do is create CNiScope 2 times. The first time a dummy construction is done with function like this...
    bool CMainFrame:copeExists(void)
    bool scopeExists = true;
    CString errorMsg = "NiScope device absent.\r\nNo Scope controls will be available";
    try
    // Instantiate a scope to test is it exists
    CNiScope ProbeScope ("PXI1Slot2", false, false, "");
    catch (CNiIviException* e)
    e->Delete();
    AfxMessageBox (errorMsg, MB_OK | MB_ICONEXCLAMATION);
    scopeExists = false;
    return scopeExists;
    I use the returned boolean to identify if scope driver is PRESENT or ABSENT in the system. Using this boolean result I then do the actual scope dialog bar and CNiScope construction (the second time is when the actual CNiScope is created and used).
    If boolean is FALSE
    no scope dialog bar controls is created
    only the analyses dialog bar controls are created
    else
    application starts up with scope and analyses dialog controls
    >>> Are you using the .NET class libraries? Or is this just MFC code?
    Just MFC code with Measurement Studio
    >>> For a list of components that need to be distributed, refer to the Measurement Studio Help topic Distributing Measurement Studio Visual C++ Applications.
    This was helpful to the extent that I got the active X controls loaded and distributed with application. But analyses part of application crashes when it tries to use the CNi such as CNiMatrices, CNiReal64Vector. I found this using the debugged in Microsoft's VC++ .NET 2003.
    >>> Are you checking for exceptions when you start the analysis routines?
    I do have a few exceptions being checked. However, can you tell the exceptions you have in mind that need to be included.
    >>> Is this crash happening on the development machine or the deployment machine?
    The crash is happening only on machines NOT having scope drivers. I tried on a 2 machines.
    One WITH Measurement Studio and WITHOUT scope controls - it crashes
    Second WITHOUT Measurement Studio and WITHOUT scope controls - it crashes
    Is there something I am missing??
    >>> Could you provide more information about the crash, perhaps a code snippet or a sample app ( with only the analysis section).
    Here is code snippet....
    m_digIntpolRowLength and m_digIntpolCoeffRows are unsigned int types.
    m_farrowFilterCoeff is CNiReal64Matrix type. This is the first moment in application when a CNi is used. When the matrix elements are loaded with values, it crashes at the line
    m_farrowFilterCoeff(0,0)=0.00252;.....
    I know this may or may not give you whole lot of information. If we can go offline from discussion forum (becuase of proprietary information), I can provide more details about application etc. Thanks.
    void CDAQ_DigitalInterpolator::ResetLarge(void)
    m_digIntpolRowLength = c_digIntpolRowLengthLarge;
    m_digIntpolCoeffRows = c_digIntpolCoeffRowsLarge;
    m_farrowFilterCoeff.SetSize(m_digIntpolCoeffRows, m_digIntpolRowLength);
    m_delayLineBuffer.SetSize(c_delayLineBufferSize);
    m_delayLineSize = m_digIntpolRowLength;
    m_delayLinePtr = &m_delayLineBuffer[c_delayLineBufferSize - m_delayLineSize];
    /////Row 0//////
    m_farrowFilterCoeff(0,0)=0.00252;
    m_farrowFilterCoeff(0,1)=-0.0087823;
    m_farrowFilterCoeff(0,2)=0.0218283;
    m_farrowFilterCoeff(0,3)=-0.046127;
    m_farrowFilterCoeff(0,4)=0.0909993;
    m_farrowFilterCoeff(0,5)=-0.1884611;
    m_farrowFilterCoeff(0,6)=0.6283543;

  • How to use a Measurement Studio class in MFC

    I am new to MFC coming over from VB.NET.
    I have created a VISA class to measure something from an instrument and have a simple dialog box with a Button to invoke the measurement and display it to a text box. I changed the ID of the control and made a member variable for the text box and can code the OnButtonClick event to display text in the Text box as a test.
    The problem is I cannot seem to create an object of the Visa Class that I built in the OnBnClickedRun()function. I can code the OnInitDialog() to make this measurement:
    double power;
    CGetBandPower BPower;
    BPower.Run(power);
    but want to do it when I click on the button. I am using VS.NET 2003 with Measurement Studio 7.0.
    Help

    Hello,
    I think the following other discussion forum post contains useful information for you:
    http://forums.ni.com/ni/board/message?board.id=232&message.id=1306&requireLogin=False
    In particular, read the posts by the names in blue... you'll find paths to great examples which should help you use VISA in the .NET environment.
    Repost if you continue to have any problems!
    Thank you,
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

Maybe you are looking for