LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital line input from a Jennic zigbee kit to data acquisition BNC 2432

I am working on a project involving data acquisiton of data from a Jennic zigbee microcontroller . I am getting burst of data form a line of the kit which tells about the temperature and light signal. How do i give as an input to labview. I tried with the normal data acquisiton it always shows a hight and i dont see any transition. When i try t sample  in different frequency i am not able to do it. i get an error.. How do i get the data out in the form of 8 bit codes so i can represent in the corresponding temp-erature./ light intensity///
0 Kudos
Message 1 of 8
(4,122 Views)

Hi saty,

 

Thank you for posting to the NI forums.  Which data acquisition (DAQ) device are you using – or are you using serial communications?  The 2432 is not (at least currently) made by NI, but Tektronix has a product with that model number – is this what you’re using?  Also, what is the error that you are receiving?

 

If you are using a DAQ device, are you using the Traditional DAQ drivers or DAQmx.  There are numerous examples for each in the LabVIEW Example Finder.  Browse to Hardware Input and Output and then select your driver.  There will be digital I/O examples for both driver versions.

 

Please post back, and with more information, I can give you some better recommendations for the architecture of your program. 

 

Ed W.

Applications Engineer

National Instruments

0 Kudos
Message 2 of 8
(4,090 Views)
Hi ,

      I am using BNC 2120 data acquisition module for acquiring data from the jennic micro controler.
0 Kudos
Message 3 of 8
(4,080 Views)

The BNC-2120 is an adapter module that has to be plugged into a data acquisition card in you pc.

0 Kudos
Message 4 of 8
(4,076 Views)
Yes,

i have all that fixed into my PC thru the PCI slot. I have problem in programming to acquire and convert a serial digital signal into a 8 bit format.
0 Kudos
Message 5 of 8
(4,073 Views)
So, to repeat the question, what the heck is the actual DAQ board in your system? And please don't say BNC-2120 again.
Message 6 of 8
(4,070 Views)
It is PCI 6052E
0 Kudos
Message 7 of 8
(4,067 Views)

That helps.Smiley Very Happy

If you are using a digital line with the 6052, the only option you have is for software timed I/O. That means that you have to command the board to take one sample at a time. The sampling would be done in a loop. This is going to be pretty slow and impossible to synchronize. How fast is the digital burst from the micro? Have you tried doing an analog capture? Is the micro constantly sending out this digital burst? If so, is the data formatted in a way so that you know the start and end of a data frame?

Message 8 of 8
(4,057 Views)