Quick start guide

This document describes how to begin using the ZSOM-Control ant ZSOM-Mini.

Before using the ZSOM, you must install the following application software and device drivers on the host computer.

Software 2017
LabVIEW 2017 SP1 or later
LabVIEW Real-Time Module 2017 or later
LabVIEW FPGA Module 2017 or later 1)
NI CompactRIO Device Drivers 17.6 or later

[FIXME, replace that Image]

Connect the Power Supply

:!: caution the heat spread can get hot :!:

Connect the ZSOM Plug with the delivered power supply. The Input voltage rating is 9-28 VDC, 1 A max.

The Status LED stays solid during boot and will turn off after boot

Connect the Network

USB C

  1. Connect the "USB C" with the cable2) contained in the starter kit
  2. Device drivers are installed automatically

Windows7 success message

Ethernet

If you prefer connecting the device to your Network, use the RJ45 "ETH" connector.

The ZSOM-Control-Starterkit ships with installed Software and is ready to go. However, if you want to deploy or retrieve your own image refer to Installing Software on ZSOM

Load the example from the download page and the project.

The Example project consists of code FIXME [list links]
The FPGA bitfile is precompiled and enables for use without LabVIEW FPGA. The example is built for a generic use of the board. It can be used as starting point for a customized application.

Establish Connection

  1. Set IP to discovered address (ZSOM connected through USB C will have the IP “172.22.11.2”)
    1. Right-click on Realtime Target → Properties
  2. Connect
    1. Right-click on Realtime Target → Connenct
  3. Realtime Target icon on project explorer shows a light green dot on success

Open the “RT” Folder and the vi “RT_main.vi” and run it.

DIO

Shows the functionality of Digital Input and Output

Control Name Function
DIO IN DIO Input value
DIO DIO DIO Direction (True = Output, False = Input)
DIO OUT DIO Output value ( only active when DIR is set to True = Output)
DIN DIN Input value
DOUT OCx Ouput value
3VENB Enable 3.3V Source voltage
5VENB Enable 5V Source voltage
DIO IOLEVEL Switch DIO Voltage Level 3.3V/5V

ADC

Shows the functionality of Analog Input. The Example reads the Input sample burst wise for visualisation. The sampling frequency and #of samples are configurable.

Control Name Function
Waveform Graph Input Samples Graph
Spectrum AIN1 Input spectrum Channel 1
desired sampling frequency yes, the desired sampling frequency
achieved sampling frequency real sampling frequency, derived from FPGA clock
samples per burst Number of samples read in one burst
ms per burst Duration of one burst
Range ADC Input Range +/-10 or +/-5V

DAC

Set the Output of Analog Out. The example generates a pattern (sinus, triangle, saw tooth or rectangular (25% duty cylce) and outputs it on AOUT1. AOUT2-4 can be directly set to a voltage level trough controls.

Control Name Function
type select output pattern type
Frequency select output frequency
Amplitude select output voltage amplitude
Offset select output voltage offset
generated pattern preview of the outputpattern
achievable frequency real frequency, derived from FPGA clock
sampling period sampling period
AOUT 2 set constant output voltage of AOUT 2
AOUT 3 set constant output voltage of AOUT 3
AOUT 4 set constant output voltage of AOUT 4

Serial

Wire loopback to get started with the RS232 and RS422/485 Interfaces. Connect following Pairs

FIXME create Graph

54 RS422 TX+ —- 57 RS422 RX+
55 RS422 TX- —- 56 RS422 RX-
62 RS232 TX —- 61 RS232 RX

The RS232 Tab and the RS422/485 Tab are exact the same.
The sender loop continuously transmits following string “message <I><PAYLOAD>, where

  • <I> is an incrementing number
  • <PAYLOAD> is your custom string from the payload field

Control Name Function
Sender payload custom payload
sent message sent (concatenates payload with incrementing message No)
error senders Error
Receiver received message received
error receivers error

File System

The ZSOM can mount USB flash-drives and SD cards. This can be useful to extend the ZSOM storage e.g. for logging other other data being generated.

  • Make sure your media is in a compatible format
  • In case of USB drive the Reset control must be active FIXME naming!!

Control Name Function
path Device root path
is mounted Device mount status
disk usage Device disk usage in percent
USBRESET USB reset, must be active to mount USB drive
USB1PWRFAULT USB drive power status FIXME naming
SDPWRFAULT SD card power status FIXME naming

Temperature Measurement

Shows following Board core temperatures

  • CPU
  • Primary (Top side)
  • Secondary (Bottom side)


1)
is only required when using custom FPGA design
2)
must be USB3.0 capable
  • Last modified: 7 months ago