06-26-2006 01:18 AM
06-26-2006 09:03 AM
06-27-2006 02:01 AM
Thanks for the reply,
So,
1) I place my two PCI-6143 boards into the same PC
2) Connect the internal RTSI cable between the two boards
3) Go into MAX and specify that the two devices is connected to the cable
How can I from the code (using C++) see that the two bards are connected using a RTSI cable?
Do I detect the device as one device in the code instead of two?
And in v8.1 is there a better way to detect that the device is a S-series board than parsing the name?
-cpede
06-27-2006 07:19 PM
1) I place my two PCI-6143 boards into the same PC
2) Connect the internal RTSI cable between the two boards
3) Go into MAX and specify that the two devices is connected to the cable
Yes, this is the correct procedure for PCI.
How can I from the code (using C++) see that the two bards are connected using a RTSI cable?
There is no programmatic way to determine which devices are connected via a RTSI cable at run time. This is currently only possible at configuration time.
Do I detect the device as one device in the code instead of two?
The devices will still show up in your system as they did previously. When adding channels to your task in your C++ code, you will now be able to specify "Dev1/ai0:7,Dev2/ai0:7" and the driver will automatically perform synchronization for you. Previously, this would result in an error stating you can only have channels belonging to one device in a task.
And in v8.1 is there a better way to detect that the device is a S-series board than parsing the name?
I believe this was added in 8.0, but you can use the DAQmxGetDevProductCategory function and match on DAQmx_Val_SSeriesDAQ.