I know this would be very easy with a cFP quad Unit module. However, there is no budget with this project. In fact, our initial idea was to use a DAQ card for the control of this oven which would allows us more easy ways to control, and within our budget with surplus. However it was suggested to us to use Fieldpoint as it is more robust which unfortunately comes with a price, hence, no choice we have to use a workaround method for this using the DIO module, as I also need Digital Input and Output, but there are still extra points on the DIO module.
My encoder speed is very slow, hence it should be alright to count the number of pulses of the DIO on-off bits.
My problem was that, every time the DI turns ON, the increment in the while loops increments many times and does not only increment 1 time. I only need it to increment 1 time, is there any method to reset it? It will also be good if I can use the DI to control a boonlean that latches or "latches" since field point does not accept latching commands.
In fact, I am very stressed and troubled by the control of this equipment using labVIEW, till date, I have yet to find a suitable program architecture for it. I am finding labVIEW very easy to learn but very hard to apply and use. I have no doubts that this is a powerful program. I have seek technical support but it seems like it is not a very good channel for me currently as this project have been dragging too long, about 3 months, and I have terribly troubled NI for 3 months without much progress. I have a feeling that they are also frustrated with my many questions.
I was told to look for a system integrator, but I do not have that budget, especially when the charges are not very low and they did say that this is not a simple program to do using labVIEW. Hence, I have no choice but to stick my head through this project which has technically failed due to the control in a way. Initially, my company was still thinking of using labVIEW to control of the automation systems we designed which are currently controlled by PLC at the moment.
I have modified my program a lot of times, using producer consumer, state machines, queued etc, but yet to get a good program architecture where the program performance from the fieldpoint does not lag, especially as my oven control includes Modbus commands that gives me framing error constantly which I cannot seem to make it good. I have tried to change the hardware settings, as well as the timeout limit etc, but there is always the framing error, which I think may be a reason why this response is so slow.
I am at my ends with this project already, hence seeking advice on the forum.