06-05-2012 09:10 PM - edited 06-05-2012 09:12 PM
I have a Sparkfun SerIO , sku: DEV-09521, which is a DIO/ADC/DAC device,
which is similar to the Arduino Pro (3.3V, 8MHz), and is built using ATMega328.
User manual: http://www.sparkfun.com/datasheets/DevTools/Arduino/SerIO%20User%20Guide.pdf
It has Serial Communication over USB at 57600bps, 8-N-1
I don't have any drivers or VIs for this. I tried the Instrument Assistant but it only has option for com and lpt
The interface commands are listed in the user manual cited above,and follow a simple sytax:
"C,0,o\r"
where the command inside the quotes is
"C" for configure command,
"0" is for pin 1,
"o" is for output, and
"\r" is the termination character at the end of each command, a carriage return or enter key.
thus issuing command to configure pin 1 for output of bit.
How do I initalize usb communication to this device in labview and send a command string?
06-05-2012 10:17 PM
06-05-2012 10:44 PM
I don't know anything about COM port emulation over USB.
I tried using the instrument assistant and setting it to com with port settings of 57600/8/N/1. The device is supposed to echo back the command, and in the case of a read command, return a result. The device did not echo command, did not return a result on read command, nor did the data light blink on the device, when I attempted to use the instrument assistant.
MAX has not recognized the device
06-05-2012 11:04 PM
06-06-2012 02:08 AM
MAX did not change its listing of devices when I connect/disconnect the device. The device apparently is not one of the com ports listed either.
06-06-2012 02:23 AM - edited 06-06-2012 02:24 AM
The device did not come shipped with any examples of how to use it in Labview, as it is USB port hardware not specifically developed for Labview..
I don't see any way to direct hyperterminal to talk to the device.
06-06-2012 06:51 AM
The PC needs to know the device... Don't know how W7 handle this, but usually you need a driver ....
After the PC get to know the device it should show up as a serial COM port (in MAX ) and can be accessed in LabVIEW with the VISA serial vis