11-18-2005 08:52 AM
11-21-2005 11:03 AM
Hi ronyd-
Are you having a problem with your CWAI controls? I'm not sure I understand your question. If you can provide more information about the situation I will be glad to help.
Thanks-
11-21-2005 11:27 AM
Tom,
Newbie on your controls. Wasn;t sure about how and where these properties came from. Figured out get written out by configuring via the Properties page (right click on control).
My real problem is I have existing software (VB6) that I need to analyze that uses the control block. But, I can't seem to find anything in the code that actually starts this control block. Shouldn;t there be a start method of some sort? All I see is a CWAIArray.SingleRead in the code. Maybe an after-thought approach, and not being utilized.
I guess my questions are:
1. Once the control block is configured, how are they started/stopped?
2. Are the control blocks the interface to the NIDAQ functions, or can you just use the NIDAQ functions to access the data without control blocks? My thinking is you don't, otherwise you couldn't access data with NIDAQ uner Linux platform.
11-21-2005 11:31 AM - edited 11-21-2005 11:31 AM
Hi ronyd-
1. Because you are performing a single point read there is no need to start and stop the controls. You would need to start and stop if you were using a multi-point buffered operation.
2. You can certainly interface directly to the NI-DAQ driver without using the CWDAQ controls. Those controls are an ActiveX interface to the driver itself, but you have the option of using the Traditional NI-DAQ driver directly. More discussion about the text-based programming options for NI-DAQ boards is available in this KB.
Hopefully this helps-
Message Edited by Tom W. on 11-21-2005 11:32 AM