Case Structures in LabVIEW 8.5

  • Permalink
  • submit to reddit
  • Email
  • Follow

Is there any way to have a case structure based on different file paths?  In the VI I'm creating, there are limited number of files that a user can read in and I want to have different cases depending on which file path they chose.
Hopefully this question is worded well enough for you to understand what I am asking for.  
Thanks! :)
Reply x9561 (148614) 6/11/2008 6:40:07 PM

See related articles to this posting

Don't know what your paths look like, but you could do something simple, like this:<img src=""> Message Edited by smercurio_fc on 06-11-2008  01:21 PM

Reply x9561 (148614) 6/11/2008 6:40:08 PM

That's exactly what I needed.&nbsp; Thanks!
Reply x9561 (148614) 6/11/2008 6:40:11 PM

I am assuming that with "different file paths", you mean different files in the same location. Is this correct?
Let's assume that all the files are in the same location.
In this case you could also just strip the path and wire the filename to the case structure.
It is somewhat better self-documenting. :)
<img src=""> Message Edited by altenbach on 06-12-2008  12:56 PM

Reply x9561 (148614) 6/12/2008 8:10:07 PM

Thanks but the files aren't in the same location.&nbsp; It's a good idea though.
Reply x9561 (148614) 6/12/2008 10:40:06 PM
comp.lang.labview 35383 articles. 14 followers. Post

4 Replies

Similar Articles

[PageSpeed] 50

  • Permalink
  • submit to reddit
  • Email
  • Follow


Similar Artilces:

LabVIEW 8.5 Case Structure
LabVIEW 8.5 crashes when I make Duplicate Case structure while Terminal is inside of case. &nbsp; I have attached an example pdf file LabVIEW 8.5 case test.pdf: 8.5 case test.pdf ...

Can LabView 8.5 read LabView 8.5.1 VIs
Since LabVIEW 8.5.1 is only a bug fix, can LabVIEW 8.5 read any VIs generated in LabVIEW 8.5.1? Simple answer YES. But it&nbsp;will the VIs compile so it is a good idea to make a mass compile in the folder where the VIs are. ...

opening a labview 8.5 file with labview 8.21
Hello,I was working on a project at home with labview 8.21, I nearly finished this project but I addes some stuff at school where they have labview 8.5.Today I wanted to open the labview file on my computer, but It gave an error: labview load error 9: Vi version 8.5 is newer then&nbsp;labVIEW version 8.2.1.Is there any way I can open the file on my computer?Or can I save the file at school als a 8.2.1 file? thnx in advance,Seppe You'll have to reopen the file on a computer with LV 8.5.&nbsp; From there you can do a Save as Previous Version to save back to LV 8.2.1 Hi Seppe, just ...

labview 8.2 llb run with labview 8.5
On the PC I have delete labview 8.2, but I dont find the CD for reinstall. I have a .llb file made with labview 8.2, Can i run it with labview 8.5 or download labview 8.2, I muss install ii rapidelly. &nbsp; tks Costello, you can update the VIs within the LLB to LV 8.5 if they do not have their blockdiagram removed.....hope this helps,Norbert How can I update ? When I start the .vi in the lbb he dont found somme .vi located in DAQmx (wrtie.lbb, start task.lbb,...) How can i install this lbb? thks Costello, if you get loading errors when opening one VI from the LLB like you the ones you ...

LabVIEW 8.0 changed a constant that was wired to a Case structure to a hidden control to maintain compatibility with LabVIEW 7.1 and earlier.
Y am i getting this msg? Hi, muks, This happened because "...LabVIEW does not compile code on the block diagram that does not execute. For example, LabVIEW does not compile any code that exists within the inactive subdiagrams of the Conditional Disable structure. In addition, LabVIEW does not compile code within a Case structure that has a constant wired to it that would not execute the case with the code..."In the other words, if you have case structure, which is wired to T/F constant, then prior to version 8.x both cases will be compiled. From version 8.x the only "executed&q...

How to open Labview 8.5 VI in Labview 8.2
Hi I am using LabVIEW 8.2.I found one ook modulation example project(,it was developed in Labview 8.5.I have to oepn this one in My system mean in Labview 8.2.Please tell procedure.Is it possible or not.?Thnaking you sir. Could you attach that particular vi in your post so that somebody can save it for 8.2 Thanks, Mathan It is not possible directly. Somebody with access to version 8.5 needs to save it for version 8.2. Or you can install Labview 8.5 demo. Works for 30 days.... Hi Mathan,Thanks for your reply.i need OOK Modulation (FPGA).VI and O...

labview 8.2 to 8.5?
I have an older version of labview (8.2) and wanted to know if i could update it to the current version without having to buy a whole new system. Are you asking if there are additional costs to upgrading from LV8.2 to LV8.5? If that is asking, the answer is yes.&nbsp; You can purchase a Standard Service Program (which is typically included for the first year), which means you automatically get upgrades. The other option is to go to this link: <a href="" target="_blank"></a>&nbsp;and select upgrade.&...

labview 8.5 to labview 7.0
i am on my labview working with 8.5but at work, we only have labview 7.0.what would be my best way to get my vi to be 7.0?thank you so muchMessage Edited by krispiekream on 06-19-2008 03:59 PM In order to go from LV 8.5 to LV 7, you will need to have LV 8.5 (save it back to 8.0), LV 8.0 (save it back to 7.1) and LV 7.1 (to save back to 7.0). If it's only a few small VI's, you can post them on the forum and ask someone to do the saves for you.&nbsp; (Best if you do the save back to 8.0 and&nbsp;post that in order&nbsp;to eliminate 1 of the 3 steps for whoever will do the r...

Convert from Labview 5.1 to 8.5
Can someone please convert these files from Labview 5.1 to 8.5? &nbsp; Thanks, Chris Here it is. Mike Thanks! Chris Can someone please convert these files from 5.0.1 to 8.0 or higher? Thanks, Chris DATAQ Here they are as 7.1. DATAQ Thanks. Here they are as 8.5 ...

Perl 5.8.8 or 5.8.9 install
I'm not sure if this is the proper Forum for this particular problem, but I have pretty much tried every place else with no luck. I am trying to install perl, tried both 5.8.8 and 5.8.9, on an HPUX 11.23 with Itanium2 processessor. The make test fails with 4 tests failing. Contant.t, PL_FILES, recurs.t, sem I can send more information if needed, any help would be greatly appreciated. Dana Dana wrote: > I'm not sure if this is the proper Forum for this particular problem, > but I have pretty much tried every place else with no luck. > > I am trying to install perl, tr...

Scilab Gateway under Labview 8.2 and 8.5
Hi Newsgroup, i am a Labview Starter and working for a longer time with Scilab. Herefore, the gateway function is a nice tool for me. When i create a VI with the Scilab Gateway, it works really perfect under Labview 8.2.1 (Jubilee Edition), but under Labview 8.5 the VI seems to be not correct. The "Run"-Arrow is displayed broken, nothing works. Funny Effect in Labview 8.5 beside: In a few cases i've seen the effect, that my VI works just one time, then never again ? Have i done mistakes while installing anything. Or are there hidden registry entries ? Best Regards Andreas ...

Reference Objects in LabVIEW
Several attendees requested LabVIEW 8.5 data for the benchmarks I showed at my NI Week presentation - TS1284 - Reference Objects in LabVIEW.&nbsp; In addition, the severe performance degradation seen in Datasockets going from LabVIEW 7.1 to 8.2 was an artifact of my testing environment.&nbsp; I have fixed it and now actually see a performance improvement.&nbsp; I have updated the presentation and zipped it and the test code in the attachment below.&nbsp; I also tested in LabVIEW 8.5 with the following results, which can be compared to the presentation (same experimental setup)....

SPC Toolkit for LabVIEW
I started using SPC toolkit for a project in Labview 8.2.1, had no problem until I upgraded my system to labview 8.5.&nbsp; It said something like: &nbsp; &nbsp;&nbsp;&nbsp; Some subvis are too old to be converted to 8.5.I went to the Labview Developer suite CD album (labview 8.5), and couldn't find the SPC for LabVIEW, only for LabWindows / CVI.&nbsp; Then I went to NI's website and tried to find more about the toolkit, it seems this one had disappeared into thin air, along with the Enterprise connectivity toolkit (or Enterprice toolkit).Does anybody know if NI...

How to upgrade LabView 5.1.1 project to 8.5?
I need to upgrade a LabView 5.1.1 project to LabView 8.5. Is this difficult? Can I upgrade directly from 5.1.1 to 8.5? &nbsp; Thanks, Isaac iahastin wrote: Can I upgrade directly from 5.1.1 to 8.5? No. &nbsp; See page 43 of the 8.5 upgrade notes: <a href="" target="_blank"></a> &nbsp; &nbsp; I had suspected that LV 5.1 fell by the way-side. You'll have to upgrade to an earlier version and then go to LV 8.5. There may be complications since many things have c...

Labview 5.1 to 8.5 conversion error message
Hello We have some old&nbsp; VIs made with Labview 5.1 on Windows NT 2000.&nbsp; We are trying to back up our system and want to transfer those VIs to a new laptop which has Labview 8.5 and works on Vista. As per your suggestion to someone on a similar problem, i saved the VI in Labview 6 version and then opened it using 8.5 version.&nbsp; A warning appears as follows- Please explain is this a serious warning or should i just ignore it? If it is serious, how to open my VI in 8.5 without getting this warning? &nbsp; "; Front Panel&nbsp;&nbsp;&a...

Moving from Labview 8.0 -&gt;8.5
Hi there, I was developing in Labview 8.0 and things were going fine. However when I upgraded to Labview 8.5 my solution just began to behave wierdly. &nbsp; My event parameter from a&nbsp;&nbsp;C# DLL&nbsp;which is an array&nbsp;that were being passed suddenly arrive empty arrays. When I use the Labview 8.0 to recheck, the event parameter was being passed correctly with data. Thus I copied out the C# dlls and created a small portion of the solution with the event handling in a new project in Labview8.5 and behold that the event now works. &nbsp; I would like to know ...

VISA issues when switching from Labview 5.0 to 8.5
Hello all &nbsp; I am using a pressure transducer that I read using RS-232. In Labview 5.0 I used the Read Serial VI and it worked with no issues (I also tested it with the VISA from 5.0 with no problems either). Now I have upgraded to 8.5 and I seem unable to communicate with it anymore. The usual error I get when i try to read is a timeout error. I ran the Troubleshooting Serial Line Monitor VI&nbsp;and it seems to work (RI blinks when the output lines are off, DCD RI and CTS blink when DTR is on, and RI DSR and CTS blink when RTS is pushed) The Basic Read and Write VI does not work...

Upgrading from 32 bit ActivePerl- to 64 bit ActivePerl-
I get the upgrade instructions from an earlier version of ActivePerl to the current one. I found the following: Use Window's Add / Remove Programs applet (accessible from the Control Panel) to uninstall ActivePerl. Manually delete all directories beneath the Perl installation directory (by default C:\Perl) except the site\lib directory. Install ActivePerl to the same directory (i.e., C:\Perl). Use the ppm upgrade command to check for module updates. This seems easy enough, but I see no mention of upgrading from a 32 bit version to a 64 bit version. I am running 64 bit Windows XP on an ...

Upgrade perl from 5.8.6 to 5.8.8
Hi all, Perl N00b here in need of a bit of kind assistance! I am attempting to upgrade Perl from 5.8.6 to 5.8.8 on Fedora Core 4 I have performed the following: Run: perl -V to get the version (5.8.6) Downloaded perl version 5.8.8 and untarred Run: ./Configure -des -Uusethreads Run: make Run: make test Run: make install All goes well - how do i alter my installation to now use this version of perl, as running perl -V returns the same version information? Many thanks for any help! Ben <> wrote in comp.lang.perl.misc: > Hi all, > > Perl N00b here in ...

Can Simulation module 8.2 be hooked to labview 8.5 How?
Hello It might seem odd and very stupid if you have done it before.I previously used a Labview 8.2 system.Now I have upgraded to Labview 8.5 system and Simulation Module 8.2 .I did install Simulation Module and it dint show up in my Labview 8.5 environment.Is there any manual&nbsp; method so that i can add this module on to 8.5&nbsp; . Im sure labview is backward compatibility.Is there a way to add this module to 8.5 so that i can work with this module ?Message Edited by Bharath kumar on 04-07-2008 09:53 AM Hi Bharath, What probably happened is that you installed the module under Lab...

ADI Blackfin 2.5, LabView 8.5 on VISTA problems
I have lot of problems running LabView 8.5 on ADI ADSP-BF537 EZLITE embedded module on VISTA SP1. &nbsp; Below are some examples as *.jpg. &nbsp; Continuing about 3 to 5 times until I can finaly "Build" the application. The same with Linker and Loader. &nbsp; I tried lot af adjustement, running LabView as Administrator and so far. &nbsp; I have spent about 3 days on this project. &nbsp; Does anybody have the same experience or some hints to improve the problem? &nbsp; Peter Horn <a href="" target="_blank">www.pho...

Problem upgrading a Labview Project from 8.0 to 8.5.1
Hi, &nbsp; I have two laptops - Laptop 1 has Labview 8.0 on it, and Laptop 2 has Labview 7.1.1 installed.&nbsp; I've just upgraded Laptop 2 to Labview 8.5.1 and copied all of my Labview 8.0 files over from Laptop 1.&nbsp; I did a mass compile on Laptop 2 and all the vi's work great.&nbsp; I've opened up a Project that I copied over from LV 8.0 and it looks like the Installers are ok.&nbsp; However, when I open the Properties on any of my Applications (EXEs) all of the Information is blank.&nbsp; When I type in the "Build specification name" and use...

Activate labview 8.5 with version 8.2.1 installed
I have a system with labview version 8.2.1 installed. Now we have got a new version, 8.5 witch I have also installed, with the same serial code. When I want to work with version 8.5 it asks to activate, but version 8.2.1 works the way it used to be. Did I instal it wrong? Upgrade insted of a new installation? Or should I unistal version 8.2.1 before installing version 8.5? As Matthew mentioned, all versions need to be activated. &nbsp; There is no reason to uninstall a previous version, you should actually keep it around in case you run into some upgrade issues. &nbsp; Your start menu...

Convert a vi written in LabVIEW 5.1for use with 8.5?
Is there any way to successfully open and convert a vi written in LabVIEW 5.1for use with 8.5? It needs to be opened and saved with an intermediate version, like 7.1/8.0. If it's just one VI or a small set you can post it here and someone will likely do it for you. Message Edited by smercurio_fc on 05-30-2008 02:07 PM That was a quick answer.&nbsp; Thank you. I don't have access to an older version of LabVIEW.&nbsp; It is only 1 small vi.&nbsp; How can I paste it here? Thanks again. When composing your message at the bottom there's an attachment section. Click the B...