Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration of two hardwares for one software

Solved!
Go to solution

Hi,

 

We've been working with two vehicles controlled by Labview 2011. Each vehicle has a cDAQ NI-9188 fitted with a digital IO module and a thermocouple module. We have named the first chassi to "Vehicle" and the modules to "MotorControl" and "Thermocouple" in MAX. We have then created a software that can control the vehicle, everythings works fine on one chassi.

 

However, when connecting to chassi 2 in MAX we get the problem that the chassi can not be rename to the same name as chassi one, even if chassi 1 is not connected. We can also not change the module names in chassi 2 because the names already exists in chassi 1.

 

How can we solve this problem? It must be quite common that it exists several identical hardwares that should be controlled by a single software. Basically, my knowledge is not good enough right know. :mansad: Could you please advice me?

 

WIth best regards,

Mattias

 

0 Kudos
Message 1 of 3
(2,947 Views)
Solution
Accepted by topic author tmot

DAQmx device names for all devices in the system (including disconnected devices) must be unique.

 

You solve this problem by giving everything distinct names: for instance, the first one can be "Vehicle 1"/"MotorControl 1"/"Thermocouple 1" and the second can be "Vehicle 2"/"MotorControl 2"/"Thermocouple 2".

 

There are a couple ways you could deal with this in software. If you go with the above, for instance, you can just append the number to the end of the device name prefix, like so:concatdevicename.png

 

Another strategy would be to put all of the device names into a cluster (so you can pass all your configuration information around as a group).

——
Brandon Streiff
ni.com/compactdaq · ni.com/daq
Message 2 of 3
(2,928 Views)

Thanks for the reply.

Now I've learned a lot, thanks again!

/Mattias

 

0 Kudos
Message 3 of 3
(2,908 Views)