Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquiring binary data from Read waveform vi. ( removing timing data)

Ok, here is my question:
 
I'm using a 6229 Daq. When my Vi runs ( Read Dig Port Ext clk) I fill the buffer witih 64 bits.
The Problem: It's difficult to read the data back using the Read Vi, ( I have to use the digital to binary Waveform vi in an attempt to retrive the binary data. ( I'm using the Wave form function of the Read .vi because the other selections in the single channel>> single sample>> menu have a buffer size of only 32U bits. My exteranl device requires a buffer size of 64 bits.)  Now once the Read (waveform) vi. has my data this vi super imposes timing data onto my digital data in the buffer ( Why because this vi purpose is for of course a waveform vi). Now I must remove this timing data ( first I must distuginish between the timing data and my buffer data) If you know of another vi would allow me to acquire my buffer data and has a buffer size of 64 bits, I would like to know I will attach the Vi.  
 
I believe it would be easier after reading my external device which fills up the 6229 daq's buffer with 64bits to read that buffer using a textual language ( C/C++)
Then use labview CIN and send this data to a labview array.
However I do not have a memory map of the 6229 daq. I do know which register the data has been written two ( I know the port, I do not  know the register associated
with that port. example PXI/slot2/port 0)
 
 
0 Kudos
Message 1 of 2
(2,839 Views)
From what I understand from your post, you would like to acquire digital data from a port on your PXI-6229 board.  Have you had the opportunity to look at a DAQmx shipping examples?  If not, then you can go to Help>>Find Examples in LabVIEW. This will open the Example Finder, which is a great resource and a good starting point for a data acquisition project.
 
In the Example Finder, a list of folders will be in the middle of the window. Double-click on "Hardware Input and Output", Then "DAQmx", then "Digital Measurements". This will bring up a list of all the examples that meet that description. You can see a brief description of what they do by selecting the example and reading the Information at the top right in the Example Finder.  
 
Based on your description, I recommend looking at the example named Read Dig Port-Ext Clk.vi. You can save a copy of this example and edit it to fit your needs.  The example demonstrates how to input a finite digital pattern using an external clock.

I hope this works for your application.  If you have any questions, please do not hesitate to contact us back.

Mark Walters
Application Engineer

0 Kudos
Message 2 of 2
(2,819 Views)