ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
10-24-2007 02:21 PM
10-25-2007 07:54 AM
10-25-2007 05:19 PM
Hi Michael,
It looks like you are able to control the load bank with an output signal from the card but not receive an input signal back from the load bank. You mentioned that the warning signal from the load bank is a TTL signal. Are you also using digital input channels for the two drivestand inputs? As centerbolt said, if you are using two input tasks in the two separate executable files, there may be a conflict. If the executable that is receiving two signals from a drivestand has already started the input task, the resource for this operation has been reserved on the board. Then the other executable will not be able to access the input channels on the card to start its own task. This KB, Causes of NI-DAQmx Error 50103 "The Specified Resource is Reserved" , explains this concept further . If possible, the best solution would be combining everything into one VI and coupling all digital input channels into one task. Hopefully this information is helpful!
10-30-2007 09:21 AM
10-31-2007 08:05 PM
Hi Michael,
Whether you are using analog or digital input channels, you should still couple all inputs into one task. A DAQmx Task is a way to group and configure all channels at one time so that when the task is started in the program, all information needed has already been provided for the card. Once a task starts, the resources for those channel types are set and the card is communicating with the software according to the parameters that were configured in the task. This link leads you to a video about creating DAQmx tasks. It is part of the Getting Started with DAQmx Series that is posted on the website. I would encourage you to look at this to learn more about tasks and why they are important.
In addition, I have a few more questions for you. Is there a reason why you cannot combine both VIs into one as I mentioned before? This would be the best option and the simplest solution. This will allow you to better control how you allocate your resources. Are these executables that you are dealing with (.exe) or the actual Vis (.vi) that you can edit? If both VIs are built in LabVIEW 8.5 you can simply highlight and copy the code from one VI to the other. In order to combine everything together, you would need to have access to the VI files to edit. Then you could rebuild that file into a single executable. Please let me if this post helps you!