LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pass data to difference case

Now I'm doing a programmer software. My program keep running in a while loop. I fail to transfer the data from a case to another case. When open the file, it in TRUE case, after that it will change to FALSE case. So the file can transfer from the OPEN file case to another case. Please refer to the file attach and teach me what function I have to use to solve this problem.
0 Kudos
Message 1 of 6
(2,906 Views)

Hi Rothmans

Actually i have 7.1 version installed in my system.

U save that file as 7 version then send it again.

Then I will solve ur problem

Regards

Rohit

0 Kudos
Message 2 of 6
(2,903 Views)
Hi Rohit,
 
Actually I just attach my concept what I would like to do on my program. I unable to save the file to Version 7.0, here I print screen that file. My main problem it I can't tranfer the file between case structure. Thank you for solving my problem.
0 Kudos
Message 3 of 6
(2,897 Views)

Hiii, Rothman

             Can you please explain something more about your vi, that which kind of data you are taking and transfering in which conditions, what are the condition to transfer the data from one case to other, we can solve something out of it.

Thanks,

Nishant

Message 4 of 6
(2,887 Views)
Hi, Nishant
 
         Ok, on the block diagram I have a few "Case Structure" inside a "While Loop", and I have 5 button in the Front Panel. That is Open, Program, Read, Verify and Stop button. Each time I only can run one function bye press theose button. My problem is when I run "Open File vi, the data can not pass out to the "Program Device vi". I guess, It because of after I press the "Open" button the Case Structure of "Open File vi" change to "TRUE", and the file is open. But after that the "Open File vi" Case Structure change back to "FALSE". So I can't get the data from the "Open File vi" when I press "Program" button. When I delete the Case Structure of "Open File vi" I can get the data transfer to other vi... can you get my point??
 
Please ignore the "Read Back Data From Device" and "Verify the data on Device and array" vi. Because I haven't complete yet.
0 Kudos
Message 5 of 6
(2,878 Views)
The most efficient way to acieve what you say would be  by using event structures and shift registers to pass data between iterations of while loop.
 
Run the attached VI
 
Also read these links
 
 
 
regards
Dev
0 Kudos
Message 6 of 6
(2,868 Views)