NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

process model callbacks stop working

Hello
I develop an applications in TS3.5 and CVI 8.01, actualy there is a problem in operation of sequences
in background in proccess model, they stop working or dont proccess messages, alarms or RFID
reading for new UUTs.  However the sequences of all UUT in proccess continue working without problem
but we can not start new ones. There is not a message of error for this behavior.
The system work fine fine for 20 hours, it seems to present this fail in morning after a pause of 2-4 hours
when the system is not use.
I  run sequences in TestStand.
PC is Opteron proccesor, windows XP.
 
Have someone a idea about this behavior?  Please helppppp!

DESCRIPTION OF APPLICATION
Process Model have new sequences callback executed in a new thread:
- Start datasocket conections
- Send messages about production to a display
- Monitor of alarms.
- Control the register of new UUT through a RFID tag
I have a main sequence file (client sequence)  from where i call the recipe of the model to assembly
(recipes are in a separate file) and i have there the secuences to replace sequences callback in process
model.
The main hardware for monitor assembly is Device Net using NI-DNET card, i configure it using a dll in
CVI and global memory and callbacks (DNet callback) in cvi to monitor activity on net. All steps in
sequences using hardware, read and/or write to this global memory. I execute this configuration through a
configuration entry point sequence added to process model file. The funtion callback for read and write
DNet keep running all the time till i unload it when i close Dnet.
Al recipes' steps are develop in CVI and run "in process" mode.

PARALELL PROCESS MODEL SEQUENCE
Test UUTs
Inicialize Test sockets
*
*
*
/*Client sequence and callbacks*/
Main sequence
PreUUT
PostUUT
ProcessRFIDreads (select model)
Comunication with display
Monitor alarms
*
*
*
/*Configuration entry points*/
Open DNet
Close DNet
Config inputs
Config Outputs

CLIENT SEQUENCE
Main /*call recipe*/
PreUUT /*replace callback*/
PostUUT
ProcessRFIDreads
Comunication with display
Monitor alarms
 
MODEL RECIPES (a file for each recipe)
12 diferents models

 
0 Kudos
Message 1 of 1
(2,751 Views)