05-01-2023 09:53 AM
**disclaimer, I am not a programmer, I am very green to using LV**
Trying to troubleshoot my LabView program. I switched one chassis for another, NI Max finds the hardware through the IP address, and is communicating with the computer. My card (cdaq9205) is located in NI Max under my new chassis.
In my program and I don't know if I need to call out the new chassis.
In "Edit config" the I/Os are assigned to my cdaq9205, but I don't know if they are looking for my old chassis, or old IP address associated to my old hardware.
When I try to run my program, I have the time going crazy, so I know something is out of wack.
Solved! Go to Solution.
05-01-2023 10:03 AM
NI-DAQmx locates the devices by their Alias name. You can change the Alias name of the new cDAQ in NI MAX to match the name in LabVIEW, or vice versa.
How Do I Find or Modify My Device's Name?
05-01-2023 10:58 AM
The old cDAQ and the new cDAQ look to have the same name. The only difference is the end (14FF0A5 and 16209C6). I feel like I should be calling out the location in the program.
05-01-2023 11:21 AM
The 7 hexadecimal characters are the serial number of the cDAQ chassis. By default, NI MAX assigns an Alias name of "Model + Serial Number" to a new device. The Alias names look the same but they are two separate devices from the point of view of the DAQmx driver.
If you want to reuse your LabVIEW code for a different cDAQ, you should rename it with some common or meaningful name, e.g simply "cDAQ". When you swap a different cDAQ, just rename the new cDAQ chassis to the same Alias name.
05-09-2023 08:11 AM
I believe the solve was going into NI Max and then to data neighbourhood, finding my channels and changing the physical channel.