10-06-2008 12:50 PM
DAQ Assistant:
I have the PCI slot version of this which I use to generate specific signatures. However I would like to get down to the very low level of this block to see what makes it tick if only to add some other features such as have it dynamically change high and low times after "N" number of pluses/bursts.
At the current state I can't seem to get any further than the GUI that I work with right now. I can give you a VI upon request however this VI is included with labview from what I understand I have version 8.2. If anyone wants a copy of the vi which contains the DAQ Assistant block I will be more than happy to include.
DAQ Assistant Location: Right click on the block diagram of a VI --> Measurement I/O --> NI-DAQmx --> DAQ Assist (This is an icon in itself)
I see the read,write nodes however I have played and tried to see what they do but I have had no such luck. If anyone can point me in the right direction I would be grateful.
Thank You.
Solved! Go to Solution.
10-06-2008 01:12 PM
You've got a couple of misconceptions about the DAQ Assistant. First, there is no such thing as a pci version. There are some slight differences between versions of the DAQmx driver. Second, the DAQ Assistant is a code generator. When you start it up, it will create custom code for the type of task you want (digital i/o, analaog i/o, etc.) so the VI you eventually have on the block diagram is not included in any version of LabVIEW.
Once you have configured the assistant, you can right click on it and select 'Open Front Panel' this will convert the assistant task to a normal subVI that you can opne and view the block diagram. You can also right click and select 'Create DAQmx Code'. This will place the low level DAQmx functions on your block diagram. You could also skip the whole assistant and just start with the low level DAQmx functions in the first place. There is help associated with each and you have all of the shipping examples to look at. There is also the Getting Started with NI-DAQmx page.
10-06-2008 01:16 PM
Thank you for taking the time to respond.
I will post any questions I have under this thread but It looks like I have everything I need.
10-07-2008 11:08 AM - edited 10-07-2008 11:09 AM
Perhaps I am not far along the toturial yet but when a GUI interface is brought up it seems you can't add your own input box it all seems pre determined?
I am using a digital I/O pulse modulation incase anyone is wondering XD
10-07-2008 01:02 PM
What GUI interface are you talking about? A GUI interface (in my definition) is a front panel of a VI and you can write a VI to have anything you want.
10-07-2008 01:43 PM
10-07-2008 01:59 PM
10-07-2008 02:11 PM
Thanks.
10-07-2008 02:30 PM
10-07-2008 03:02 PM
MrSafe wrote:
This is a bit off topic but if I were to want a way to randomly generate a number from lets say 1500 micro seconds to 2 micro seconds is it possble? I have the random number generator but that seems only go from 0-1 which is no good I mean if it can only do whole numbers I can manipulate labview to divide multiply whatever to get the value to micro second level.
That is the way a random number generator works in all the programming languages I've used. It generates a random value between 0 and 1. You use that to set your range. So for 2 to 1500, multiply by 1498, add 2 and take the rounded integer of that.