LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Base Task Config Utility shows no devices

Hello everyone.

I am trying to run the example from daqmxbase that does static digital write. Trying to run it gives me Error 15: Resource not found. I did not find anything wrong with this example; however, when I looked at DAQmx Base Task Config Utility I saw something strange. The tasks are all in place, however there are no devices found on my machine (it is by the way a Mac running Mac OS X).

lsdaq program shows that I do have one device at PXI1::4::0 which it says is NI 6508.

Also on the front panel of the Write Dig Port.vi there is a DAQmx Base Task box wich says dio port write in it but hitting the down button in it shows nothing except for the "browse" option, which is also empty.

How would I go about fixing this problem?

Thanks a lot
Igor
0 Kudos
Message 1 of 9
(5,718 Views)
Hi,

There are couple things that you can try. First, reset the chassis and reseat the board. You can also try and remove the driver, and reinstall it. Error 15 means that there are no devices found on the system. You can also try it on another computer. Let me know what happens.

George
0 Kudos
Message 2 of 9
(5,695 Views)
Thank you for your reply George.

I've tried removing the card and setting it back in place and reinstalling the drivers. No luck there: lsdaq once again finds the device but mxbaseconfig does not. I did not have a chance to try it out on a different machine. I know for a fact that this card is a working one since I've used it under MacOS 9 with Labview 5. I have no idea of where to look, so any help is appreciated.

Sincerely,
Igor
0 Kudos
Message 3 of 9
(5,685 Views)
Is your board a 6508? From your original post looks like it. If so the 6508 is not covered under the DAQmx Base driver. It only supports the USB-9211, USB-9215, USB-6008, USB-6009, USB-6501.

I am guessing you actually need just the regular NI-DAQmx:
http://digital.ni.com/softlib.nsf/websearch/90b60d5899bcccdb86256fc700581b89?opendocument
0 Kudos
Message 4 of 9
(5,678 Views)
Thank you for your reply Chaos.

I checked out the link that you posted and it is for NI-DAQmx for Windows. The system that I am trying to use LabView on is a Mac running MacOS X. I tried searching for NI-DAQmx for Mac (as opposed to NI-DAQmx Base) but did not find anything. Moreover it says in the README.rtf for NI-DAQmx Base that it should support 6508 boards. What puzzles me the most is that lsdaq detects the board correctly, while nothing else does.

Sincerely,
Igor
0 Kudos
Message 5 of 9
(5,665 Views)
First, the Configuration Utility has tasks built in for E Series devices only, since that is the most common board. Are you using the config tool in LabVIEW for the stand alone executable? If you are programming in LabVIEW, then you should use the config tool from the Tools menu and not the executable. The executable is designed for the C Interface and for LabVIEW built programs.

Second, when you run the lsdaq utility, what device number is listed for your 6508? Make sure that you use that device number. Do you have any other NI hardware devices in your system at all?

Lastly, what version of NI-DAQmx Base are you using?

Randy Hoskin
Measurements RLP (NI-DAQmx Base)
National Instruments
0 Kudos
Message 6 of 9
(5,648 Views)
Randy,

Thank you for clarifying the situation. Dynamically creating the task with DAQmx Base Create Task was the answer to my problem.

I am, however, having another issue happening with this. If I start LabVIEW and load my VI, it runs smoothly. However, if I close the VI (NOT LabVIEW), and open it back up I get the Error 15 message again.

Restarting LabVIEW cures this.

What could cause this type of behavior?

Sincerely,
Igor
0 Kudos
Message 7 of 9
(5,628 Views)
That is LabVIEW not unloading all of the global variables from memory, but unloading the DLLs for the PCI devices. When you load another VI up, the DAQmx Base globals for that board type says that a board reference is already open when it could not have because the DLL was unloaded. We are trying to find a solution to this problem, but LabVIEW on Windws, Mac OS X, and Linux each show different behavior with this. You can either restart LabVIEW or open the second VI before closing the first.

Randy Hoskin
Measurements RLP (NI-DAQmx Base)
National Instruments
0 Kudos
Message 8 of 9
(5,614 Views)
Hello,

Im trying to run the example : Cont Acq Thermocouple Samples-Int Clk, default parameters.
Using NI 9211A with NI USB 9162, but when i run the examples shows the error -1(Not implemented for this device type).
And my DAQmx Base Task Config Utility dont show my device too.
Im using Labview 8.2 and DAQmx Base 3.0 .

Thanks in advance.
0 Kudos
Message 9 of 9
(4,863 Views)