ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
10-15-2010 06:59 AM
Hello
I am using the PCI DAQ 6534 card for my digital I/o transfer. I am beginner in the labview.
I want to store the coming data into memory and the read the data at the trigger level.
I have seen the examples in the labview. In that some have used DAQmx read and DAQmx write vis and some have used DIO confg port and all..
So I want to know the difference between this two. For my application which should I use???
Solved! Go to Solution.
10-15-2010 07:28 AM
Hi Bhoomi
DAQ is a legacy version, DAQmx is advanced version.
you can see suitable examples for ur Daq card .
see first image -> to find ur daq card.
2nd for daq card supported examples.
I hope it will clear doubts.
Regards,
Hari
10-15-2010 08:11 AM
hi thinnker
thanks for your reply. so it will be have any diffrence if i use DAQmx???and if i want to store the data 1st into memory what should i do???
how much delay it will take to store the 16bit data in 32MB memory???? does memory have any signal which shows that the memory is full and i can read the data after that???
10-15-2010 10:01 AM - edited 10-15-2010 10:03 AM
Hi Bhoomi
No difference, Using DAQmx is easier to you.
Can u provide brief description of your project.
then i can give a solution for you.
I suggest u to use DAQmx.
Regards,
Hari
10-17-2010 11:16 PM
Actually I want to read the 12bit digital data coming from my hardware and plot the graph.
1st I want give the software trigger at the pin status change by the external clock. then after for the given time (it can be vary according to user), I want to read the PORT of the PCI card and store that data into onboard memory of that card..
After this I want to give that data to the computer memory and plot the graph. I want to do all this in labview 10.
Please help me how can I do this and specially I am confuse that how data will be stored into onboard memory of the card.
10-18-2010 01:33 PM
Hey Bhoomi,
First, I would like to recommend that you check out the NI 6533/6534 for NI-DAQmx Help. You might be able to find some of your answers in that help document. Now for what you are trying to do in your application, it sounds like you are only acquiring data. If this is the case, with the 6534, the device acquires data into the onboard memory as soon as the DAQmx Start Task VI runs, as long as you don't have any hardware start triggers set up. If you have a hardware start trigger, then the device will acquire after the DAQmx Start Task VI and only after you receive that hardware trigger. If you don't call the DAQmx Read VI, then the data will get stored into the onboard memory for you, as the driver handles this storing of the data into onboard memory, until the DAQmx Read VI is called, which at that point the data is transferred from the board into the computer's memory. Once you get it into computer memory, you can do whatever you would like with that data, like graph it or process it. If you take a look at the example programs (that were mentioned on how to find those in an earlier post), you can find an example that kind of shows you how this works. One of the examples you can check out is called Read Dig Port-Ext Clk.VI. In this example, it sets up to read a finite number of samples, and then starts the task. If you set up a breakpoint on the error wire after the Start VI, the data will be acquired into the onboard memory. Then when you unpause the VI, the data will be fetched from the onboard memory into system memory with the DAQmx Read VI. Again, the driver takes care of putting the data into the onboard memory for you once you start the task.
I hope this helps. Please let us know if you have any further questions or concerns regarding this issue. Also, definitely check out and try to run all of the example programs related to the 6534 so that you can learn how the hardware works, and how to use the functions to do what you want your program to do. Also make sure to read through the help on the 6534, and also the VI help documentation to learn what each function does. Thanks, and have a great day.
Regards,
DJ L.
10-18-2010 11:28 PM
hi DJL
Thank you so much for your brief introduction to my card. and ya now its clear to me that how it will store the data into memory..
again Thank you so much.. if i will have any problem in that will sure tell u...
thank you for help.
Bhoomi
10-18-2010 11:34 PM
Hi
DJL gave right information for you Bhoomi.
i think it will very useful to you.
Thank you DJL for your clear description..
Regards,
Hari