annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

DaqMX parallel executions error -50103

Hi all,

 

I am working on a system with 16 test sockets. I am using a PXI system with PXIe-4357 RTD cards, each station has 2 RTD's. If I run 1 or 2 stations it works well, if I try to run 3-4 stations simultaneously, I get error -50103. I have set my VI's to be non-reentrant and I have used the Task Done VI and I unreserve and clear the task. This VI is called by another VI which is in a TS loop. The loop runs pretty slowly, and I have implemented a 0.5s delay.

 

Does anyone know how to solve this issue? Please see my VI attached.

 

Thanks!!

0 Compliments
Message 1 sur 4
4 892 Visites

If you are calling multiple instances of the attached VI from TestStand and more than one instance is creating a task on the same card you will receive that error. I would recommend ensuring that all channels per card are part of the same task to avoid that error. 

RF R&D
National Instruments
0 Compliments
Message 2 sur 4
4 819 Visites

You need to be carefull when using multiple test sockets and calling instruments. 

 

As suggested below, it might be a good idea if you make a task where you call all the readings at the same time. and you can run that as a Thread on the background always and write the value to a FileGlobal or StationGlobals.

CLAD, CTD
0 Compliments
Message 3 sur 4
4 792 Visites

Thanks for the replies!

 

I ended up making a single task in a background thread which reads all of my sensors into arrays, then I pick off the data required per socket.

 

I was under the impression that setting the VI's as non-reentrant would allow my original idea to work as only one thread had access to the VI at any given moment. Guess I was wrong!

 

Thanks again!

0 Compliments
Message 4 sur 4
4 790 Visites