How to implement toolkit blurred on the myRio?

Hello

We are trying to implement the logic fuzzy toolkit on Myrio. but are not successes. one has experience to implement the control of fuzzy logic on MyRio?
I tried on PC, it works fine but when I tried on MyRio, it's not that I was expecting.

can someone help me solve this problem?

Thank you

the error may display set

The best

Santo

Hi Santo,

have you checked the path to the file you want to load when you start your VI?

Err7 means generally: "file not found!"

Have you copied the file from your PC to the myRIO? The myRIO can't access hard disk of your PC!

Tags: NI Software

Similar Questions

  • How to implement and use properly the (long) SourceStream.seek?

    I create a custom DataSource and local SourceStream for streaming of video files (the files are stored in the memory card). I chose to use the data source instead of just creating a player given the path of the file because I have additional processes to be made between bed bytes of video files and the player to obtain the data, and I need to implement look/forward/back features fast outside the play/pause/resume/STOP.

    Then to add these features, I implemented the method SourceStream.seek (long) using setCurrentPosition (int) of the SharedInputStream method.

     public long seek(long where) throws IOException {
            if (where < 0) {
                where = 0;
            }
    
            synchronized (readLock) {
                synchronized (connectionLock) {
                    sharedInputStream.setCurrentPosition((int) where);
                        currentPosition = sharedInputStream.getCurrentPosition();
    
                        return currentPosition;
                }
            }
        }
    

    The problem is, when I explicitly call the seek (long) method to move to a time particular/frame, the video remains stuck in a State of buffering. In addition, I'm worried about the method with a parameter int SharedInputStream.setCurrentPosition (int). I fear that this would cause an exception since I play video files.

    I also tried to use the InputStream methods reset(), and skip (long), but when you watch the video, an exception is thrown:

      public long seek(long where) throws IOException {
            if (where < 0) {
                where = 0;
            }
    
            synchronized (readLock) {
                long now = 0;
                try{
                    sharedInputStream.reset();
                    now = sharedInputStream.skip(where);
                } catch (Throwable t){
                    e.printStackTrace();
                }
                return now;
            }
        }
    

    My questions are:

    1. how the seek (long) method must be implemented using the SharedInputStream.setCurrentPosition (int)?

    2. Similarly, how can you search for videos using the methods InputStream.reset () and .skip (long)?

    3. What is the right way to call the seek (long) method if you want to go to a particular time frame /?

    Thank you!

    Take a look at the following KB that has a very good specimen annex and explains the issues you have raised: http://supportforums.blackberry.com/t5/Java-Development/Streaming-media-Start-to-finish/ta-p/488255

    It uses a CircularStreamingBuffer, and the implementation of seek can handle both seeks in the buffer zone, or outside that case made an additional http request.

    For any initiative the user seeks, you should just use player.setMediaTime () as shown in the example, and it must call your call the implementation on the lower level.

  • How to implement enter and execute the query in the ADF

    I'm new to ADF and I'm trying to create a simple data entry in ADF 11 g based on a database table. I'm looking to implement the equivalent of the request function enter and execute the query in Oracle Forms. I tried the default operations that are available with the data controls. But they don't seem to have this feature. Can someone help / tell me how this can be implemented.

    Thank you
    Srini.

    How to add a query Panel? Who has the most benefits that the use of Find.

    More info on af:query

    http://docs.Oracle.com/CD/E28389_01/apirefs.1111/e12419/tagdoc/af_query.html

    Arun-

  • How to implement a callback to the help function call library function node in LabView?

    I try to call a fuction from a SDK.dll library by using the node call library feature. The SDK has been provided to

    me and I don't have the source code, just the .dll and .h files.

    The SdkSetPropertyEventHandler function has a function of recall as one of its parameters. How to apply the

    callback using the NSI node? I'm a good programmer LabView but this is my first time using the library to call

    Function node. I read all the info I can find on the web site of NOR and the discussion Forum, but can not understand

    This one out. I'm using LabView 8.6.

    The deacribes SDK.h function as:

    Function: SdkSetPropertyEventHandler

    (SdkSetPropertyEventHandler) SdkError SDKAPI
    SdkCameraRef inCameraRef,
    SdkPropertyEvent inEvnet,
    SdkPropertyEventHandler inPropertyEventHandler,
    SdkVoid * context);

    //
    Description:
    Registers a callback function to receive the status
    change the notification events for the States of property on a camera.
    //
    Parameters:
    In: inCameraRef - designate the object camera.
    inEvent - designated one or all the events will be completed.
    inPropertyEventHandler - designate the pointer to the callback
    function to receive the camera property-related events.
    inContext - designated application information must be passed
    way to the callback function. All the data necessary to
    your application can be passed.
    Output: no
    //
    Returns: A sdk errors.
    -----------------------------------------------------------------------------*/

    A separate header called SDKTypes.h file contains the following data:

    typedef SdkUInt32 SdkPropertyEvent;
    typedef SdkUInt32 SdkPropertyID;
    typedef void SdkVoid;

    typedef struct __SdkObject * SdkBaseRef;
    typedef SdkBaseRef SdkCameraRef;

    /*-----------------------------------------------------------------------------
    SdkPropertyEventHandler
    -----------------------------------------------------------------------------*/
    typedef SdkError (SDKCALLBACK * SdkPropertyEventHandler))
    SdkPropertyEvent inEvent,
    SdkPropertyID inPropertyID,
    SdkUInt32 inParam,
    SdkVoid * context);

    Thanks for your help.
    Alejandro

    Andrew_E wrote:

    Hi Rolfk,

    You are absolutely right. This article describes what you were talking about? I'm just trying to get as much information as possible on this thread if the solution is easier to find for the future. Thank you.

    Yes, but I find the idea of using .net to call a LabVIEW VI as callback function C a bit as using a roll of Steam ironing your pants. Why do it? Well the steamroller has extra security guards that make it less likely that you'll break your pants in the process, but it's not elegant IMHO.

    Write a C DLL that translates between a C callback and a user event LabVIEW using the PostLVUserEvent() of the interface of the kernel to run LabVIEW function seems so eleganter for me. Yes, it's a bit of programming in C, but good!

    Rolf Kalbermatter

  • ADF BC: how to implement actions object of the entity polymorfic

    Hello

    It is possible that this question seems complicated, but the answer might be a simple 'yes' (or a complex ' no, because... ") »).

    The use case is to have a list of tasks and a number of actions to perform these tasks.
    There are different types of tasks, and they all implement their actions differently.
    These different implementations (action) require different resources to work with (for example unrelated database tables).

    Using JDeveloper 10 g (10.1.3.4.0), I created a sample application that implements this:
    http://verveja.footsteps.be/~verveja/files/Oracle/PolymorphicResourceTaskApp-v0.01.zip

    He has a ResourceTask of entity object that has 'actions' (methods) reviewStatus(), executePreferredAction(), executeFallbackAction() which is substituted in different subclasses, for example:
    public class ResetRedTypeTaskImpl
         extends ResourceTaskImpl
    {
         // ...
         public void executePreferredAction(ApplicationModule pApplicationModule)
         {
              System.out.println("ResetRedTypeTaskImpl.executePreferredAction() : begin");
              RedResourceServiceImpl vRedResourceServiceAMI =
                   getRedResourceServiceAMI(pApplicationModule);
              vRedResourceServiceAMI.resetRedTypePreferred(this);
              super.executePreferredAction(pApplicationModule);
         }
         // ...
    }
    or
    public class NewGreenForEachRedTypeTaskImpl
         extends ResourceTaskImpl
    {
         // ...
         public void executePreferredAction(ApplicationModule pApplicationModule)
         {
              System.out.println("NewGreenForEachRedTypeTaskImpl.executePreferredAction() : begin");
              GreenResourceServiceImpl vGreenResourceServiceImpl =
                   getGreenResourceServiceAMI(pApplicationModule);
              vGreenResourceServiceImpl.newGreenForEachRedType(this);
              super.executePreferredAction(pApplicationModule);
         }
         // ...
    }
    Maybe this screenshot can illustrate the use cases, see PRTApp-overviewResourceTasks - v0.01.png .

    questions
    (q1) Is it acceptable to pass an instance of Application Module as a parameter to a method of object (overridden) entity?
    (q2) If the answer to (q1) is no, what alternative approach should be used to implement the same functionality?

    Thank you very much
    Jan Vervecken

    To better understand your use case, what role is the module of past enforcement playing, compared with the request for the root module any object that can access already?

    Different polymorphic subtypes may have separate associations who do not have supertypes and that the do not share with other subtypes of 'peers', so that might help your use case.

  • How to implement multi-site with the same URL field in the ATG

    Hi guys,.

    I have a multisite transposition obligation with the same url domain but ATG does not support same domain URL for multisite. Can someone please help me with this problem?

    David.De - Oracle

    Thank you

    Vivek

    As I said use custom filters to read the parameter when the user clicks on the link for the site of CA and set the site context.

    You can store a cookie that determines the site for subsequent applications.

    Peace

    Shaik

  • Found that the solution does not know how to implement

    Hello

    In my reports (using oracle obiee 11.1.1.7.0) I need to display the values in the chart in percentage and value at the same time, but I don't know how. (for example in a pie chart, I can only see one, either the actual value or percentage of the slice)

    I found this solution the percentage and value of pie , but I do not know how to implement it.

    The solution is to apply this:

    FormatString = '_VALUE %, _PERCENT_OF_CATEGORY % '.


    OK, but where? and how

    Anyone want to explain further? Thank you

    Thanks ofr version information.

    As I said, the solution of John was for 10g, which means a version where OBI has always used the engine Corda to render graphics, and so there was the *.pcxml files which you can hack.

    This solution is no longer applicable since 11g and I think that there is no work around at the moment. At least the last thread of 5-10 on the subject gave no tangible results IIRC.

  • How to register multiple files with the same name with different num revision

    Hello

    Can someone please tell me, how to register several different files with the same name with the revision number using the RIDC API.

    For example:
    First of all I will be saved in a file (TestFile.txt) in a content server with revision number 1 using the RIDC API in application of the ADF. Then after awhile, will change the same line (TestFile.txt) check-in and once again. I tried to check the same file several times, however first Check-in correctly in server showing revision 1, so that Check-in same file again, her gives no error message, and also its not reflecting only not to the server. Single file (TestFile.txt) reflecting on the server.

    How to implement this feature using the RIDC API? Any suggestions would be helpful.

    Concerning
    REDA

    Published by: 887680 on March 6, 2013 10:48

    (1) get the content ID (dDocName), call CHECKOUT_BY_NAME
    (2) call check-in service with dRevLabel = previous dRevlabel + 1

  • How can implement you not with Tim Capsule and AirPort their simulation on the iMac?

    Hello

    How can implement you not with Time Capsule and AirPort their simulation on the iMac?

    I don't know what you're asking.

    AirPort Extreme is a wireless router.

    A Time Capsule airport is an AirPort Extreme with a built-in hard drive for data storage.

    An iMac is a Mac computer.

    An iMac is not a wireless router, so he is unable to perform the functions of a wireless router.

  • How to install blur, once the phone is in use?

    I just bought my backflip last night. The seller got my husband phone works fine, but I can't get mine to sync any email or load applications. It seems that she got my blur account set up when he started first, and now I can't get anything to work on it...

    I've heard of that happening and I don't know how people are bypassing BLUR of installation. In any case, go to settings > storage and SD card > reset data.

    When you reset the phone, it will be as you are turned on for the first time and you will be prompted to configure your BLUR account.

  • How to implement the reading of data from a matte file on a cRIO?

    Hi all!

    I'm still not sure, it is plausible, but I'll ask rather before you begin complicating. So far, I found no useful information on reading in the data to a device of RT from a file (type of a simulation test - data is simulated).

    I have the MatLab plugin that allows the storage of data read a MAT file, which has a number of columns that represent the different signals and lines representing the samples at a time (depending on the time of the sample - sample every time has its own line of signal data).

    I have no idea how to implement this at cRIO.

    The idea is:

    I have some algorithms running on the controller of RIO in a timed loop. As the entries of these algorithms I need to access each of the values of columns in the row, which is the time of the sample (sort of a time series - without written actual times).

    I am fairly new to RT and LV development, so any help would be appreciated.

    Thank you

    Luka

    Dear Luka!

    I think the reading of all the samples in a single channel is exactly what you need here, because reading the files may take some time and is not deterministic, so it is best to read all the data in memory (or if this is not feasible due to problems of size, fairly large pieces may be sufficient). The table read can be provided and then in the loop simulating outings, something like this:

    I used here separate channels so it's more graphic, but you can build all the channels in a 2D array and array index corresponding to the samples fom 1 who. You can also use for loops with indexing as tunnels are setup and then you won't need the index functions and the number of iterations is also set automatically, but you have to take care of synchronization settings.

    Best regards:

    Andrew Valko

    National Instruments

  • How to implement the wafer map using LabVIEW?

    Hello LabVIEW Masters!

    I have a project which includes control and searching for information on a PROBER. One of the difficulties I have now is how to implement a WAFER card using LabVIEW. According to the requirements of my client, the element of pads varies between 6 k and 23 k. I guess that do everything (a = a ctl/indicator led) will be a hell of a task, especially on how to effectively manipulate each elements. Does anyone have a better idea on the way whose that?

    Please, I seriously need your help...

    Thank you and best regards,

    Dennis DG

    Hi Dennis,

    This wafer GerdW post card appears to me as a sort of histogram (for example http://www.ni.com/white-paper/4158/en#toc3);

    Altenbach post well this example that shows how to use a plot of intensity to create a 2d histogram:

    http://forums.NI.com/T5/LabVIEW/overlay-plots-as-intensity-graph/m-p/211222#M119248

    Learn how it works and try to adapt it to your specific task.

    Alex

  • How to implement Canopen on FPGA to run the engine using NOR-9881?

    Dear,

    Your support will be highly appreciated,

    There is only one available for NOR-9881 example.
     
    Please note that the following materials were properly connected:
    cRIO-9024, cRIO-9113, OR-9881 and motor Nanotec (SMCI36 against L2818L0604-T5X5), the following
    sites Web shows the engine Nanotec in details:
     
    http://us.Nanotec.com/products/660-L28-linear-actuators-with-trapezoid-spindle/
     
    http://us.Nanotec.com/products/1041-SMCI36-stepper-motor-and-BLDC-motor-position ing-control /
     
    The main problem is how to configure the inputs and outputs, where, in most examples, the entry and exit have been automatically
    configured.
     
    the following three examples and I wonder how to start:

    1 - example Nanotec: dependent VISA controls for data transfer
     
    http://us.Nanotec.com/support/application-notes/LabVIEW-example/
     
    2 - reference example CANopen for series C OR - 9853 Module CAN:
    the NOR-9853 has default Can0 which was used in the code

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/6093
     
    3 - from finder labView example: search for 9881 then choose
    NOR - CANopen_cRIO.lvproj, which depended on SDO orders for transfer orders
     
    The attached picture shows that NEITHER-9881 can be seen, after compilation and
    loading the bitfile FPGA.
     
    Please, please advice me:
    1. how to start?
    2. how to create variables of entry for NI9881?
    3. how to implement CANopen mode FPGA? where there is no CANopen palette.

    Thanks in advance and

    Hello!

    From my understanding, the 9881 can be treated from the FPGA, but only from the application of the RT. I think that the point 3 of your post examples of the use of the module fine.

    Kind regards

    Georg

  • How to implement the ScreenUiEngineAttachedListener Interface?

    How to implement the ScreenUiEngineAttachedListener Interface? It is somewhat a mystery reading through the API.

    I have a class that implements ScreenUiEngineAttachedListener:

    public class UiListener implements ScreenUiEngineAttachedListener {
      public void onScreenUiEngineAttached(Screen screen, boolean attached) {
      }
    }
    

    Then I have a class MyScreen which extends from screen and has two methods:

    public void addScreenUiEngineAttachedListener(ScreenUiEngineAttachedListener listener) {
      super.addScreenUiEngineAttachedListener(listener);
    }
    
    private void removeScreenUiEngineAttachedListener() {
    
    }
    
    • What is the correct positioning of everything?
    • Can I define an instance of UiListener and pass in the addScreenUiEngineAttachedListener?
    • How to remove UiListener in removeScreenUiEngineAttachedListener?

    You will need:

    • an instance of your UiListener - probably a static member inside your UiApplication;
    • a method that allows to retrieve the reference to this instance of UiListener;
    • a call in your constructor for the screen at addScreenUiEngineAttachedListener (yourApplication.getUiListener ()) or similar;
    • potentially a call within your onScreenUiEngineAttached (attached screen, boolean) routine, the branch (attachment is false) : screen.removeScreenUiEngineAttachedListener (this);

    However, all this is too much work for no gain. Just override protected void onUiEngineAttached (boolean attached) in your screen class and make your logic there - all members of your class are accessible and all the code is placed where it belongs.

  • How to implement the SOA 11 g limitation?

    Hi all

    Can someone tell me how to implement the limitation in SOA to create a repository for the history of the transactions?

    ARO

    Hari

    Hello

    By Greg Mally of Oracle message covers an approach to the limitation in SOA Suite

    https://blogs.Oracle.com/soacommunity/entry/throttling_in_soa_suite_via

Maybe you are looking for