From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save values from different case structures

Hi people

I have a system that monitering the connection in a cable and if it is good or bad.

The information ends up in a case structure with 3 different cases. 1 case for NC, 1 case for crosstalk and 1 case for ok connection.
I need to save the data and number of cycles my system has ran in a txt file or similar if it goes in NC or crosstalk.
How is this possible?

My counter system which I have placed in my OK case is running aslong as the connection is good.
How do i draw that number to my other cases?

 

I'll hope you have something for me and thanks in advance. 

Here is a snippet from where you can see my OK case and NC case. 

CompleteSystem_OK_Case.png

 

NC_Case.png

Crosstalk_Case.png

0 Kudos
Message 1 of 7
(4,049 Views)

Frankly there are so many broken wires that it's hard to tell what it is that you are trying to do. Most of the broken wires seem to be because things are not connected.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 7
(4,012 Views)

@08anja wrote:

My counter system which I have placed in my OK case is running aslong as the connection is good.
How do i draw that number to my other cases?


Put the value in a shift register on your loop.  Then you always have the value.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 7
(4,002 Views)

Mike@ 
I thought that it was visible if you compared the first picture, the main program, to the case strucutres below. But yea, I can see what you mean, but the are all connected and working. 

0 Kudos
Message 4 of 7
(3,965 Views)

Okey, and then I just have to keep track of which "arrow-block" from the shift register that belongs to which case, and drag them out to for example a Write To Measurement File.? 

/A

0 Kudos
Message 5 of 7
(3,962 Views)

@08anja wrote:

Okey, and then I just have to keep track of which "arrow-block" from the shift register that belongs to which case, and drag them out to for example a Write To Measurement File.?


That sounds about right.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5