Possible bug in LabVIEW with help chart

The attached VI reads a group of bytes as U8 from a file and writes the each other in a new file.  It does this by using the function array decimate.  It seems that there is a bug in LabVIEW.  If the '+ 0' is deleted from the code nothing but 0 is written to the file.  If you explore the table that will be written in the file it shows no null values, but the resulting file is always all zeros.  Addition of '+ 0' was a work around the issue.

I'm under LabVIEW version 8.5.

This looks similar to the LabVIEW 8.5 suspiciosly bug, we discussed quite earlier.

Try placing a primitive 'always copy' (from the palette ' application control... control memory') until the file write and see if things improve. Good luck!

Tags: NI Software

Similar Questions

  • Possible to use labview with daq system not of NOR?

    Hello

    I have a daq system and the software from another company that NEITHER. But I want some changes in the software. If the opportunity was to make a new program with Labview.

    Is it possible to use the old system of data acquisition? Is this compatible with Labview? Or I have to buy new hardware?

    Thank you.

    Hi VIassaks,

    Good afternoon and I hope that your well today.

    Thanks for the post.

    LabVIEW can communicate with 3rd party hardware using the library function call is located in the tip under the functions Palette palette. If your equipment is equipped with a DLL at the driver level LabVIEW can communicate with the hardware. However, you must obtain documentation of the DLL so that you can create your own interface for the material of the part 3.

    Another option would be if the hardware manufacturer provided LabVIEW VIs that control their material. You will not be able to use the screws (National Instruments Data Acquisition DAQ) because these screws use the DLL OR-DAQ, which is our software at the level of the driver for our DAQ cards. Other companies use their own software to the driver level to control their own material. Only the National Instruments hardware uses the NOR-DAQ driver that allows you to use LabVIEW DAQ screws.

    Hope this helps,

  • Possible BUG: af:query with several LOVs throws bitIndex exception

    Hi all

    I use the af:query for the search component and I get constantly "bitIndex < 0:-1 error" when searching on a LOV (by typing the value in the part of the LOV not using inputtext does not popup LOV).

    Installation program:

    I use Jdev 11.1.2.1 with JDEVADF_11.1.2.1.0_GENERIC_110907.2314.6081.

    Using the schema HR, I created the entity departments and a Department display object based on the entity.

    I created 2 objects of basis for the LOVs SQL view (not from entities not):

    1. view LOV departments - select * from departments
    2 view of the LOV locations - select * from places

    The two views of Lov were created using the wizard with all the default values.

    In my opinion main departments (based on the entity), I created 2 LOVs for LocationId and for DepartmentId.

    The LOV for DepartmentId returns 2 attributes, DepartmentId and DepartmentName both are mapped to the corresponding attributes in the main view of Department. (I did using the popup "Edit the list of values", in the section 'List return values').

    Finally, I dragged the "all searchable attributes" from the control panel of data to a test page, creating a group of ADF query with table

    The error:

    I type a valid service id in the LOV DepartmentId within the research section and I get the "bitIndex < 0:-1 error.» No results are returned.

    When the server running with - Djbo.debugoutput = console I see the following error messages:

    CtrlAttrs < JUCtrlValueBinding > < setInputValue > [18415]: exception caching: oracle.jbo.AttrValException: Houston-27019: the get method for attribute "DepartmentName" in the PREMISESof VIEW_USAGE_internal_vci_def_values is not resolved.
    < DCBindingContainer > < cacheException > [18416] * updated BindingContainer cache EXCEPTION: oracle.jbo.AttrValException
    < DCBindingContainer > < cacheException > [18417] java.lang.IndexOutOfBoundsException: bitIndex < 0:-1
    at java.util.BitSet.get(BitSet.java:441)
    at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1823)
    at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1962)
    at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:824)
    at oracle.adf.model.bean.DCDataRow.getAttributeInternal(DCDataRow.java:366)
    at oracle.adf.model.bean.DCCriteriaValueRowImpl.getAttributeInternal(DCCriteriaValueRowImpl.java:241)
    at oracle.jbo.server.ViewRowImpl.getAttrInvokeAccessor(ViewRowImpl.java:906)
    at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:854)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1213)
    at oracle.jbo.uicli.binding.JUCtrlListBinding.setTargetAttrsFromLovRow(JUCtrlListBinding.java:2799)
    at oracle.jbo.uicli.binding.JUCtrlListBinding.setTargetAttrsFromLovRowAndUpdateMRU(JUCtrlListBinding.java:2712)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding.setInputValueInRow(FacesCtrlLOVBinding.java:1163)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValue(JUCtrlValueBinding.java:2926)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.setInputValue(JUCtrlValueBinding.java:2889)
    to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$ AdfCriterionValues.set (FacesCtrlSearchBinding.java:3589)
    at javax.el.ListELResolver.setValue(ListELResolver.java:240)
    at oracle.adfinternal.view.faces.model.AdfELResolver.setValue(AdfELResolver.java:162)
    at oracle.adfinternal.view.faces.model.AdfELResolverProxy.setValue(AdfELResolverProxy.java:71)
    at com.sun.faces.el.DemuxCompositeELResolver._setValue(DemuxCompositeELResolver.java:255)


    Note:
    The search works as expected if I only have a LOV attached to the main view. (if I don't have the Department LOV attached as described above everything works fine)
    If both LOVs of DepartmentLOV and LocationsLOV return a single value, the departmnetId and the locationId, without mapping any additional return attributes research as planned as well.

    This is test case the simplest I could create to reproduce the error I see in our code.

    Here is a link to my test project: [http://www.2shared.com/file/QxZJDfax/bitIndexTest.html]

    Help, please

    I'm looking for workarounds / fixes.
    Any advice would be greatly appreciated.

    Thank you
    Sasha

    Hi Sasha,

    which seems related to the bug 12851501 - ARRAYINDEXOUTOFBOUNDSEXCEPTION LIFTING OF VIEWROWSTORAGE CLASS
    expected to be fixed in JDeveloper 11.1.2.2.0

    If you have access to My Oracle Support, there are here available patch (patch 12851501).

    Kind regards

    Didier.

  • Possible bug in Anyconnect with smart card on linux

    Hello

    I got the authentication of smart card Anyconnect connecting Linux using NetId customers.

    My problem is that this only works at first starting a client anyconnect.

    I can do connect/reconnect whenever I want to, but if I left the anyconnect client and restart smart card authentication not working anymore.

    I've nailed sort of problem until beeing associated with the user profile for anyconnect beeing created (including the seams to read at the start of the customer).

    ~/. AnyConnect

    Still further the specific problem with the item seams

    If I delete this specific element of the profile or completely delete the profile, and then restart the client, smart card authentication will work.

    Newspapers anyconnect not sewing to shed light on the problem.

    Print written in the profile is always the same.

    Hope that is understandable and someone could give an explanation to this.

    Do not hesitate to ask if something is not clear or you would like more information.

    Best regards

    / Mattias

    Mattias,

    Please understand that these issues are all new to us.  We had not seen before two cases I know has opened in the same week as yours.  If you wish to pursue a fix, beyond the solution of effective workaround for this add-in, open that a TAC is necessary so that we can collect the details and file another bug.  Please be sure to include in your case, notes of the opening so that the TAC engineer who gets it may be noted that workaround.

    -Craig

  • possible bug: ListCollectionView.addAll with filter function

    Hello

    I wrote this post in the "General Discussion" Forum "LFex sdk", I also put it there.

    I think I found a bug in the flex SDK. I checked in JIRA and it seems it is not reported.
    This simple code raise an 'out of bouds exception' (flex SDK 4.1):

    var list: collection ArrayCollection = new ArrayCollection();

    list.filterFunction = filter;

    List.Refresh ();

    var items: ArrayList = new ArrayList ([1,2,3,4,5]);

    list.addAll (items);

    Function filter(obj:Object): Boolean {}

    var n: Number is obj in numbers;.

    return n < 2;

    }

    I checked the code in mx.collections.ListCollectionView and it's obvious: addAll called addAllAt. "addAllAt" launches a call loop on the list to add and calling the addItemAt for each element, but it increments the index arguments, even if the previous item has not really added (because of a restriction of the filter), and the "out of bounds exception occurs. In my opinion, addAllAt must be changed as as follows:

    current version:

    public function addAllAt (addList:IList, index: int):void {}

    var length: int = addList.length;

    for (var i: int = 0; i < length; i ++)

    {

    this.addItemAt (addList.getItemAt (i), I + index);

    }

    }

    proposed version:

    public function addAllAt (addList:IList, index: int):void {}

    var length: int = addList.length;

    for (var i: int = 0; i < length; i ++)

    {

    var to: int = I + index;

    if(at>Length) {}

    a = length;

    }

    this.addItemAt (addList.getItemAt (i), to);

    }

    }

    Should I open a bug? Or am I missing something?

    M1kal

    Fill out a bug report.

  • Possible bug: save the table with double and extended precision to the worksheet

    If one concatenates an array of double-precision and an array of precision extended with the 'build' vi table, then recorded using 'Write in a spreadsheet file' vi any digits to the right of the decimal are reset to zero in the saved file. Regardless of the entry of signifier of format (for example %.10f) to the vi 'Write in a spreadsheet file'.

    I'm on Vista Ultimate 32 bit and labview 9.0

    This is a possible bug that is easily circumvented by the conversion of a type before you incorporate arrar in a worksheet. Nevertheless, it's a bug and it cost me some time.

    Hi JL,.

    No, this is not a bug - it's a feature

    Well, if you'd look closer you would recognize the 'save to spreadsheet' as polymorphic VI. As this polymorphic VI does not support the EXTENSION numbers internally (it only supports DBL, I64, and String) LabVIEW selects the instance with more precision: I64 (I64 a 64 bits of precision, DBL that 53...). Your options are:

    -the value of the instance to use as the DBL (by right click and "Select type... »)

    -make a copy of this VI, save it under a different name and make support number of POST (not rework the polymorphic VI like you would break compatibility with other facilities of LV or future revisions)

  • Are you aware of a possible bug in the version 3.6.23? In the browser, for example, "two /" appears with the slash through the 'o'. Is this a known bug? Thank you

    Are you aware of a possible bug in the version 3.6.23? In the browser, for example, "two /" appears with the slash through the 'o'. Is this a known bug?

    When the same text is seen in another browser, it is displayed correctly as "two."

    The same question is displayed on another computer.

    Thank you.

    Sounds that you use a font that supports ligatures (Palatino?).

  • Possible bug with waveform graph

    LabVIEW bug recently while I was going to create a vi to convert grapg labview in trend, I find a little bug graph labview and the roots of waveform that is impossible to solve unless the national instrument correct codes

    bug is that invert mood of the chart if your minimum data are not zero, starting point of the grid is not working well and then you loos your grids.

    anyone else having the same problem? You can find more explain in my LinkedIn Natalie Ford


  • With the help of LabVIEW with NI VeriStand

    Hello

    I try to use Labview with NI Veristand, when I followed the white paper here:

    http://www.NI.com/white-paper/11135/en

    I do not see the same menu detailed in step 4 (OR veristand is not listed on the menu - see attachment). I have NI Veristand installed on my computer.

    Do I need to install an additional extension?

    jtur wrote:

    I'm under Labview 2011 SP1 and Veristand 2011 SP1.

    In what order did you install?

    VeriStand before LV installation could be a problem.

    I had the same version of VS and LV you obtained as appropriate, and the variant of menu is available for me.

    BR,

    / Roger

  • Dashboard LabVIEW with other web servers, such as a PLC

    Hello

    Is it possible to use labview dashboard with other web servers, like an automaton?

    Kind regards

    Vadie

    Vadie,

    For the dashboard of data communicating with a controller, you will need to have a Windows PC or target RT OR in between.  I hope that this image helps illustrate this.

  • Beginner question absolute to the Labview with GPIB connection device

    Hi all

    Firstly, sorry if my question is already posted, but I tried searching with nothing doesn't.

    My situation: I have a HP digital osciloscope, a HP 54602 B using the GPIB and trial version of labview 8.6. Now, I want to communicate with her from labview. The big question is: how? Before that I used only labview with NI DAQ card and serial port for communications of the instrument.

    the detailed question

    1 is it important (to programming in labview later) what GPIB interface that I use in my computer? Must be of OR? I still have no interface right now.

    2. I ran a search on the osciloscope Web site of NOR and find an instrument driver in:

    http://sine.NI.com/apps/UTF8/niid_web_display.download_page?p_id_guid=E3B19B3E93F7659CE034080020E748...

    . How do they come?

    3. I know there are a few examples for the GPIB, but since I do not have the interface, I can't try it. Is it possible to simulate instruments GPIB?

    Thanks for all your help and assistance

    Hi opiq;

    Welcome to the world of instrument in LabVIEW Control!  I'll try and answer your questions one-at-a-time:

    1. N ° from a point of view of LabVIEW, you can use any interface supported by VISA and your instrument bus.  This includes (but is not limited to) boards of NOR-GPIB, 3rd-party GPIB, USB, LAN, LXI, VXI, PXI, etc..  Of course, if you do not have a GPIB interface, I would recommend a NEITHER - this is the safest way to get the experience 'it works '.  I tend to use an adapter USB GPIB (DISCLAIMER - I work for the OR).
    2. You have two options for installing the device driver.  "" The simplest is in LabVIEW to select Tools "Instrumentation" instrument Drivers find... and use our instrument driver search tool which will be step helps you locate, by downloading and installing the driver.  The other option is to download the zip file, unzip it in \National Instruments\LabVIEW 8.6\instr.lib and restart LabVIEW.  So if you look in your palette of instrumentation, you should see the driver listed under instrument drivers.  The pilot will include some examples of the use of the driver (are all certified instrument drivers).

      In fact, I would recommend this driver rather than that you connected.  It is a more modern design and install examples in the viewfinder of the example ("Help" find examples...).

      Here's a video of the above process (for a different instrument, but the process is the same)

    3. Unfortunately, there is not an easy way to simulate this instrument.  I would just recommend familiarizing yourself with the examples before acquiring a GPIB interface.
  • Permissions lost on vCenter Server 4.0.162856 - Possible bug?

    Hello.

    We have a VMware infrastructure in which each person has several virtual machines, as well as several VLANs for their private use. To avoid the possibility of users mess with others "machines" or VLAN, I started today test the parameters of different role. During one of those tests, I think I came across a bug.

    I tried to assign read-only access to the group 'Users' to our virtual switch distributed so that people could use VLANs but not modify them. Because it is not possible to assign permissions to a virtual switch directly, what I was doing was creating a folder and assign permissions there. The problem is that, as soon as I set up the permissions for the 'Users' group, these permissions have been apparently applied to one, 'administrators' so, subsequently, I am unable to manage the VLAN more even from the administrator account.

    I took a screenshot of the configuration of authorization, indicating also that I can't change anything. It is available at the following link

    http://img408.imageshack.us/img408/5048/screeenshot.jpg 

    I would be very interested to know if there is a known bug, but more important still, if there is any way I can roll back to the previous configuration. I guess it would be possible to restore the previous configuration of editing the SQL database directly, but, unfortunately, I do not know what I would need to change, it

    Any help would be greatly appreciated

    Daniel

    OK, back to the top of your first database... and I'm just a pirate at heart, no vmware support, so I'm not responsible for what anyone, if anything goes wrong, but...

    On your SQL server server, open the VPX_ACCESS table and look for a line with ROLE_ID-2, which is READ only and the main of "users".   And then delete.

    That should fix it. You may need to restart the server vcms to read however.  If you have made other changes to directors, they will show in the same table and can be changed or repaired in the same way.

    FYI, ROLE_ID-1 is the administrator privilege.

  • Chart how many plots with wpf chart

    This is probably a very basic question, but I can't understand how the chart more than a set of data with the chart WPF in VS2010.  There is a DataSource property on the chart, but I don't see the same on each class of land.  I can't find any documentation on the source property of the chart data.  Can I pass an array of doubles and he plots very well but now I need to draw two sets of data.  Can anyone help?

    The DataSource property is documented in the how: map and graphic subject and on the GraphBase class (which is the type that defines the property). However, it seems that these issues do not directly address your question multiple plot; I put in a request to improve this.

    To answer your question, if you use DataSource to pass an array of double values in a plot, you can use a collection to pass data to multiple locations (for example a double[][] , a List , or a ObservableCollection ).

    Otherwise, you could use the Data collection to provide each parcel with data; for example:

    graph.Data[0] = /* double[] for plot 0 */;

        graph.Data[1] = /* double[] for plot 1 */;

    ~ Paul

  • There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    Hi, I m a bit new in LabVIEW and I'd like to ask a few questions...

    -There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    -One API PI or raspberry beaglebone exists for LabVIEW?

    -Power supply Wich can recommend you control with LabVIEW? (some chip solution witn 0 - 30v / 0 - 3A DC)

    Thank you very much for your advice!

    Best regards

    Elena

    Elena,

    I know raspberry, so no comment on that.

    For the rest:

    -Do you want to create tools for developers? If so, we must look in the API of project VI and VI server. If this isn't the case, please compile your application LV as executable and call this one using a batch file.

    -LV prefer specific supplies. LV is a programming language. There are several power supply providers (including OR) which provide directly the LV API for their power supplies. So, essentially, the approach is:

    1. choose food that serves your needs.

    2. check if the power supply has a standard interface for programming (such as Ethernet, GPIB, or if the power supply is PXI, is already providing a programming interface!)

    3. check if the LV API (so-called "instrument driver") is available for the device. In the case of a PXI system, get you a device driver (for example NI DCPower).

    4. check if the LV samples are available (for example in the Finder for example LV once you have installed the driver).

    Norbert

  • Compliling VI in LabVIEW with cRIO-9004 controller and chassis cRIO-9104

    I tried to compile in LabVIEW with cRIO 9004 and cRIo-9104 connected.

    It has three options

    (1) use the server local compilation.

    (2) to connect to the network compile Server

    (3) to connect to the service of LabVIEW FPGA cloud compile

    But I'm unable to compile my program using one of these.

    How can I get my compilation made? Help, please.

    Thanks YouCp

    Service provider shared's Standard Service program is an annual fee of NOR, which in turn allow you to update your modules and LabVIEW and benefiting from the support of NEITHER.

    https://www.NI.com/services/software_benefits.htm

Maybe you are looking for