04-26-2010 12:01 AM
hi,
thanks for your co-operation, well as per i know the microcontroller deals with only hex data i.e microcontroller receives or transmits the data in hex format and the data sended by me through Labview is received by microcontroller until i use the while loop but as soon as i use while loop the first time microcontroller receives the data correctly( i am using break point in my code to check the reception of data) but later on it receives the garbage value.
02-12-2011 04:53 AM
hello
Is there any specific way to write any thing to the PIc microcontroller .....like some command.....as I just want to send ' 2' to the pic but it is not getting it ...because if it would then it sureluy should do the specif job defined to it...
best regards
ali shaheen
02-12-2011 10:19 AM
duplicate post. Please don't post the same question in multiple places. It just irritating.
02-14-2011 03:54 AM
sorryy......
09-18-2012 01:29 PM
Please all friend,
i have problem to connecting betwen microcontroler with the labview.
generally my microcontroler connect with the computer only use USB port. the microcontroler dosn't have have serial port built inside. I design my microcontroler with the temperature sensor device. i use five temperatur sensor. so my serius problem is : i don't know what interface device that i have to use to connect betwen microcontroler with the computer, in order labview can read and procces ?.
Thank you very much for your help...
09-19-2012 05:41 AM
Hello,
As per my understanding, you are working on a Atmel Microcontroller and you are having 5 Temperature sensors connected to it. You are looking at interfacing the microcontroller with LabVIEW via USB.
Before starting of with it, you will need to collect some details like
1. This USB is using the USB conforms to the USB Test and Measurement Class(USBTMC) or USB RAW.
2. To interact with teh USB device, you will need to get the VISA Drivers activated for the device. You can get the help of NI VISA Driver Wizard for the same. This will require the vendor ID and the Product ID for the device. Please find the link below that can help you.
http://www.ni.com/white-paper/4478/en
If its based on USBTMC, then you can use the regular VISA read and write functions. In case of USB RAW, each device can use its own communication protocol. So you will have to follow different programming procedure. Please find the link below, that might be helpful.
http://digital.ni.com/public.nsf/websearch/044FA220F32774ED86256DB3005850CA?OpenDocument
http://digital.ni.com/public.nsf/websearch/E3A2C4FE42D7ED0D86256DB7005C65C9?OpenDocument
Let me know how you proceeded.
Thanks.