Hi,
I need help with mi VI's - a lot of errors appear and the need to optimize the entire VI
I'm using cRIO-9024 with NI's 9234, 9237 and 9482. All VI's are flom LV2018.
Procedure should looks like:
1. I fill the tank semi-manually by latch switch on host vi. For this I use 9234 and one channel of 9234.
! For safety reasons it is not acceptable that it freezes in the on position, i.e. when the FIFO is full and the program stops.
2. When the tank is full, I start writing data from all channels to the tdms file.
3. Then I open a fast acting valve, controlled by an actuator and 9482.
4. When the pressure on one of the transducers reaches half of the target value, a countdown begins.
5. After 10ms, the 9482 opens the valve with a second stream of fluid.
The whole experiment takes up to 5s.
The maximum data rate (51.2kS/s/ch) is required.
Now im using 8 channels of 9234 and 9237, but In the future next two 9234 will be attached.
FIFO stream data with rate of 24 bits and 8191 requested elements.
Looks simple, but:
Almost always the FIFO fills up before the first valve opens.
Often the program crashes and loses contact.
The tdms files are often empty.
And as I mentioned above - 9481 shoud be reliable.
I will be very grateful for any help
kind regards