05-31-2007 04:57 PM
06-01-2007 02:27 PM
06-02-2007 08:12 PM
06-04-2007 07:28 AM
First you are lucky, such an amount of 4551 and 4552, I was nearly expecting to be alone to work with 4552 as there is no so much messages about it...you have a nest...
How labview is choosing the DAQ number, I do not know, but you can use MAX to configure names to your channels (not the devices ..) instead of using this numbers in the devices or of course use Brian's trick.
You should also synchronize your measurements... RTSI (the hard special plug on the 45XX boards (inside the PC)), or software
Hope this helps
Pierre
06-05-2007 03:22 PM
Hello.
The reason that LabVIEW knows that choosing 1 in the numeric control represents DAQ1 is because the Traditional DAQ driver was coded that way. While DAQmx's resource name is a string allowing for a more custom name, Traditional DAQ's resource name is just a number.
Another way to look at this is if you dive down about 5 levels on the AI Sample Channel VI, you will see a call library function node with an input called device. The input parameter on the call library function node that the device input is wired to is set to accept an I16 integer. So, we must feed it an integer to make the code work.
If you open up MAX and right click on your Traditional DAQ device>> Properties, you will see an option to edit the "Device Number." This number can be any unique integer between 1 and 64. So, this again confirms that the DAQ driver is looking for a number as the way to identify each DAQ device. These numbers are assigned automatically by MAX, but you always have the option to change the number by following the steps outlined in this paragraph.
Let me know if this answers your questions.
Brian F
Applications Engineer
National Instruments