Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

simple serial IO controling with vision builder ai

I just bought a handy serial IO interface which works with a microcontroler. It comands to 8 relays and recieves digital signals from 8 detectors. Now the problem is that I can't send and recieve command to it with vision builder. I send commands but it doesn't react. the board(serial interface hardware) has no driver. It simply recieves some double-byte codes and reacts to each of them.

I now want a solution to make it work for my vision builder 3.6 ,please guide me whether I should write a driver for it or I should use labview or anything else, thank you!

0 Kudos
Message 1 of 2
(3,086 Views)

lightgoal,

 

I might reccomend trying some of the suggestions in the following KnowledgeBase: 

 

http://digital.ni.com/public.nsf/allkb/105A8DE87DC414CE86256CAF00606505?OpenDocument

 

Basically, you want to be sure that you can communicate with the serial interface at all before you worry about it in VBAI. Once it works anywhere, it should work in VBAI. If that KB or the related links doesn't get you started, let us know, and we'll keep trying to figure something out.

Message Edited by Chris_VH on 01-19-2009 09:50 AM
Chris Van Horn
Applications Engineer
0 Kudos
Message 2 of 2
(3,074 Views)