Jump to content

Programmatically Find SCXI's Connected DAQ Device


Jeff Plotzke

Recommended Posts

I'm trying to programmatically find a SCXI chassis' associated DAQ Device -- I have a PXI system with a SCXI chassis connected to a PXI-6220 M-Series DAQ card.

Given a SCXI Module name like "SC1Mod1" from MAX, I'd like to be able to determine that that SCXI Module's chassis is connected to PXI1Slot9 (The PXI-6220 DAQ).

I've tried the 'DAQmx Device' property node (I've attached a screenshot of my code), and it returns that it's a SCXI module, but my way to trick it into telling me the connected PXI module fails with 0. (And for some reason, some of my actual PXI cards get this property to return 0 as well)

Has anyone programmatically done this? Thanks for your help!

Link to comment
  • 2 years later...

I seem to remember trying something similar that a few years ago, but I wasn't able to make it work either. It had something to do with the fact that some modules are smarter than others (i.e. you can query certain information while with simpler modules you can't).

Maybe a quick call to NI is in order?

N.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.