Opened 6 years ago

Closed 6 years ago

#522 closed task (fixed)

32-bit word decoding

Reported by: srkline Owned by: srkline
Priority: major Milestone: VSANS Event Mode
Component: All Components Keywords:
Cc: Blocking:
Task:

Description

for troubleshooting - need a routine that will convert each word into the 32-bit binary

sscanf %x takes hex input and gives a real value output
printf %d val gives the integer representation of the sscanf output
printf %b val gives the binary representation.

Maybe spit out a file with: 32b hex / binary / interpreted type of event

  • color-coding this in a formatted notebook would be great

Change History (1)

comment:1 Changed 6 years ago by srkline

  • Resolution set to fixed
  • Status changed from new to closed

Wrote a simple procedure to do this - at least partially - since I don't really know what I need. see the comments at the top of the EventMode?.ipf for the description.

DecodeBinaryEvents?(numToPrint)

Note: See TracTickets for help on using tickets.