LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual
Pages 97
Views 845
Downloads : 2 times
PDF Size : 572.7 KiB

Summary of Contents

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

  • Chapter 2Extensions to LabVIEWLabVIEW LEGO MINDSTORMS NXT Module2-70ni.comNXTMessageWriteParameters:This system call method writes a new message to the specified mailbox queue. If there are already five messages in the specified queue, the oldest message is deleted.If the return value is zero, the method succeeded in writing the message to the specified mailbox queue.This method can return the following non-zero status codes:If you are calling NXTMessageWrite on a slave NXT brick, use mailbox queues 10 through 19 as outboxes. When the master NXT brick reads messages, the device checks these upper 10 mailboxes for outgoing message on the slave device.ParameterData CodeI/O DirectionDescriptionStatus CodeI8outputRefer to the following status codes.QueueIDU8inputMailbox queue, [0, 19]MessagestringinputMessage dataStatus CodeEnumDescription–180xEEERR_INVALID_QUEUEInvalid mailbox queue specified–190xEDERR_INVALID_SIZEMessage too large