I have system set up with a Data Translation DT9804 DAQ card (utilizing the LV-Link 3 VI library). Currently two of the AI channels are being used by a main VI program that scans the channels continuously. I would like to write a second seperate VI that would access a third AI channel that would run simultaneously with the main program. Since the main program is fairly complicated, I do not want to alter it in any way. The issue is that whenever I start the secondary program, occasionally it will work for several seconds before crashing and giving me an invalid task error (code 1021).
I was wondering if there is any way to have these programs be able to run simultaneously on the same board without interfering with one another. I saw in other threads that usually you cannot run multiple tasks on the same board due to resource reservation errors (this is probably my issue?) but it was also mentioned that there is a way to accomplish this.
Is what I want to do possible? Or do I just have to use a second DAQ board?
(I'll include a snapshot of the block diagram of the secondary program I am trying to run)