02-05-2009 04:16 AM
Hello to all,
I don’t know how to get the data from a 8 channel 12bit ad card into the pc by serial port.
I want to open the serial port and to read the data out. The data consists of eight hex codes, one for every channel. The hex code must be transformed into a voltage. The 8 voltages must be stored in a file.
Maybe someone can help me or has a vi for me.
thanks for your help
02-05-2009 04:28 AM - edited 02-05-2009 04:28 AM
Hi labviewviewer,
can you show your hex codes? Which range do you measure? You need to know how many of voltage is one step.
Mike
02-05-2009 07:33 AM
Hello mike, thanks for your interesse.
The hexcode range is from 0000 to 0FFF ( 0 to 4095) and voltage from 0 to 2,5 volts.
Maybe this could help you.
02-05-2009 07:51 AM
If this is a product the vendor or manufactur should provide you with the transmision protocol. Use this to make an instrument driver. You may also try Google. If it is a common product, a driver will be available for downloading. If this is a custom device, some sort of a protocol also has to be specified.
Good luck
02-05-2009 07:56 AM
Hi labviewviewer,
you also need to know how how you receive the data. Is your data compresed or do you get 2 Byte for one value. If you know this, then you can read your bit values and multiply it with 2.5/4095.
Mike
02-05-2009 08:49 AM
Hello,
the adc is from phytec AduC812
http://www.phytec.com/products/sbc/8051/phyCORE-ADuC8xx.html
02-05-2009 09:16 AM
02-05-2009 09:47 AM
hello t06afre,
i think you are right. i've heared that you need a dll and a header file to make your own vi.
I got ADuC812.h but no dll.
What can i do otherwise to get the data out of the board?
02-05-2009 10:04 AM