Data Acquisition Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
GregFreeman

Ascii Sortable Naming Convention For PXI Cards

Status: New

It gets a bit annoying that PXI1Slot2 is listed after PXI1Slot14 when doing an ascii sort. I (ok, admittedly, my coworker) proposes having naming conventions that will allow for a better ascii sort. For instance, PXI1Slot002 PXI1Slot014. 

3 Comments
drummaniac83
Member
Thanks for the credit. Yeah this should be a crazy simple change for NI. Huge ROI in happy devs
GregFreeman
Trusted Enthusiast

Or, just logically sort for us.

epage
NI Employee (retired)

What version of DAQmx are you using?  Where is it you are seeing the devices not being sorted intelligently?  MAX?  A DAQmx IO Control?

 

At least in recent versions of DAQ, if you PXI chassis is identified then MAX will sort them by their slot and not by name.

 

DAQ should be sorting all DAQmx IO Controls with numeric sorts on the trailing number (so PXI1Slot2 should appear before PXI1Slot14).

 

I suspect any deviation for these two pieces of behavior is a bug and I would appreciate knowing what you are seeing so I could look further into this.