FPGA Up Cast Funktion deletes Values form Read/Write Controll

Hello Everybody,
I Have an other Problem with my RT-FPGA cRIO...
I have now managed to read the module IDs to convert this combination in a certain casenumber and this one then selects the FPGA File. Now is that I have inbounded various FPGA Bitfiles. If I composed them by the the "Up Cast function" to a universal reference then there will disappear some elements by using the Read / Write Control .
I have a picture attached that this Clarifies!
The first two R / W Controller have been up before the cast and the third upcast diverted after.
I hope you can help me!
thank you in advance before
MaJahn

Even now I've noticed the function Invoce methode: Read TEDS is also no longer supported.
Why?!
The both VIs are exactly the same during the Modules in it are different.
Iam using LabVIEW 2009 and the newest Drivers from the NI site!

Similar Messages

  • Incorrect data type when writing to FPGA Read/Write Control

    I have run in to a problem this morning that is causing me substantial headache.  I am programming a CompactRIO chassis running in FPGA mode (not using the scan engine) with LabVIEW 2012.  I am using the FPGA Read/Write Control function to pass data from the RT Host to the FPGA Target.  The data the RT host is sending comes from a Windows host machine (acting as the UI) and is received by the RT Host through a network published variable.
    The network published shared variable (shared between the RT and Windows system) is a Type Def cluster containing several elements, one of which is a Type Def cluster of fixed point numerics.  The RT system reads this shared variable and breaks out the individual elements to pass along to various controls on the FPGA code's front panel.  The FPGA's front panel contains a type def cluster (the same type def cluster, actually) of fixed point numerics.
    The problem comes in the RT code.  After I read the shared variable I unbundle the cluster by name, exposing the sub-cluster of fixed point numerics.  I then drop an FPGA Read/Write Control on the RT block diagram and wire up the FPGA reference.  I left click on the FPGA Read/Write Control and select the cluster of fixed point numerics.  I wire these together and get a coercion dot.  Being a coercion dot hater, I hover over it the dot and see that the wire data type is correct (type def cluster of fixed point numerics), but the terminal data type is listed as a cluster containing a Boolean, code integer and source string, also known as an error cluster.  I delete the wire and check the terminal data type on the Read/Write Control, which is now correctly listed as a type def cluster of fixed point numerics.  Rewiring it causes the terminal to revert back to the error cluster.  I delete the wire again and right click on the terminal to add a control.  Sure enough, a type def cluster of fixed point numerics appears.  Right clicking and adding an indicator to the unbundle attached to the network shared variable produces the proper result.  So, until they are attached to each other, everything works fine.  When I wire these two nodes together, one spontaneously changes to a error cluster.
    Any thoughts would be appreciated.

    My apologies I never got back to responding on this.  I regret that now because I got it to work but never posted how.  I ran in to the exact same problem today and returned to this post to read the fix.  It wasn't there, so I had to go through it all over again.
    The manifestation of the problem this time was that I was now reading from the Read/Write FPGA front panel control and writing to a network published shared variable.  Both of these (the published shared variable and the front panel control) were based on a strict type defined cluster, just like in the original post.  In this instance, it was a completely different cluster in a completely different project, so it was not a one-off thing.
    In addition to getting the coercion dot (one instance becoming an error cluster, recall), LabVIEW would completely explode this time around.  If I saved the VI after changing type definition (I was adding to the cluster) I would get the following error:
    Compile error.  Report this problem to N.I. Tech Support.  Copy cvt,csrc=0xFF
    LabVIEW would then crash hard and shutdown without completing the save.  FYI, I'm running LabVIEW 12.0f3 32-bit.
    If I would then reopen the RT code, the same crash would occur immediately, ad nauseam.  The only way to get the RT code to open was to change the type defined cluster back to the way it was (prior to adding the new element).
    I didn't realize it last time around (what originally prompted this post), but I believe I was adding to a type def cluster when this occurred the first time.
    So, how did I fix it this time around? By this point I tried many, many different things, so it is possible that something else fixed it.  However, I believe that all I had to do was to build the FPGA code that the RT code was referencing.  I didn't even have to deploy it or run it... I just had to build it.  My guess is that the problem was the FPGA Reference vi (needed to communicate with the FPGA) is configured (in my case) to reference a bit file.  When the development FPGA Main.vi ceases to match the bit file, I think that bad things happen.  LabVIEW seems to get confused because the FPGA Main.vi development code is up and shows the new changes (and hence has the updated type def), but when you ask the RT code to do something substantial (Open, Save, etc), it refers to the old bit file that has not yet been updated.  That is probably why the error getting thrown was a compile error.
    I'm going to have to do an additional round of changes, so I will test this theory.  Hopefully I will remember to update this post with either a confirmation or a retraction.

  • Imaqio (fpga) PCIe 8255R read/write control ISO input

    Hi. I have an external trigger connected to ISO INPUT 5 on my PCIe 8255R which has an fpga RIO (see manual). I  want to read the value of ISO INPUT 5  using Read/Write control vi on Labview but this vi doesn't show that input (it shows iso inputs from 6 to 11). I'm using the default IMAQIO bitfile that comes in the installation directory to open the FPGA. What should I do?. Thanks in advance.

    Hi Akiel,
    Thanks for your question, I'm guessing the reasoning behind this is that you have a large number of indicators?
    Whilst there isn't an in-built way of dynamically referencing which indicator on the FPGA to read from, there is a custom FPGA interface tool which may be of some use to you:
    https://decibel.ni.com/content/docs/DOC-17185
    If you read through this, let me know if this helps or if you need any help understanding what this is doing.
    Regards,
    Ben Clark

  • FPGA Read/Write Control Issues

    Hello all!  Rather new to using FPGA, but I have an interesting issue that's popping up.
    Currently pulling in RAW voltage data from a set of sensors (Pressure Transducers, Load Cells, etc) through a cRIO DAQ.  Have the FPGA file setup to pull in that data already and have the main VI and all the sub-VIs working just fine.
    What I'm trying to do is save the raw voltage data (TDMS files) on the lower level and the convert and display on the upper level so that I don't have to convert and save (speed up saving data).  So that leaves 3 distinct levels/sections:
    On FPGA that pulls in the raw data
    On FPGA that saves the raw data
    Main VI that does all the controls/conversions/displays etc.
    Number two is where I'm having an issue.  I want to save all the data in parallel so I'm creating a save FPGA for each I/O device (8 Relays to command solenoid valves, 3 Pressure Transducers, 1 Load Cell, 4 Thermocouples).  To do this I want to create a separate VI for each device (not sure if that's a smart thing to do).
    The issue I'm having is when I use the FPGA Read/Write control to read in from the Target and save to the TDMS.  When I only use a single FPGA target reference the lines are broken, but as soon as I switch to two targets, it now works.
    Any reason why it might be doing this?  Any ideas/suggestions at all on how to go about setting this up in general?
    Thanks!

    Hi,
    HySoR wrote:
    The issue I'm having is when I use the FPGA Read/Write control to read in from the Target and save to the TDMS.  When I only use a single FPGA target reference the lines are broken, but as soon as I switch to two targets, it now works.
    Could you take a screenshot and post this part of your code? I'm having trouble understanding what you are describing.
    Craig H. | CLA | Systems Engineer | National Instruments

  • FPGA Read/Write Control Function Issues

    Hello all!  Rather new to using FPGA, but I have an interesting issue that's popping up.
    Currently pulling in RAW voltage data from a set of sensors (Pressure Transducers, Load Cells, etc) through a cRIO DAQ.  Have the FPGA file setup to pull in that data already and have the main VI and all the sub-VIs working just fine.
    What I'm trying to do is save the raw voltage data (TDMS files) on the lower level and the convert and display on the upper level so that I don't have to convert and save (speed up saving data).  So that leaves 3 distinct "levels/sections":
    On FPGA that pulls in the raw data
    On FPGA that saves the raw data
    Main VI that does all the controls/conversions/displays etc.
    Number two is where I'm having an issue.  I want to save all the data in parallel so I'm creating a save FPGA for the I/O devices (8 Relays to command solenoid valves, 3 Pressure Transducers, 1 Load Cell, 4 Thermocouples).
    The issue I'm having is when I use the FPGA Read/Write control to read in from the Target and save to the TDMS.  When I only use a single FPGA target reference the lines are broken, but as soon as I switch to two targets, it now works.
    I've attached a screen cap of the current problem.  The set-up on the bottom (with only one target) doesn't work.  But the second I add more than one target, it works.
    Any reason why it might be doing this?  Any ideas/suggestions at all on how to go about setting this up in general?
    Thanks!
    Attachments:
    FPGAError.jpg ‏35 KB

    HySoR,
    You might check the documentation for "data" terminal of "TDMS Write" (http://zone.ni.com/reference/en-XX/help/371361H-01/glang/tdms_file_write/). One DBL element is not accepted, but 1D DBL array is accepted.
    data is the data to write to the.tdmsfile. This input accepts the following data types:
    Analog waveform or a 1D array of analog waveforms
    Digital waveform
    Digital table
    Dynamic data
    1D or 2D array of:
    Signed or unsigned integers
    Floating-point numbers
    Timestamps
    Booleans
    Alphanumeric strings that do not contain null characters

  • FPGA Read Write Control Coercion

    I am getting a coercion indication using a FPGA read write control.  I have attached a screen capture of the context help.  For some reason it is looking for an error cluster?
    Attachments:
    FPGA Coercion Context Help.png ‏36 KB

    The NI 9229 Data Rate Control.
    See attachments
    Attachments:
    FPGA Coercion VI.png ‏76 KB
    FPGA Coercion VI 2.png ‏129 KB

  • Shortcuts for change in read/write (control/indicator)

    Hello,
    I try to find a shortcut for change to read/write a local variable ?
    Thanks
    Sylvain Jourdan
    (Labview 2012 - English)

    Hi,
    Thanks for you quick answer, I'll suggest this idea in the LabVIEW-IdeaExchange.
    An other idea, do you know if we can add a property to the shorcut menu by modifying a configuration file... ?
    Thanks,
    Sylvain
    Attachments:
    option_menu.png ‏53 KB

  • Read write control on status

    Dear All,
    I have a problem. Look at the senario,
    i have a table ATTENDANCE_HEADER in which there is a column STATUS,
    there is another table ATTENDANCE_DETAILS.
    entry to the ATTENDANCE_HEADER table is automatic by using schedules setting the STATUS column to PLANNED value.
    means the current date master entry will be entered inthe HEADER table with PLANNED status.
    The secretary will be allowed to do entries in the Details table for PLANNED status.
    but when manager change the status of attendance to RELEASED,Secretary and even the manager and anybody
    will not be able to change the ATTENDANCE_DETAILS rows which are against a date which is RELEASED in the ATTENDANCE_HEADER.
    How should i implement this type of security?
    i need a method example if posible.
    Thanks & Regards

    Muhammad wrote:
    third tip was new for me and is nice, although i am not understanding completely the purpose of it,
    why Table to relate users with their Roles? what will be the structure of these 3 tables?
    Thanks again.its about One to Many or One to Relation thing......
    if one user can have multiple Roles then u need this 3rd table....
    else u can save the Role reference key in the USER main table
    Users
    User_id number,
    User_name Varchar2
    App_roles
    App_role_id number,
    App_role_name varchar2
    Users_roles
    User_id number,
    App_role_id numberu can create many tables its all depends how u can handle
    my 2 cents

  • FPGA Interface Cast question

    I'm playing with a 5644 VST and the VST Streaming template.  On the FPGA VI I added some code, then added an indicator to the FPGA VI front panel and compiled.  Running the FPGA VI in interactive execution mode, the indicator works well.  On the host end, though, I can't seem to access the new indicator with a Read/Write control. 
    Coming out of the Open FPGA VI Reference I can see the indicator on the wire, but in the Dynamic FPGA Interface Cast function it's getting stripped out of the refnum somehow.  If I connect a Read/Write control directly to the output of the Open Reference function I can access the indicator just fine.
    Any idea what I'm doing wrong?
    Thanks.
    Solved!
    Go to Solution.

    Have you re-configured your FPGA VI reference interface with the new bitfile?  The dynamic interface cast defines the output wire as having all the methods and indicators described by the type wire connected.  You can right-click on the type constant and select "Configure FPGA VI Reference...".  In the pop-up that follows, choose "Import from bitfile..." and then select the new bitfile that you've built.
    You'll need to update the fpga reference type in the "Device Session.ctl" type def as well.  This is the type that you'll be able to access throughout the project.

  • XML FORM  -  How to save read-only controls with a default value

    Hello everybody,
    I have a 3 xml forms, each one to create one type of news. I need to use 3 because each of this forms has their own controls. But the control which indicates the type of news (asociated with a KM Predefined Property) must be common in the 3 forms, in order to use it on searches.
    The question is, how can I include in this forms a control:
      - Visible for the user
      - With a default value defined in the control properties (each form has a different value, corresponding with the type of news)
      - Read-only mode
      - The value showed in the control must be saved in the associated KM Predefined Property when the user clicks the Save button. 
    Anyone knows how to do this?
    What control can I use?
    I was thinking of trying with text boxes, but I don't find the way to make them unwritable (Read only mode).
    It is posible using labels?
    Thanks.
    Kind regards

    Hello Jose,
    I know you responded with a question... I see it in the email, but I don't see it here!  Very odd... but in response:
    The first thing I do when I open the Edit.xsl file is do a 'find' for the name of the text field that I want to be read-only (in my test case, it's 'location').  Repeat the find until you see something like:
    [code]<!--
    field location
    -->[/code]
    Below there is where I put the new code.  Mine looks like this:
    [code]- <xsl:choose>
    - <xsl:when test="location='' and ($editmode='create')">
    - <xsl:choose>
    - <xsl:when test="./xf:ValidationError/@tagname='location'">
    - <input name="location" size="30" type="text" class="urEdfiTxtEnbl" id="field_1157467268006">
    - <xsl:attribute name="tabindex">
    - <xsl:choose>
      <xsl:when test="$accessibilitymode='true'">21</xsl:when>
      <xsl:otherwise>3792</xsl:otherwise>
      </xsl:choose>
      </xsl:attribute>
    - <xsl:attribute name="value">
      <xsl:value-of select="''" />
      </xsl:attribute>
    - <xsl:attribute name="readonly">true</xsl:attribute>
      </input>
      </xsl:when>
    - <xsl:otherwise>
    - <input name="location" size="30" type="text" tabindex="3792" class="urEdfTxtEnbl" id="field_1157467268006">
    - <xsl:attribute name="value">
      <xsl:value-of select="''" />
      </xsl:attribute>
    - <xsl:attribute name="readonly">true</xsl:attribute>
      </input>
      </xsl:otherwise>
      </xsl:choose>[/code]
    I put the <xsl:attribute name="readonly"> in both places (when test, and when not test).  I'm not entirely sure if that's necessary, but that worked for me.
    Hope this helps,
    Fallon

  • Error while deleting values of characteristic /1FB/COMPANY/Company (RFC des

    Dear all,
    I am trying to synchronize Company master data between local BCS system and SAP BW with UGMD_BATCH_SYNC program. In the synchronization mode, Full Synschronization (Write and Delete) was selected.
    However, I receive the following error message when executing the program:
    Error while deleting values of characteristic /1FB/COMPANY/Company (RFC destination )
    Message no. UGMD077
    Diagnosis
    When writing or deleting values of characteristic /1FB/COMPANY/Company errors occurred in the system with RFC destination . As the changes have already been defined in the local storage location this results in the master data being asynchronous between the local and remote storage location.
    System Response
    Processing is continued.
    Procedure
    Carry out a manual synchronization of the master data later using report UGMD_BATCH_SYNC. You can find additional information there under Application Help.
    FYI, RFC Destination for my data basis is left blank.
    What may causes this error and how to resolve it?
    Thank you.

    Hi MontyBurns,
    May I know what settings that I need to check in UGMDSYNC program? As far as I can tell, there is only one parameter that we need to specify in the program i.e. Field Name. As I am trying to synchronize from BCS to BW, I have chosen the followings settings:
    Source = LOCAL
    Target = ALLBW
    All,
    Interesting thing that I notice after executing the UGMDSYNC program is the following message:
    Synchronize/Display Variances Between Systems
         The compound dependencies for the attributes or texts are not defined
         uniformly in the systems investigated.
         Example:
         Texts are defined as language-specific in the local systems and as
         language-independent in remote systems (for example BW systems). The
         same can apply for other compounds such as version or time dependencies.
    System Response
         The display of differences between the systems will be affected. A
         manual synchronization will not be completely successful.
    Procedure
         1.  Ensure that the dependencies for the attributes and texts are the
             same in all systems.
         2.  Start the synchronization process again.
    Procedure for System Administration
    I can check the attributes and texts in BW via RSD1 by specifying InfoObject = 0COMPANY and checking the Master data/texts and Attribute tabs. But how do I check similar settings in BCS Workbench? I can't determine whether the Company text is language-dependent or not simply by displaying specific Company from Process View > Master Data > Consolidation Units > Company.
    Thanks.

  • How to delete values from extension collection field through importer?

    Hi Experts,
    We have created one extension collection field in Master Agreement.
    We are able to add values to that collection field using Extension collection template CSV file through importer.
    Now we have a requirement to delete values from the Extension collection field through importer using CSV file.
    If anyone have template or idea please share with us.
    Thanks in advance!!
    Regards,
    Lava.

    Hi Agrawal,
    Thanks for you helpful information.
    Regards,
    Lava.

  • Error in posting data to buffer: CL_RSPLS_DELTA_BUFFER_B unf Form READ-06-

    Hello,
    I have a problem in executing functions in my planning folders which contain hierarchy variables in the filter of the function. 
    Whenever I run a SAP standard function which has a hierarchy variable in the function filter, I get an error meesage.  The function copies the values, and when it tries to post them to the buffer I get an error message and the planning workbook gets logged off from SAP.
    The message:
    u2022Programm Fehler in Klasse     SAPMSSY1 Methode: UNCAUHGT_EXCEPTION
    u2022Systemfehler in Programm      CL_RSPLS_DELTA_BUFFER_B unf Form READ-06-.
    It seems to me that there is an error in SAP which involves reading the hierarchy in my filter, this leads to the above mentioned error when the system tries to post the data to the buffer.
    System info:
    SAP NetWeaver BI 7.0
    We have patch level 20.
    Help regarding this problem would be appreciated.
    Regards,
    Julian

    Hello Gregor,
    thanks for your response.  The error is in the planning workbook, the transfer button doesnt work, but Save does work.
    The problem seems to be that I have a help query which runs before the plan query.  The help query has a Hierarchy user exit variable which the user cannot input values, this reads certain master data.  This is in the Static filter.  In the dynamic filter is an input hierarchy variable (same characteristic as the exit variable).  This receives the values from the user exit variable.  The input hierarchy variable is also in the Plan Query where I have the buffer error message.
    If I take the Hierarchy variables out of the help query and put them in the plan query, then it works, no error message.
    Conclusion:  it seems that the system has trouble posting data in the buffer if you have a hierarchy variable in the help query. (it works fine for non Hierarchy variables)  We debugged it, and the SAP program does not recoginize -06- assigend element in the program.
    Is there a SAP note to correct this?  I found one that was very similar to my problem but it is old, for level 10.  We are on patch level 20.
    Thanks for your help,
    Julian

  • How to delete value in the header line of itab

    dear all,
    i have create an internal table.
    i would like to delete value of the header line after have used read table to read the contents.
    how can i do it ?

    If your internal table is something like this:
    data: begin of i_mara occurs 0.
    include structure mara.
    data: end of i_mara.
    That clears the matnr field of the header line...
    CLEAR i_mara-matnr.

  • Form Designer Form. Is it possible to delete a form after it is created?

    Hi
    Is it possible to delete a form once its created in the system?
    Regards Glenn

    GlennA wrote:
    Hi
    Is it possible to delete a form once its created in the system?
    Regards GlennIn case you are interested, following can be done at database:
    Say, if you want to delete UD_ABC form (Process Form/Object Form/Parent Form/Child Form)
    delete from FUG where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from OSI where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from UNM where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from MSG where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from MST where MIL_KEY in (Select MIL_KEY from MIL where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC'));
    delete from RML where MIL_KEY in (Select MIL_KEY from MIL where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC'));
    delete from RSC where MIL_KEY in (Select MIL_KEY from MIL where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC'));
    delete from MIL where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from ODF where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from OIU where ORC_KEY in (Select ORC_KEY from ORC where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC'));
    delete from ORC where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from TOS where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from SDC where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from SDL where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from RAV where SRE_KEY in (select SRE_KEY from SRE,SDK where SRE.SDK_KEY=SDK.SDK_KEY and SDK_NAME='UD_ABC');
    delete from SRE where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from SDK where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from WIN where WIN_KEY in (select WIN_KEY from WIN where WIN_WINDOW_NAME = 'tcfrm' || 'UD_ABC');
    delete from SEL where DOB_KEY in (select DOB_KEY from DOB where DOB_NAME LIKE '%UD_ABC');
    delete from DOB where DOB_NAME LIKE '%UD_ABC';
    drop table UD_ABC;
    Disclaimer: Oracle does not recommend deleting forms.

Maybe you are looking for

  • Reading a XML file in JBoss

    Hi, I have the code below to read a xml file into a DOM, as a standalone class it works fine, but now I want to have this class as a bean, and I don't know how to get the xml file path. I'm using JBoss. package meuPacote; import java.io.*; import jav

  • How do I change the color of the background in the Fluid GridContainer?

    When I began the project the client wanted a black background- and now she wants a white background- and I can't figure out where to change it. Would anybody know the right location Basically trying to lose the black margin lines on either side of th

  • How do i talk to a human being from Adobe?

    need phone number please everytime i open a pdf i get a pop up to register now, register later, im tired of signing in to open a stupid pdf. i created and signed in and yet it still happens.

  • Ethernet printer no longer available after upgrading Airport

    I had an older Airport wired into a router. An older ethernet printer was also wired into the router. I was able to print from various computers on the wireless network with no problem. Today I upgraded my dying Airport with a new Airport Express. I

  • ICC profiles jpeg in SWF

    Hi, Is it possible to embed an ICC profiled (CMYK/RGB) jpeg image in the SWF file? From which flash player version is it supported? Are there any API's in action script 3.0 to help creating the same? Thanks Rahul