Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
getting_started [2019/11/14 11:20]
mas [DAC]
getting_started [2020/09/22 07:52] (current)
ba
Line 13: Line 13:
 | LabVIEW Real-Time Module 2017 or later       | | LabVIEW Real-Time Module 2017 or later       |
 | LabVIEW FPGA Module 2017 or later  ((is only required when using custom FPGA design)) ​         |  | LabVIEW FPGA Module 2017 or later  ((is only required when using custom FPGA design)) ​         | 
-| NI CompactRIO Device Drivers 17.6 or later   +| NI CompactRIO Device Drivers 17.6 .. 19.5 |  
 +| ZSOM SDK see [[protected:​download|downloads]] (login required) ​|
 ===== Connecting the ZSOM  ===== ===== Connecting the ZSOM  =====
 {{:​connect.png?​800|}} {{:​connect.png?​800|}}
  
-[FIXME, replace that Image]+
 ==== Connect the Power Supply ==== ==== Connect the Power Supply ====
 :!: caution the heat spread can get hot :!: :!: caution the heat spread can get hot :!:
Line 44: Line 45:
  
  
-===== Using the ZSOM Example ​Project ​===== +===== Using the ZSOM Example ​Projects ​===== 
-Load the example from the [[protected:​download|download page]] ​and the project.+The ecamples are installed with the SDK and can be foud via NI Example finder
  
-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.+The FPGA bitfiles are precompiled and enable ​for use without LabVIEW FPGA. The examples are built for a generic use of the board. ​They can be used as starting point for a customized application.
 ==== Establish Connection ==== ==== Establish Connection ====
   - Set IP to [[trouble_shooting#​i_can_not_connect_the_zsom|discovered]] address (ZSOM connected through USB C will have the IP "​172.22.11.2"​)  ​   - Set IP to [[trouble_shooting#​i_can_not_connect_the_zsom|discovered]] address (ZSOM connected through USB C will have the IP "​172.22.11.2"​)  ​
Line 61: Line 62:
 ===== Explore the Fun! ===== ===== Explore the Fun! =====
 Open the "​RT"​ Folder and the vi "​RT_main.vi"​ and run it. Open the "​RT"​ Folder and the vi "​RT_main.vi"​ and run it.
- 
-==== DIO ==== 
-Shows the functionality of [[zsom_control#​digital_i_o|Digital Input and Output]] 
- 
-{{:​exampleproj_dio.png?​1000|}} 
- 
-^ 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 [[adc_6x16|Analog Input]]. 
-The Example reads the Input sample burst wise for visualisation. The sampling frequency and #of samples are configurable. ​ 
- 
-{{:​exampleproj_ain.png?​1000|}} 
- 
-^ 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 [[dac_4x16| 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. 
- 
- 
-{{:​exampleproj_dac.png?​1000|}} 
- 
- 
-^ 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 
- 
-{{:​exampleproj_rs485.png?​1000|}} 
- 
- 
- 
-^ 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 [[http://​www.ni.com/​product-documentation/​54583/​en/​|compatible format]] 
-    * In case of USB drive the Reset control must be active FIXME naming!! 
- 
- 
-{{:​exampleproj_file.png?​1000|}} 
- 
-^ 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) 
- 
-{{:​exampleproj_temp.png?​1000|}} 
  
  
  • Last modified: 3 months ago