LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I read NI 6501 Properties in MAX?

I developed a program using two 6501 DAQs, both using digital outputs, but with different O.C and Active output configurations. I gave them aliases based on their serial numbers. In my fixture, they are connected to a USB Hub, which connects to the computer. Everything works fine on the development computer, but now I need to make it work on other computers. I plug in the hub on another computer and MAX shows me Dev1 and Dev2. Before I go further, I need to know which Dev is associated with which 6501. They could be reversed. Is there a way to select Dev1 for example, and find how the digital outputs are configured? That would tell me all I need to know to continue and either import MAX settings from the development computer, or rename the devices with the proper aliases. I tried following directions in HELP "View or Change Device Properties". See attached screenshot, but right clicking does not give me the option to select PROPERTIES. What am I doing wrong?daqproperties.JPG

0 Kudos
Message 1 of 7
(3,144 Views)

Hi hammer,

 

I suggest to check the serial number of the USB6501 devices. You could do so by using DAQmx property nodes. Depending on the serial number (which is unique for each NI device) you can decide, which one (DEV1 or DEV2) is connecting to your hardware setup...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(3,125 Views)

Thank you Gerd. After posting, I DID find that I could see serial number by selecting the ATTRIBUTES tab in the screenshot.That serves my purpose. HOWEVER I still would like to know why I can't select PROPERTIES in the dropdown menu, as the directions indicate. Am I misunderstanding the Help info on the right?

0 Kudos
Message 3 of 7
(3,110 Views)

Hello hammer3,

 

What version of MAX and what version of DAQmx do you have installed?  If you notice, my MAX and DAQmx show something different from yours:

 

Configure.png

 

 

Thanks,

 

David B

National Instruments

Applications Engineer

0 Kudos
Message 4 of 7
(3,085 Views)

DAQmx is 9.6.2

MAX is 5.4

0 Kudos
Message 5 of 7
(3,074 Views)

Hi hammer3,

 

By taking a look at the screenshot below, you'll notice that the drop-down menu varies based on the device you select (and whether or not it is simulated as seen in my case).  The menu on the right is more generic help than it is about specifically how to use each device.  I'm glad that you found the serial number under attributes, you can rename the devices in MAX before running your code.  If you want your code to be completely autonomous, then I would recommend using property nodes to get the serial number as GerdW suggested.

 

6501 device.png

 

Thanks and good luck,

 

David B

National Instruments

Applications Engineer

0 Kudos
Message 6 of 7
(3,066 Views)

Thank you. That is what I'm doing, using the property nodes and all is working well.

0 Kudos
Message 7 of 7
(3,054 Views)