LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

STK600 interfacing with LabVIEW

How to Atmel STK600 with microcontroller ATMEGA128 by using LabVIEW?
I am new in this and I guess all the signals are registered in EEPROM in bits that I see in AVR Studio 4.
Is it possible to read and write in LabVIEW without using AVR Studio?
Do I need to use MAX in order to recognize STK600 as a device?

0 Kudos
Message 1 of 6
(3,352 Views)

Hi,

 

You are able to see the values trough AVR Studio because AVR holds the command set to read the values on the Microcontroller. Depending on the

C code that you have on your controller there is a possibility to send the values of the microcontroller registers to the serial port (UART). Also you can read

those values using NI-VISA driver. I f this is possible you will be able to read these values using MAX or LabVIEW as a visual interface.

 

Miguel Fonseca

Applications Engineer

National Instruments

http://www.ni.com/support

0 Kudos
Message 2 of 6
(3,329 Views)

Thank you for your response.
So as I understand MAX or LabViEW can't recognize the microcontroller if I connect the kit to the computer straight trough the USB cable, I need to do it through a NI-VISA driver, also I need to add read/write commands to the code.
MAX doesn't show Devices and Interfaces in My System tree. Is there a procedure how to install a device to MAX?

0 Kudos
Message 3 of 6
(3,320 Views)

Yes, first you need to install NI-VISA driver and after that you must restart your computer. When that process is complete, you should be able to see any serial device under devices and interfaces.

For the USB case, it is possible that your device apperars as a COM port if your device is working under CDC (Communication device class).  

0 Kudos
Message 4 of 6
(3,315 Views)

I connected STK600 from RS232-DSUB9 connection to laptop using a cable. It installed driver software, but this just helps to recognise the cord as a USB to serial port (COM8) by the computer, but not in MAX. 

Do I need a special program so that LabVIEW and MAX recognize STK600?

0 Kudos
Message 5 of 6
(3,302 Views)

If you can see COM port 8, you should be able to see this port under devices and interfaces on MAX. You just need to install NI-VISA driver.

0 Kudos
Message 6 of 6
(3,295 Views)