dksteel
2007-02-20 16:10:15 UTC
Hi,
I am developing a program in LabVIEW 8.2 that interfaces to an NI-6501 DIO device. I have created several tasks in MAX and everything works fine from LV calling the saved tasks etc.
My question is how do I make these tasks accessible by several different 6501's? I have a box that I am making ~10 of and each has a 6501 inside. I would like a computer to be able to use these tasks to run any of the 10 boxes. If I go into MAX each time I plug in a new box I have to rename the Device to Dev1 in order for my task to work. My tasks are configured as Dev1/port0/line1 etc. Only 1 6501 board will be plugged into the computer at one time so fighting over the board resources will not be a problem. So is there an elegant way to make any 6501 that is plugged into the computer use the same tasks that I created in MAX without a user having to reconfigure MAX each time?
Thanks,
David
I am developing a program in LabVIEW 8.2 that interfaces to an NI-6501 DIO device. I have created several tasks in MAX and everything works fine from LV calling the saved tasks etc.
My question is how do I make these tasks accessible by several different 6501's? I have a box that I am making ~10 of and each has a 6501 inside. I would like a computer to be able to use these tasks to run any of the 10 boxes. If I go into MAX each time I plug in a new box I have to rename the Device to Dev1 in order for my task to work. My tasks are configured as Dev1/port0/line1 etc. Only 1 6501 board will be plugged into the computer at one time so fighting over the board resources will not be a problem. So is there an elegant way to make any 6501 that is plugged into the computer use the same tasks that I created in MAX without a user having to reconfigure MAX each time?
Thanks,
David