Value of cluster lost when you leave the structure of the case

Hi all

I'm having a problem with a particular VI I'm working. (FYI it's in Labview 8.0)

The VI is set to run a current source, voltmeter and thermometer, then recording and graph the data in various ways that can be selected by the user.

Everything seems to work fine except a particular graphic method. When I try to graph current compared to the tension, the current value is lost estates. In a case the current and voltage are combined to form a cluster, and then leave the case structure to be later appended to a table of cluster.

However, the value of the cluster is lost when the chart is set for the voltage vs. Any other method and it works correctly.

I can't understand why this is happening as it does not make much sense than other methods of work charts, but this one isn't when it is coded the same exact other than having the different variables.

I have attached the VI with added indicators showing that the value of cluster is lost once he leaves the box structure. Any help would be appreciated.

Thank you very much and I apologize for my extremely messy VI.

-Nathan Cernetic

You really need to boil this down to something we can run and reproduce the problem.

Have you tried to break a few relevant connections and rewire? Something is possibly corrupt.

Besides being a mess, your VI has quite a few glaring errors.

Let's take a look at the structures at the top right:

  • 90% of the code is the same in all the structures of three cases, so all that needs to be inside the structure is the small part where you built the table 2D. All the rest is outside of the case.
  • The structure of the sequence has no useful function.
  • Why do you need to reverse the table with each iteration of the small loop FOR? Once before the loop would be sufficient. Right?
  • Why you use table built inside the small loop FOR, but no autoindex on the edge of the loop? All you ever get is an array containing exactly one element, no matter how the loop runs. Seems unnecessary! (see below for an alternative image).
  • You wouldn't even need to reverse if you want to use "built the table" instead of "insert into the table at position 0" in the central part.

Other: You constantly hammer all nodes of your property. The only need that will be called when things change. Again, you have far too many cases. For example, in the structure of the case where you are having problems, the same nodes of property exist in all cases. A single instance of the property node belong outside the case and only the string inside each case constants. Whenever the code is the same in all cases a case structure, which code belongs to the outside!

Tags: NI Software

Similar Questions

  • stop editing the page warnings when you leave the page

    My browser Safari keeps harassing me with warning on saving the changes when I leave a page or a saying that you need to return the information to another page. How can I stop these warnings.

    Bob,

    I see that you have a problem with the Safari browser, which is an Apple product.

    You need access to this page: Apple Support for Safari

    See you soon ~!

  • Packets lost when you use the switch

    I'm totally stumped on this one.  Can anyone think of a reason why I would be a 25% packet loss when ping between the two machines on my network when it is connected through a switch and 0% packet loss when it is connected through a normal hub?  This translates into the loss of connection hosts frequently.

    I have two ESX hosts, a VC and a storage server network through a switch Dell 2216 shared.  This is just a small test network to help me to learn and experiment.  Choose any machine in this configuration and ping to any other and you encounter ignored packets.  Exchange the switch with a hub and the problem is solved.  I have tried a different Dell 2216 and even went and got a Cisco catalyst 3550 on shelf with no configs, to rule out a defective switch.  Still no packet loss.  As soon as I plug the rear hub, zero problems.

    I checked the NIC detection automatic speed and duplex and even forced a full 100, 10 half full and 10, just to make sure.  all experience packet loss when no switches are used for network devices.

    There was a similar mail yesterday that sounds the same to me:

    http://communities.VMware.com/thread/208724?TSTART=30

    Someone suggested in this thread, I tried deleting the agent of one of my hosts and add new to VC with no luck.

    Someone suggested also a DNS problem that seems promising.  I have nothing acting as DNS server right now and none of my guests or VC have all assigned if DNS servers.

    Thanks for any help anyone can provide!

    What is the result of

    cat/etc/sysconfig/network-scripts/ifcfg-vswif0

    Try manuly adjusting the last byte and restart the network. I'm actually kind of curious to know if it will work.

    Or visit http://communities.vmware.com/thread/134858

  • Firefox Sync settings are lost when you restart the Android device, is this normal?

    I use Firefox Beta v14 for Android.

    After a restart of the Android device, synchronization settings are lost, nothing in the settings 'account and synchronization '.

    Sorry to hear that Firefox is losing your sync account. You have installed Firefox for Android onto an SD card? We are tracking the reports like yours to https://bugzilla.mozilla.org/show_bug.cgi?id=768102. We believe that Android itself is deleting accounts when the Firefox application is installed on the SD card. Can you check if Firefox is installed on an SD card?

  • "When you leave the computer unattended for ten minutes an error pops up that says cannot find the .ocx file flash file.

    "when I return to the computer I have x try it and if I walk for ten minutes and more onus does not find the file flash.ocx.

    Hello

    1 how long have you been faced with this problem?
    2. don't you make changes on the computer before this problem?

    Flash.ocx is a flash plug-in which is responsible for adobe flash player run on the system

    Step 1: Maybe it's that the flash drive is gone corrupt. I would reinstall it again on the system and check if the problem is resolved.

    Before installing Adobe flash player on the system, make sure that all previous versions of Adobe flash player uninstalled from the system. Download the utility on the site mentioned below, install it and run it on the system.

    Uninstall Flash Player
    http://kb2.Adobe.com/CPS/141/tn_14157.html
     
    Once you uninstall Adobe and then try to download Adobe Flash player Adobe website form. Click on the link below.
    http://get.Adobe.com/flashplayer/

    Step 2: Check if the problem persists in the clean boot state.

    Put your boot system helps determine if third-party applications or startup items are causing the problem.

    Try the procedure described in step 1 in the section below to put your computer in clean boot mode.
    http://support.Microsoft.com/kb/310353

  • validate the value to be number when you enter the value

    Hi I have what it takes to validate the value of number when entering for example if am enter the social security number I need to make sure that his number, I try convernumber but when I browse far field he put commas 22,222,222 instead of 22222222.am in jdeveloper 11.1.1.6.0


    Published by: adf009 on 02/2013/14 11:45

    Published by: adf009 on 02/14/2013 12:08

    the property groupingUsed set to false.

     
            
          
    
  • Creaking sounds when you press the case on my laptop

    Hello

    I recently noticed that pressing certain areas on my laptop produced some sounds that crack. The plastic casing will deform (about 2 ~ 4 mm) until she is arrested for something inside. This occurs regardless of power. It's really annoying. I don't know it's plastic case which is the cause of the noise, but I m not sure how to fix it. Also, the lower right side of the keyboard doesn't seem to be fixed down properly, as there is an initial downward movement as key in this area.

    If anyone has experienced this before? Can anyone help?

    Thank you
    Oliver

    Hello

    I've never experienced this before, but I think go you to your local dealer or authorized service partner and check correctly. It must be repaired before something can be broken. Don t wait too long.

    Good bye

  • Hi, I installed an Alfred Workflow (see code below) that will mark all my mails as read. After you run it for a minute, the mail has crashed and I had to forcequit. However, now, when you open the Mail it crashes instantly, even after restart and repair o

    Hello

    I installed an Alfred Workflow (see code below) that will mark all my mails as read. After you run it for a minute, the mail has crashed and I had to forcequit. However, now, when you open the Mail it crashes instantly, even after restart and repair the permissions. I also used the Ctrl + C and CTRL-Z commands in the Terminal to leave the alfred_script, but nothing helped. I'm running out of ideas here, so I hope you could help me either reinstall the mail.app. I could always just switch to a different mail application, but it's kind of a last resort.

    Code:

    Tell application "Mail".

    Define allAccounts on each account name

    Repeat with currAccount in allAccounts

    the unreadMboxes value (each mailbox to the account currAccount the unread number is not 0)

    Repeat with currMbox in unreadMboxes

    (read status of each message to currMbox including the playback State is set to false) true value

    end repeat

    end repeat

    tell the end

    Any input would be greatly appreciated. Can post the report of crash on demand.

    Not sure that Alfred's, but it's just an Applescript script and it would not cause Mail to be planted.

    However, when running through all the messages, it is possible Mail database has been corrupted and it crashes because of this.

    I'll probably get anything out of the accident report, but others might.

    My first instinct would be to rebuild the mailbox. Because you can't do that with him crashing, you can simply delete the databases and it will rebuild them.

    Navigate to this folder:

    ~/Library/Mail/v3/MailData/

    You can either manually through the files, or copy the full path and paste it into go the folder in the menu go to the Finder.

    Remove the envelope Index files. Open Mail and see if it works well.

    If your library does not appear in your folder, hold down the Option key and select library in the menu go to in the Finder.

  • Run a process when you leave a page

    Hello

    Is it possible to run a process when the user leaves a page?

    Let me explain:

    On a page, I have an automatic processing of the line (DML) and a process of PL/SQL. These two processes are running when users click on the apply changes"" button.

    Is it possible to run these two processes ALSO when user leaves the page (click on another tab)?

    I want to do this to make sure that the changes are saved, even if users forget to click on the button "Apply Changes".

    Thanks in advance for your help.

    Have you looked into using a pl/sql dynamic action page unload event?  I've never tried, but if you set the item values in the first stage of dynamic action and then run a pl sql routine that mimics the DML, it can work.  Given that the action would fire after each unload page, probably also needed validation to provide he fire during normal processing.

    Ricker

  • Satellite A100 - line number on the keyboard does not work when you enter the password

    I have an A100 / Pro A100 series satellite laptop, what ever that means.
    Anyway, when you turn the laptop on and asked for a password, I am unable to put in number.
    It appears to the integer line, including BACKSPACE don't work.

    I can use the mouse to select and remove, but that leaves a mark of character in the password box.
    Other buttons work except the row number.

    If I need to connect an external keyboard to verify where I connect (if I can)?
    Any help would be great.

    Can I change the keyboard?

    Hello

    trying to connect a keyboard external usb to check it out. Yes, you can change the keyboard of laptop and it is not a complicated procedure.
    Details how to change keyboard, you can find here

    irisvista.com

    Welcome them

  • Satellite A500-1GL: it is advisable to remove the battery when you use the network

    I know this is a silly question but its actually something I know not so thought I would ask.

    I almost always plug my laptop into the supply line (satellite a500 1gl)
    I was wondering have you actually keep the battery installed even when using the electrical network.
    Or is it really advisable to remove the battery when you use the network?
    I didn't know if the battery should always be in place.
    Thanks for your help
    Torti

    Hello

    A few years ago it was recommended to remove the battery of the laptop if the AC adapter is plugged. What keeps the constant charge battery
    New age of batteries are better you can leave the battery in the Bay it s ok and it should not affect the performance

    However, sooner or later each battery would die it s only a matter of time, you know

  • Crash when you press the [...]

    I got various random crashes when you press the button [...] in the various 9.0.1, CVI function panels but I have not found a model so far.

    1. open Control Panel function for SetCtrlAttribute
    2. for "Attribute of control", press the button [...] and select the item of «Format"under «Format and precision...» "found under"control settings.
    3. press the button [...] to 'value of the attribute.  For me, he won every time CVI.

    Thanks in advance for any help!  If all goes well, there is a quick fix that I find this feature very useful.

    Hello

    It is a known issue with CVI 9.0.1.  This link should fix the problem for you.  Let me know if it does not work.

    NickB

    National Instruments

  • Need to reset the button by default when you use the structure of the event?

    When you use the buttons with a mechanical action "releasing lock" to only trigger the same structure with the same 'value has changed', the button does not jump upwards as you would expect.  I can get to behave as I want by adding a "default reset" invoke the node, but this seems somewhat exaggerated.  Is there an easier way to get the button to jump to the top after pressing on?

    The button will reset once it is read by the code. This means that the terminal is inside the structure of the event. If you move outside the terminal, it would read only the beginning of the race and then never and it will not be reset.

    If the terminal is learn the structure of the event, it is read by the code (even if it is not connected to anything) and it reset as soon as the event has a chance to run.

  • Selected pass contains a string indicator combo box when you press the Enter key

    Hello

    How to pass selected contains a string indicator combo box when you press the enter keyboard key?

    Right now I use a button to send the command selected in the combox to string indicator.

    The photos shows a combo box with the button that I use to send to the indicator as example.

    After the user selects the text to pass, "send the cmd" button must be pressed to pass the string.

    I need to pass the selected string when the user press enter on the keyboard rather than press the button 'send cmd '.

    Kindly to you needing help.

    Hello

    You can use a structure of the event to capture keystrokes and filter, transmit only the drop-down list box "value of the indicator of channel when you press the return or enter key."

    Let me know it the joint allows an example (in LV 8.6).

  • Error in get LV class by default when you open the default printer

    I am using vi text report easy to print text to the default system on a touchscreen Windows XP Embedded PC printer.

    When I run the simple VI I wrote (attached) I get a file not found error 7 in the LV ranks default vi when new report vi is called.

    The path in the default on the LV class value get's strange appearance; Here it is:

    c:\Torqo\USB Example.exe\1abvi3w\vi.lib\Utility\NIReport.llb\Standard Report\NI_Standard Report.lvclass printer

    The first elements of the way little look OK - player C and file Torqo that I'm short and the name of the application. Then it seems really weird.

    I use remote debugging on the touchscreen integrated for XP but it has the same error if I just run the .exe on the touch screen

    I can open Internet Explorer on the touch screen and print from it to the default system printer (it's an Epson printer).

    It smells kind of some package DLL or runtime package is not loaded on the touchscreen - but what it could be?

    I loaded the LV 2010 Runtime Engine LVRTE2010std.exe and the VISA DURATION visa503runtime.exe

    My vi normally works on the development of Windows XP SP3 without error System.

    In turn is a simple way to imitate printf or print serial port inside Labview, only to a USB port?

    I just need simple ASCII text that is sent to the connected USB printer.

    Any ideas for me?

    What's with the weird class path?

    I am a fairly new LV programmer but a Windows .NET programmer for a long time.

    Thanks in advance.

    I have no experience with the help of LV with XPe, so I can't help you there, but I can talk about the way - the EXE is essentially a folder structure that has been compressed into a single file. Inside this structure, LV place shipping screw in a folder called 1abvi3w so that they can be referenced by using a logical path (1337 is to avoid potential collisions).

    The only thing that I can suggest the hand is that you go into the build specification and explicitly include the report class when the generation by adding it to the section to always include. Theoretically, this happens automatically when you use the class, but maybe something is malfunctioning? Perhaps XPe does not pathnames within files exe or dynamics of decompression of the EXE file?

    If this does not work, you can also change the specifications of construction to place the report class at a specific location outside the EXE or go to the Advanced page and set the build to use the 8.x - style paths, which could help you, because I believe that it should generally put classes to report outside of the EXE.

Maybe you are looking for

  • X 300-11 of Qosmio - cannot start

    I'd appreciate any help any startup issues that struck my X 300-11. The startup process appears as instance, but stops after the microsoft corporation loading bar. A clicking sound is heard within the computer and the charging light flashes in time w

  • OfficeJet J6480: Printer Test Page

    Connected OfficeJet j6480 for ACER PC with Windows 7 Home Premium.  Driver was installed for this system.  Cannot print from programs.  The diagnosis page prints ok but the test page does not print.  A ran the diagnostic test and passed all controls.

  • How can I move my itunes from imac to the new imac 2011?

    How can I move my itunes from imac to the new imac 2011?

  • RAM in g7-1053er

    Hello! Please, tell me how much RAM I can insert to the g7-1053er? On specifications HP support up to 4GB. This laptop has Intel HM55 chipset and processor Intel Pentium P6300 supporting up to 8 GB of RAM

  • Dozens of event ID 10016 DCOM errors

    I receive dozens of event ID 10016 DCOM errors. For example: Machine default permission settings grant Local Activation permission for the application server COM with the CLSID {3EEF301F-B596-4C0B-BD92-013BEAFCE793} and APPID {3EEF301F-B596-4C0B-BD92