WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-03-2014, 09:13 PM
sunil.nair sunil.nair is offline
Member
 
Join Date: Aug 2013
Posts: 14
Serial communication with arduino uno

Hi,

Could you suggest me a way to send a character from vizard to arduino uno through serial communication using pyserial. In arduino i read it by:

void setup() {
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps
}
void loop() {
if (Serial.available() > 0) {
Serial.print("I received: ");
}}
Reply With Quote
  #2  
Old 02-03-2014, 09:14 PM
sunil.nair sunil.nair is offline
Member
 
Join Date: Aug 2013
Posts: 14
COuld you help me with the forresponding code for vizard? I have installed pywin and pyserial packages.
Reply With Quote
  #3  
Old 02-05-2014, 03:24 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
The pySerial article in our knowledge base has some example code that opens a port and writes some data.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create AMTI AccuGait force plate plug-in using serial port connection? manueleh Plug-in development 0 09-20-2012 01:22 PM
Question about serial port mizutani_jun Plug-in development 6 11-21-2010 03:53 PM
serial port with vizard Moh200jo Vizard 3 03-13-2009 03:21 PM
Long 9-pins serial cables aaThomas Vizard 2 03-13-2008 02:32 PM
A simple Plug_in for reading data from serial port sled Plug-in development 0 08-12-2003 09:52 AM


All times are GMT -7. The time now is 04:55 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC