Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Device vs cDAQ Module

Solved!
Go to solution

I have a LabView executable that I unfortunately do not have the source vi for.  The program is used for data acquisition.  It references a defined device in NI Max (Dev1 or Dev2).  I have been using the software with a USB 9234/USB 9162 combination.  When plugged in to the laptop this combination showed up as a DevX in NI Max and therefore was located by the software.  We recently started replacing our 9162 modules with the CDAQ 9171 single slot modules.  Unfortunately when this is plugged into the laptop the software will not recognize this module combination.  With the original setup the 9234 module showed up alone as a DevX.  WIth the current setup the 9234 module shows up as a subset of the 9171 carrier.  I think this why the software won't recognize the new moduel.  Is there a way I can create a virtual device that will reference the cDAQ module and simulate the original setup? 

0 Kudos
Message 1 of 9
(4,254 Views)
Solution
Accepted by topic author EatClutch

In a nutshell NO, you will need to update the code.


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 9
(4,247 Views)

This is kind of a hacky workaround, but if your configuration is fairly stable and controllable on these systems you could rename the cDAQ1Mod1 to Dev1 and it might "just work" depending on how you access the device in your code.

Tom W
National Instruments
0 Kudos
Message 3 of 9
(4,242 Views)
Not likely. The driver is almost guaranteed to not support cDAQ .

"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 9
(4,231 Views)

Ah, thanks for the input Jeff.  Although, since the original poster mentioned that he has the cDAQ chassis and module recognized in MAX and has noticed the difference in the device heirarchy as compared to USB-9162, I assumed that updating to a version of NI-DAQmx that supports the cDAQ-9171 was either completed or at least possible. Smiley Happy

Tom W
National Instruments
0 Kudos
Message 5 of 9
(4,217 Views)

when I read "I have a LabVIEW executable" (That no longer works after updating hardware....) I tend to assume the worst cases like, the source was compiled in 4.0 and has been running for 15 years on a 386.  It just seems to be true too oftenSmiley Wink  Although the OP did mention USB so it might not be THAT bad.

 

What version of the LabVIEW RTE is installed?


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 9
(4,213 Views)

Jeff,

 

Thanks for your answers.  I didn't think there woudl be an easy soluttion, but I was being optimistic. The RTE version is 12.0.  For now we're going to keep using the older 9162 carrier until I can find the source code and update the software or write a new vi.  From what I can tell the exectuable is pretty old and should be updated/replaced anyway.

 

0 Kudos
Message 7 of 9
(4,190 Views)

I tried the idea of renaming the cDaq unit as DevX but the executable didn't recognize it. 

0 Kudos
Message 8 of 9
(4,185 Views)

Hi EatClutch-

 


Can you please elaborate on your comment that the cDAQ module couldn't be recognized?  Did you see a specific error or other bad behavior?  Can you share a screenshot of your expanded MAX tree?  I don't meant to doubt your update, but I want to make sure that the module entry was renamed to 'Dev1' or whatever is appropriate and not the chassis entry.  You may not have the source code, but do you have a basic idea of what type of measurements are being taken?  I'm fairly confident that we can make the DAQmx part work with the existing code, assuming you can get past LabVIEW run-time versioning issues.

Tom W
National Instruments
0 Kudos
Message 9 of 9
(4,181 Views)