LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible indixing a condition structure?

Dear Ed,
Sorry for my english, I'm contacting from France.
The program attached is my solution desired (version 6.1). When B1 is True, the premier sycl (0) of machin starts and my acqusition data starts to save in (Cas0). And, when B1 is False, the sycl is finished and the file path must be changed for (Cas1) waiting for data of sycl1, the second sycl must be saved in (Cas1) and.. etc.
This program is turning. But, it has a problem. som time, When B1 is True there are not any nam in file path, and the B2 sends True for some time that make alot of change in path file name for the nexte sycl.
I have tried to apply The "Boolean Trigger" but i could not do some thing, because, i'm biginer in Labview.
I hop that you
will understand my query, you will have a solution.
I would like to thank you for your help.

Best reagards
Anward
0 Kudos
Message 11 of 14
(548 Views)
ON the other hand, when i apply this progrm on the principale acquisition programm,the while loop stops to put up the ceurves during the Faut single of B1 (temperature as a fonction of time).
Regards
0 Kudos
Message 12 of 14
(548 Views)
First off, no need to apoligize for your English. It is 100 times better than my French.

Looking at your appliaction, the only way I see for the path to be empty is for the outer structure of your indexing case structure to receive a True. This will then generate an empty string to the 'String to Path' function. What is probably happening is the logic that generates the the boolean value that is connected to that outer case sometimes generates a True, so you get the empty string.

This boolean logic is where I would start looking for the problem. Since you are comparing munbers to get one of the inputs to the 'Exclusive Or' function, the loop timing could be causing some problems. It could be som
ething as simple as another application running in the background slowing things down to mess up your logic. Things like virus scanners and Windows networking can cause these types of problems.

The Boolean Trigger should be placed on the diagram as a sub-vi and connect the input and output as needed. The attached image shows how it might be connected to your indexing case.

Let us know if you find anything.

Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 13 of 14
(548 Views)
Ed,
It is the solution that I' looked for.
Have à nice time
Merci
0 Kudos
Message 14 of 14
(548 Views)