LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how does Labwindows/CVI label the device?

hi there,

  I have two DAQ devices installed in machine. I am using labview 7.1 & traditional DAQ in that machine too. In that machine, the system label the card dev1 and dev2. Recently, I am trying to port my code to CVI with DAQmx9.7 applied, I am trying to write to dev2, it works. But when I write to dev1, it said no such device and suggest me to use dev2 or dev4. I don't know what's going on. When I open MAX, it only shows the old configuration (dev1 and dev2). I didn't see anything about dev4. So how can I tell the label of devices in CVI? Thanks.

0 Kudos
Message 1 of 4
(3,485 Views)

Hello dragondriver,

 

What DAQ devices are you using? You can try testing the devices in MAX by running a "Self Test" on both the device names you found in MAX. After running the "Self Test" on both devices you can try removing one of the devices and seeing what device name in MAX goes from green to white with a red "X". You can then do the same to the second device to make sure you know which is which. After doing this, hook both devices back up to the computer and give them both custom names by right clicking and selecting "Rename". CVI responds in the same way LabVIEW responds to devices in MAX, the device name is how CVI represents any devices connected. Once both devices are hooked up to the computer and renamed then they should show up as their names in both CVI and LabVIEW.

 

Regards,

 

Travis E. 

National Instruments
Product Marketer
0 Kudos
Message 2 of 4
(3,449 Views)

@Travis-E wrote:

Hello dragondriver,

 

What DAQ devices are you using? You can try testing the devices in MAX by running a "Self Test" on both the device names you found in MAX. After running the "Self Test" on both devices you can try removing one of the devices and seeing what device name in MAX goes from green to white with a red "X". You can then do the same to the second device to make sure you know which is which. After doing this, hook both devices back up to the computer and give them both custom names by right clicking and selecting "Rename". CVI responds in the same way LabVIEW responds to devices in MAX, the device name is how CVI represents any devices connected. Once both devices are hooked up to the computer and renamed then they should show up as their names in both CVI and LabVIEW.

 

Regards,

 

Travis E. 


Hi Travis, I have 6711 and 6713. In the MAX, it really shows that those devices are assigned to dev1 and dev2, it has been using for long time. But after I install CVI and developed a program, it seems that dev1 is not accessible in the CVI (though it is all right in labview), the error message suggest to use dev4 instead, it is so confusing. I don't know why.

0 Kudos
Message 3 of 4
(3,413 Views)

Hello dragondriver,

 

Have you tried reenaming the devices in MAX and seeing if those names update in CVI? I would also recommend trying to open some example code and seeing if you experience the same behavior.

 

Regards,

 

-Travis E

National Instruments
Product Marketer
0 Kudos
Message 4 of 4
(3,386 Views)