LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ Assistant: How Can I Control this at the lowest Level?

Solved!
Go to solution

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.

0 Kudos
Message 1 of 77
(5,033 Views)

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.

Message 2 of 77
(5,019 Views)

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.

0 Kudos
Message 3 of 77
(5,015 Views)

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

Message Edited by MrSafe on 10-07-2008 11:09 AM
0 Kudos
Message 4 of 77
(4,967 Views)

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.

Message 5 of 77
(4,949 Views)
I have added an image of the GUI I am speaking of. However, I believe the reason I can't edit the GUI(see attached) is because it has been pre determined. Now that I can edit the low level drivers for DAQ I can add my own interface.
0 Kudos
Message 6 of 77
(4,941 Views)
No, you cannot edit the DAQ Assistant but like you said, you can have your own interface.
Message 7 of 77
(4,934 Views)

Thanks.

 

0 Kudos
Message 8 of 77
(4,928 Views)
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.
0 Kudos
Message 9 of 77
(4,913 Views)

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.

0 Kudos
Message 10 of 77
(4,908 Views)