06-09-2010 11:42 PM
06-10-2010 12:46 AM - edited 06-10-2010 12:48 AM
Is that a PXI instrument?
You might have a logical name existing, but is it correctly configured (assigned) to a valid driver session and hardware resource?
edit: You can also try not using the logical name and typing the resource string directly into the init function.
If this works ok, then you can be sure that your resource string is correct and go configure the logical name, driver, resource, etc.
06-10-2010 03:47 AM
It is a NI-DAQmx device. It is NI PXI 2501. I assigned NI switch driver to it. I don't have hardware. I used simulation. I used the same technique for DIO(NI PXI 4070), DMM(NI PXI 6509) also. They worked fine.
But I am not able to initialize switch only.