LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

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

Summary of Contents

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

  • Chapter 2Extensions to LabVIEW© National Instruments Corporation2-63LabVIEW LEGO MINDSTORMS NXT ModuleNXTSoundSetStateParameters:This system call method writes new State and Flags values to the sound module of the NXT brick. NoteUse this system call method with caution because it directly influences the internals of the sound module on the NXT brick. Use this method only for stopping current playback by writing a new State value of SOUND_STOP.The following value is the only value you can write to State:The following value is the only value you can write to Flags:ParameterData CodeI/O DirectionDescriptionStateU8inputNew state for sound moduleFlagsU8inputBitfield of sound module flagsValueEnumDescription0x04SOUND_STOPRequest to stop playbackValueEnumDescription0x00SOUND_FLAGS_IDLENo flags set