Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

pci 6229

1)create 5 plots on the front panel

2)pass the read data to an Index Array function
index 0...> ist of channel list
index 1...> 2nd of channels list
..etc..

and
3)pass the output of the Index Array function to each plot
Message 21 of 31
(1,893 Views)
Deznuim,

It looks like Dr. Imad beat me to it, but I was writing a little example for you. I have attached it her for you.

Hope this helps,
Dan
Message 22 of 31
(1,886 Views)
Thank you Dr. Imad!
0 Kudos
Message 23 of 31
(1,880 Views)
Hi Deznium,

By configuring the x-axis to show time, you can still be able to use the scroll bar to see past data as the chart updates. Please see the example attached.

Thanks,
Lesley Y.
0 Kudos
Message 24 of 31
(1,820 Views)
Thanks
I was wondering if there's a way of displaying the data as you're sampling it via DAQ PCI card. My wave chart displays data so fast that sometime its hard to tell whats going on. I'm not sure adding delays is a good idea too within the loops.
I want to display the data as I'm sampling but it should be displayed in such a way that its not too fast and should plot as its recording (like a cardiograp) or something of that sort!

Thanks in advance
0 Kudos
Message 25 of 31
(1,790 Views)
I meant cardiograph
sorry
0 Kudos
Message 26 of 31
(1,789 Views)
Hello,

just post your code a of now, and I will have a look at it
Message 27 of 31
(1,783 Views)
The code is attached below.
Also, to start and stop acquisition, before I wanted to detect a TTL pulse to start/stop acquiring data.
ie. another computer would send a signal telling the computer running labview to start/stop acquisition.
What if I wanted to start/stop acquisition by reading characters or numbers? As in, instead of having labview to read a +5v pulse and start reading the sigals, i was wondering if there's a way of doing the same thing but with labview setup to recognize characters like 'S' or 'E' or anything of that sort.
So another computer would send through its parallel ports a character, say 'S' for start to begin the acquistion and then say 'E' for exit to stop the acquisition.
I was wondering if this can be accomplished


Thanks in advance
0 Kudos
Message 28 of 31
(1,769 Views)
At a scan rate of 1000Hz, samples will be available at a rate of 1 sample per 1 ms
In the while loop, put a delay "wait ms" function. Currently a value close to 100ms (but not more) will not affect the performance of the vi.

to see the updates slower, say every 0.5 seconds, set the wait to 500 ms, and make the number of samples to read 500.
SEE attached vi

Normallay triggered acquistion waits for a digital signal (on the PF pins). Many examples ship with LabView illustrating the idea. However, you want to read a command instead to start acquistion.
You can have the other computer send a start/stop string thru its serial port, which you can read with your computer. You will have to connect the serial ports togther. Many examples also ship that demonstartes serial communcation. once the command is received, acquistion can be set to start.
Message 29 of 31
(1,755 Views)
Hi,
I really am in need of serious help. Can anyone give me any information on how to set up DAQmx to read value from The motorola HC11 microprocessor board. I have attached one of the C programs that I am running on the HC11 board. Whilst running this experiment I want to record values throughout the experiment. How exactly can I do this? Do I have to use another program such as Labview or can I use the Measurement and Automation Explorer.

Please Help Me
Pauline
0 Kudos
Message 30 of 31
(1,718 Views)