10-15-2006 07:06 PM
10-16-2006 12:04 AM
Have you kept your device name/Physical channel input as a constant on block diagram??
If yes, make it a control and choose the device whose channels you want to acquire from before you run the vi
Also, You can keep seperate acquisition loops for all your 3 devices on the same vi and assign one device's channels to each acq loop.
I not really understand what exactly you are trying to express. Could you be a bit more clear, so that we could suggest better?
10-16-2006 05:19 PM
I have used the DAQ assistant to create the inputs which does not give the ability to select the device name? I have got around the problem by changing the device name using the Measurements and Automation explorer. It is not really a solution but as I have the only PC with more than one device installed it should not cause a problem!
10-16-2006 10:10 PM
Try exploring the possibility of using using DAQmx functions to build an acquisition vi.
Or you could start off by using example vi's shipped with LabVIEW.
Find Examples>>Hardware input output>>DAQmx>>Analog Measurements>>Voltage Folder
The advantage of using these vi's is that you do not have to create a task or a DAQmx task/ Global channel in MAX. You can configure the channels from the device that you want to acquire in the program itself.
Note: you cannot acquire from two devices in one task, but will need to have a seperate task for each device.
10-17-2006 02:17 PM
10-17-2006 05:23 PM
Hi
This does give the ability to change the Device but I do not want to give the end user the choice of changing the input as well. Is there a way that the device/input can be split into device and input seperatly? This way I can fix the inputs and select any of my devices?
Cheers for the replys
10-17-2006 10:58 PM