gaqplan.blogg.se

Serial port labview driver
Serial port labview driver











serial port labview driver
  1. Serial port labview driver serial#
  2. Serial port labview driver code#

On the Labview (v11.0 32bit) end, I had a "+" to the number I'm sending, to act as the first non-numerical symbol. Referring to the attached code, I am using Stamp_Serial_Comm.vi to communicate with the device.Īs you can see, I have included a "-" on the SEROUT that acknowledges the received instruction. I would like to know if this reluctance to start indicates a problem with the servo (which is brand new) or if it might be a timing issue with the code, or even the battery (9V Alkaline feeds board and servo through (+5)Vdd) reaching the end of its life, or if I should switch to a 1.5V 4-pack independent source for the servo. It requires a small push on the right direction to start and only then it runs fine.

Serial port labview driver serial#

While both the second snippet and de DEBUG and DEBUGIN comands work fine (notice I am using port 16, the same as the debugger, for serial coms), the motor is hard to start even with the simple snippet above.

Serial port labview driver code#

The change from DO.LOOP to GOTO reflects the fact that more recently I've been trying to use the fastest code possible (as far as I know) as this is extremely important in the attached code. I've also tried small snipets of code, such as: The code I'm working is attached, and I've tried the debuging (even changing the Latency Timer of the USB port). I'm trying to use a BS2 on a HomeWork Board (USB) to drive a Continuous Rotation Servo while controlling the direction through Labview.













Serial port labview driver