09-01-2006 12:32 PM
09-03-2006 10:51 PM
MJBhrem,
I guess this will not work since from what Nishant describes, he has a a single PCI 4452 and that device cannot have two seperate Acquisition loops running simultaneously
Will get a 'device reserved' error, if you do so
09-05-2006 09:12 AM
Dev,
I just have one PCI--4452 DAQ board, want to run two different VIs simultaneously. How to correct the error, is there any way? would you plz eloborate on this.. thank you.
Nishant
09-05-2006 09:35 AM
It's all pretty simple. In both of your VIs, do you see the AI Config function? This is where the channels are specified and they are configured. The channel list is an array and so is the 'input limits' and 'coupling & input config' inputs. The sound and vibration VI is creating this information with the svx_Get DAQ Info function. Presumably, this will create the channel information for just the s&v channel you are using. To add the voltage channel, just append this information to the arrays created by svx_Get DAQ Info. So, if right now, svx_Get DAQ Info returns a channel array with channel 0 in it, you would append your voltage channel (i.e. 1) to this and have a new channel array with element 0 = 0 and element 1 = 1. Do the same thing with the limits and coupling arrays.
DAQ from NI has always supported multiple channel acquisition. You can have an array of channels or a single element can define multiple channels (i.e. 0:4). When you use a single channel per array element, then you can define a separate limit and coupling for each channle.
If you were to save the Cont Acquistion VI with your default setup, then I could post an example. All you have to do is go to Operate>Make Current Values Default.
09-05-2006 09:48 AM
09-05-2006 09:59 AM
09-05-2006 10:14 AM
09-05-2006 10:26 AM
09-05-2006 01:27 PM
Dennis,
I used the VI, you sent me, and it worked well. I got the results what i was looking for. I think, number of samples for two VIs is different, I still have to work on that. I haven't dont anything to get the graph, once I get it I will let you know. Thanks for the VI.
Nishant