02-06-2008 11:31 AM
I just wanted to respond to JoeLabVIEW's quote:
02-06-2008 09:33 PM
Thanks Stuart,
LOL!! Yes I can imagine you do get many requests. Pushing the enveloppe is part of the fun, right?
I don't care about easy / pre-packaged solutions.. If we can have access, even indirectly, we can create our own solution. 😄
In this case, I would read the info directly in LabView. Of course, I could do the same in CVI (or ANSI-C). A file is a file in any language 😄
If a "savvy" programmer can implement solution of his/her own, then why not give a clue at how / where this could be done. I don't expect shrink-wrapped solutions (all the time). LOL!!
When time permits, I'll have to visit the driver... 😉 for curiosity's sake..
Thanks!
RayR
02-12-2008 10:48 AM
02-12-2008 07:27 PM
02-12-2008 07:43 PM
If I am not mistaken all of the above information and more can be had from the NI Measurement and Automation Explorer ( NI MAX ).
@Mikef_cetr wrote:Sorry guys, if my post is out of subject, but I strongly believe the driver should allow the system configuration access. What I mean are things like: which NI boards are installed, which drivers (and what versions) are installed, what are the board's features, etc. It could help a lot - but I failed to find any information on this.
How to know if there is DAQmx installed?
How to find out how many AI's has the board I am using?
etc....
and we are building systems, which can utilize various types of DAQs.
Thank you,
Mike
02-13-2008 08:07 AM - edited 02-13-2008 08:13 AM
02-13-2008 01:53 PM
02-13-2008 04:04 PM
After I started playing with the properties StuartG gave me insight about, I figured they are still not fully descriptive. There is no way (or I missed ones) how to get the device-related parameters, like numberof physical AI/AO/DIO channels on board, AI/AO signal ranges available, # of bits used for ADC/DAC conversion (the latter is available but only related to a specific task, rather than on the device level). Guess it would be great if the driver could provide for complete information... to make the programming really generic
@stuart G wrote:Couple of things1. Remember this post started off of "The things I wish I would have known before I started programming with DAQmx.". Let's move some of the discussion to other posts/threads. While it might be helpful for us, it isn't helping Jervin get anymore ideas for his webacst.2. I wanted to respond to MikeF's request. There is this information you can query from the driver programatically. I would suggest looking into the device and system property nodes. They give a wealth of information. You can also combine them with channel property nodes to get even more info. Jervin....I think this might be a good topic for your webcast.StuartG
Message Edited by Stuart G on 02-13-2008 08:13 AM
02-13-2008 10:40 PM - edited 02-13-2008 10:43 PM
Look again at the DAQmx Device property. After you write the ActiveDev property, you can read all of the items you list. Right click and select Properties and you will see what is available.
edit: Just saw from another post of yours that you are not using LabVIEW so my hint will not work for you. The properties are there though, you just have to work harder with a text based language.![]()
02-14-2008 03:26 AM
@Mikef_cetr wrote:....... There is no way (or I missed ones) how to get the device-related parameters, like numberof physical AI/AO/DIO channels on board, AI/AO signal ranges available, # of bits used for ADC/DAC conversion (the latter is available but only related to a specific task, rather than on the device level). Guess it would be great if the driver could provide for complete information... to make the programming really generic
That entire list of above details are available as part of the product specfication summary and when you use the built in functions like DAQ-Assistant, they are listed device wise for you to select and use.
I am sure you are wanting a particular functionality and maybe I am missing the point - but if this interaction can bring out that aspect, so much better for including it in future developments.
Thanks
Raghunathan