02-02-2009 07:01 PM
I want to write values to Mote MicaZ to turn on/off LEDs on the modules, but it's not clear to me how to use the Write.vi (that is the subVi for writting). I tried one connection but got some errors.
I have the Write VI in "1Sensor 1Point" mode and I have it connected as follow:
* "Node ID" terminal is connected to a I32 element
* "Data" terminal is connected to a DBL element <--- (not clear what value to put here)
* "Stream" terminal is connected to the output of Start Stream.vi
* "Error_in" terminal also comes from corresponding error output of Start Stream.vi
And the error I got is:
Error 8000 occurred at Variant To Data in Crossbow XMesh WSN.lvlib:WSN Engine.vi:1
Possible reasons:
Value passed to the Stream In control is invalid.
Please make sure the Stream In has been created.
Any help on how to fix that error? Or any example or description about how to use that Write.vi?
05-12-2011 02:14 AM
Hey,
I'm facing the same problem.. Can anyone help me out, i need to WRITE data into the mote, to control their leds etc, how do i use the Write.VI for this??