How to connect DAQ card to host through xPC

3 views (last 30 days)
Hello! I have recently taken over a research project that has sat dormant for 2 years. Unfortunately, during that time the computer that the project was setup on got imaged with Windows 10 which deleted all the program information and I have zero documentation on how the system was setup. So far this is what I have been able to recreate from various documents.
I have a host PC running Matlab 2013a (ver. 8.1.0.604) with the Data Acquisition Toolbox installed, I am connected to a target PC running xPC 5.4 through a USB drive (the target has no hard drive outside the USB drive) and the two machines are connected via an ethernet cable. I have a simulink model that I am able to build/run which contains the correct DAQ card in the model. The target PC has a NI-PCI-6251 DAQ card installed, connected to the DAQ are 5 different potentiometers that are all functioning properly but when I run the model the scopes that are setup to show the potentiometers voltage do not do anything (other than occasional noise). I know this model worked prior to the host computer being imaged with Windows 10.
So far I have tried the following:
  1. Using the daq.getDevice command to try and find the DAQ card while the target PC was running and connected through the xpcexplr, result is "No data acquisition devices available'
  2. I installed NI Max version 17.0 on the host machine to try and find the DAQ card and it can not be found. I attempted this by trying to add a network device with the target PC's ip address while xPC was running.
Would anyone have any advice on how to setup the DAQ card to communicate with my host PC through the target?
Thank you!

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!