07-20-2005 04:06 AM - edited 07-20-2005 04:06 AM
Message Edited by pak on 07-20-2005 04:09 AM
Message Edited by pak on 07-20-2005 04:10 AM
07-21-2005 07:51 AM
First, to answer your question: Both the specific driver and class driver need to access the config store, but for different reasons:
Now, on to your config store issues:
You have a logical name "bu3430", but it doesn't refer to a driver session. You have a driver session called "NewDriverSession", which it looks like is supposed to be the driver session you're trying to use. You should go ahead and give it a different name, and then set the logical name's driver session to that. The driver session itself looks like it's set up ok - it points to the hardware asset you want to use, and the software module for the driver.
Before you make any changes to the system, I'd like to run one more diagnostic on it - call the specific driver with the DriverSession name instead of the logical name - bu3430_init("NewDriverSession", VI_TRUE, VI_TRUE, &vi); That ought to work. If it doesn't, we might have deeper problems. If that does work, do the same thing with the class driver - that also ought to work. Assuming both of those things succeed, go ahead and modify the logical name as I outlined above, and then try first the specific driver and then the class driver with the logical name.
Before you do that though, I'd like to run a test on the system.
07-21-2005 08:36 AM
07-21-2005 09:52 PM
07-22-2005 03:03 AM
07-22-2005 03:59 PM
07-25-2005 02:37 AM
07-25-2005 10:02 AM
Hi David,
I didn't realize from your posts that you were using updated templates - since you mentioned you were using CV 5, I assumed you were using the templates that shipped with it, not the newer ones. If you're using the newest templates, everything should have worked fine out of the box. As a sanity check, I pulled the files from the link you provided, and in fact they DO include the call to GetInfoFromResourceName that was missing from your driver. Is it possible that during the course of driver development you modified the InitWithOptions function and removed that code?
Please don't hesitate to post with any other IVI driver questions you might have, as well.
07-25-2005 10:16 AM
07-25-2005 10:21 AM