05-24-2013 01:18 AM
Hello,
I am trying to interface ATXMega series microcontroller with labview.. I want the communication to ON as long as the controller is connected via USB.. I want to read or write data continously to the controller.. Can anyone help me how to achieve this task??
05-24-2013 07:25 AM
Read the communication details of microcontroller.
In what format it will send the data i.e. timeout, baud rate, parity, flow control, databits etc.
All this information is needed for communication.
Thanks,
05-25-2013 01:19 AM
I have the information you asked.. I went through this VI
http://myweb.wit.edu/johnsont/Classes/LabView_Labs/Elec163LabVIEW8-RS232v1.htm#_ftnref1
Here the communication is done through RS232.
I want to make it through USB. What modules in LabVIEW shoud be used to make that interface? Can VISA module alone helps for transmission and reception of data through USB? If so should there be any modification of the bootloader code present in the controller?
05-25-2013 01:51 AM
Yes there is lots of 3rd party software which is used to RS232 to usb conversion.
Tell me when you implement your VI what other difficulties you face
Thanks
05-25-2013 02:02 AM
I am using a controller which have USB module so that it need not require USB to RS232 conversion. I want to use USB as it have higher speed than RS232. My aim is to read/write the data from/to the controller through USB connector connecting PC and contrller kit.
If I make a simple VISA read/ write, can i achieve the task? Or should i have to have some code in controller to respond for visa protocols?
05-25-2013 02:09 AM
For controller to response there must be firmware in controller to respond to specific command only, Right ?
VISA also detects USB, but I have no experience in that. I am using 3rd party software to do the conversion.
05-25-2013 03:27 AM
Can you give details about that 3rd party software?
05-25-2013 03:36 AM
That is 3rd party software.
Google it USB to serial bridge.
You will many
Thanks
11-26-2013 04:19 PM
@saran19 wrote:
Hello,
I am trying to interface ATXMega series microcontroller with labview.. I want the communication to ON as long as the controller is connected via USB.. I want to read or write data continously to the controller.. Can anyone help me how to achieve this task??
ATxmega always want to program a microcontroller, you exist other more efficient microcontrollers operating at higher speeds, such as proposed by National Instruments