alexb Posted September 14, 2009 Report Share Posted September 14, 2009 Didn't know under what category it falls but here's the prob -- > I work with DAQ 6008 (for Measurements). For instance , i wanna measure Voltage. But i can use only one channel in the DAQ. If I use another channel to Measure something else , It says that The DAQ is already in use. How can I write a program that can run measurements simultaneously in 2 channels (or more) ? How do I write this program? Am I suppose to Duplicate the DAQ VI or can I use only one VI with two exits (for the 2 channels) ? Quote Link to comment
PaulG. Posted September 14, 2009 Report Share Posted September 14, 2009 Didn't know under what category it falls but here's the prob -- > I work with DAQ 6008 (for Measurements). For instance , i wanna measure Voltage. But i can use only one channel in the DAQ. If I use another channel to Measure something else , It says that The DAQ is already in use. How can I write a program that can run measurements simultaneously in 2 channels (or more) ? How do I write this program? Am I suppose to Duplicate the DAQ VI or can I use only one VI with two exits (for the 2 channels) ? Have you tried using the DAQ Assistant? You should be able to select multiple channels with the ctl key. Quote Link to comment
ShaunR Posted September 14, 2009 Report Share Posted September 14, 2009 Didn't know under what category it falls but here's the prob -- > I work with DAQ 6008 (for Measurements). For instance , i wanna measure Voltage. But i can use only one channel in the DAQ. If I use another channel to Measure something else , It says that The DAQ is already in use. How can I write a program that can run measurements simultaneously in 2 channels (or more) ? How do I write this program? Am I suppose to Duplicate the DAQ VI or can I use only one VI with two exits (for the 2 channels) ? There are plenty of examples for DAQ supplied with Labview under Hardware Input and Output->DAQmx (Use the examples Finder). You should find something there that demonstrates what you want to achiive. Quote Link to comment
Kurt Friday Posted September 14, 2009 Report Share Posted September 14, 2009 Didn't know under what category it falls but here's the prob -- > I work with DAQ 6008 (for Measurements). For instance , i wanna measure Voltage. But i can use only one channel in the DAQ. If I use another channel to Measure something else , It says that The DAQ is already in use. How can I write a program that can run measurements simultaneously in 2 channels (or more) ? How do I write this program? Am I suppose to Duplicate the DAQ VI or can I use only one VI with two exits (for the 2 channels) ? I think what is happening is that you are trying to execute two tasks that both require the same resources. Take a look at this link in particular Case 6 it will explain things in a bit more detail. What you need to do instead is combine two or more channels into one measurement task. Open up example finder and find the example "Acq&Graph Voltage-Int Clk.vi" you can make this example acquire multiple channels by selecting on the Physical Channel input then Browse and then from the dialog select multiple channels as shown. Quote Link to comment
MikaelH Posted September 15, 2009 Report Share Posted September 15, 2009 Since the device only have one internal clock it can only sample at one frequency, but you can sample on several channels at the same time. //Mikael Quote Link to comment
alexb Posted September 16, 2009 Author Report Share Posted September 16, 2009 I'll try. thnx guys! By the way I'm using it for my final project in the University. Quote Link to comment
crelf Posted September 16, 2009 Report Share Posted September 16, 2009 By the way I'm using it for my final project in the University. Don't forget to mention LAVA in the acknowledgements! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.