FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add temporizings in a sequential labview diagram for fieldpoint products?

I would like to introduce breaks or/and temporizings in a diagram which pilots fielpoint I/O, as I was in a grafcet diagram.
0 Kudos
Message 1 of 7
(4,744 Views)
I am assuming that you would like to have the equivalent of an SFC (grafcet) diagram in Labview. And from what you�re asking about breaks, that you want to perform a pause between the steps.

Because of Labview�s design, performing the equivalent function of an SFC can be done several different ways. Probably the easiest way is to use while loops and a sequence. Each step would be a while loop and the sequence function would cause the program to move from step to step, similar to an SFC. The conditional statement for the while loop would then determine when to go to the next step. If needed, a wait statement could then be added next to the while loop in the sequence in order to create a pause/break between the steps. I have attached a picture to illustrat
e how to do the wait statement.

Regards,

Green Rives
0 Kudos
Message 2 of 7
(4,744 Views)
Thank you very much for your clever response ; it wasn't easy to understand what was my problem. I hope it will go on.
Best regards.
f.fischer
0 Kudos
Message 3 of 7
(4,744 Views)
Is it possible to put FPopen.vi and FPclose.vi outside of the sequence or must I put both in each step ? In this case, how does it work for errors ?
Thank you for your help.

franck fischer.
0 Kudos
Message 4 of 7
(4,744 Views)
FP Open.vi should be in the first step of the sequence if and only if there isn't a loop around the sequence. If the sequence is in a loop, running repetitively, then the FP Open.vi should be outside the loop, as should the FP Create Tag.vi(s)(before the loop executes) and the FP Close.vi (after the loop executes.

Regards,
Aaron
LabVIEW Champion, CLA, CPI
0 Kudos
Message 5 of 7
(4,744 Views)
Yes, but if i put the FPopen.vi in the first step of the sequence, how do I make links between steps (to enter FPrefnumin and errorin in FPcreatetag.vi or such FP.vi ?
thank you by advance. regards. franck.
0 Kudos
Message 6 of 7
(4,744 Views)
Use a sequnce local. Right Click on the border of the sequence and choose Add Sequence Local. In the first frame that will generate data, wire the output of the data to the sequence local. In following frames, the data will be available. In prior frames, the data is unavailable.

Regards,
Aaron
LabVIEW Champion, CLA, CPI
0 Kudos
Message 7 of 7
(4,744 Views)