IF2C: Example Data Acquisition Sequence

For IF2C as of this writing (Feb 2019), demo of sending commands while you’re waiting for the UT software package to be updated, so you can play now.

Tools used here: DL0102GXN, IF2C, XBee DM 2.4GHz radio on the HOST (not sleeping for these tests), another of the same radio model in a USB dongle at the PC, CoolTerm and UT Software in some legacy version. This is on a Mac OS X. You could use a USB-Serial cable (3.3V TTL) to connect too of course.

Assumptions: HOST and IF2C are appropriately interconnected and basic communications and power scheme are set up and functional. You know how to set up your serial terminal software and connect and disconnect. Comms to the HOST are working. Including: UT software is set up to talk using the comms at hand.

Example use-case:

Same-channel case: Transmit (Tx) on Channel 1, Receive (Rx) on Channel 1, Rx Gain of 8

Default serial options

Assuming default firmware baud rate is intact

Connect to the serial port and set up the IF2C:

Use Connection => Send String… and select “Hex” mode. Send each command (5-byte packet) one at a time. “DB” means this is an IF2C command. The commands for this example are in the table below.

But first, NOTE: The default firmware on the GXN as shipped includes a SLEEP command with a 1-minute timeout from the last active comms until sleeping. If your first command doesn’t get a reply from the HOST GXN, send a second command. The first command woke it up, and the second will get processed correctly. If the second command doesn’t return a reply, something else is going on. There are ways to work gracefully and planfully with this in updated UT software. More about SLEEP is here.

1. Set all Tx channels to OFF53 DB 05 00 50
2. Set Tx channel 1 to ON = transmit53 DB 01 01 50
3. Set Rx channel to 153 DB 10 01 50
Sending the first command
Look for the response “IF2C COMMAND OK”. View in HEX mode is selected.

All commands sent:

Disconnect from serial port

IMPORTANT: With channels set up, now DISCONNECT from the serial port in the terminal program so that the UT software can use it.

Grayed out disconnect option means we are disconnected

Use Send Settings and PAC in your UT Software

When using the HOST/IF2C pair, the Tx and Rx Chans are always different. For the GXN, Ch 1 is the Tx channel, and Ch 2 is the Rx channel. Enter the remaining settings as needed (Rx gain, delay). Tx gain has no meaning for a GXN, but does have meaning on a “G” or the DL0100A1

Set the channels correctly and the PAC settings too

NOTE: The Rx channel and Tx channel in your UT software will probably always stay the same. They are separate and different from the IF2C channel settings.

Perhaps you will see something lovely:

Summary

  1. Serial program: Connect/Open serial port and send commands to set up your channels for Tx/Rx on the IF2C.
  2. Serial program: Disconnect/Close serial port.
  3. UT Software: Set Rx Chan 2 and Tx Chan 1 and keep them that way, regardless of the IF2C channels. Assuming that’s where you’ve connected your Tx/Rx signals on the HOST board.
  4. UT Software: Send Settings and PAC.

Cross-Channel/Bulk Wave/RMS Acquisition Example Modification Notes

Use the same procedure as above. Just modify the Rx channel command to listen on a different channel, presumably a channel on which you have your listening transducer connected! Command sequence becomes:

1. Set all Tx channels to OFF53 DB 05 00 50
2. Set Tx channel 1 to ON = transmit53 DB 01 01 50
3. Set Rx channel to 553 DB 10 05 50
Rx gain at 8, Rx delay 10. GXN/IF2C. Tx:1, Rx:5. 2 composite XDs mounted 2″ from each other on the same face, about 1.5″ from the plate edges on two side. 0.5″ steel. You can see some cross talk artifacts early, but then on the right half of the waveform you start to see the echoes propagating into the receiving XD’s domain. Regarding crosstalk: this is MUCH (-40dB) less than on the previous DLITE Family boards (whose primary design use case corresponded to its performance). Here you can actually see the propagating echoes this early in the waveform. They continue to increase in amplitude. Using the GXN board alone generated much better signal quality for this application (gain and signal to noise). The pair together (GXN/IF2C) here shows improved functionality in some regards as compared with previous gen boards, though as well, an early prototype stage of development.
Rx gain 15, Rx delay 40. The rest is the same as above. The sharp peaks are spaced 0.5″ in time-converted-to-space.