background image

NI Digital Waveform Generator/Analyzer Guide

18

ni.com

8. Programming the Digital Waveform 
Generator/Analyzer

You can generate or acquire digital data with the NI digital waveform 
generator/analyzer using NI-HSDIO. You also can run the NI-HSDIO 
examples to demonstrate the functionality of your device.

NI-HSDIO Instrument Driver

The NI-HSDIO API features a set of operations and attributes that exercise 
all the functionality of the device, including configuration, control, and other 
device-specific functions.

Information about programming with NI-HSDIO is available in the 

NI Digital Waveform Generator/Analyzer Help. 

This online document 

contains hardware information, concepts, a detailed function/VI reference 
for NI-HSDIO, and information specific to your device.

NI-HSDIO Examples

The NI-HSDIO examples demonstrate some of the functionality of the 
NI digital waveform generator/analyzers that you can use or integrate into 
your applications.

For the location of example programs that you can use as a basis for your 
first NI-HSDIO program, refer to 

Programming»Getting Started with 

NI-HSDIO

 in the 

NI Digital Waveform Generator/Analyzer Help

.

Appendix A: Device Front Panels

This section contains front panel connector figures and connector description
tables that describe the signal connection options for NI digital waveform 
generator/analyzers.

NI 654

X

/655

X

 Front Panels and Connectors

The NI 654

X

/655

front panels contain four connectors—three SMB jacks 

(CLK IN, PFI 0, and CLK OUT) and one 68-pin VHDCI connector 
(DIGITAL DATA & CONTROL, or DDC).

Figure 8 shows the NI 6541 front panels and pinout, which are identical to 
those of the NI 6542. The DDC signals are described in Table 4. The 
SMB connectors are described in Table 7. The LEDs are described in 
Tables 8 and 9.

Summary of Contents for NI PCI-6542

Page 1: ...r Help at Start Programs National Instruments NI HSDIO Documentation NI Digital Waveform Generator Analyzer Help Refer to the specifications document that ships with your device for detailed specifica...

Page 2: ...ues associated with a bit or signal name for example DIO 3 0 The symbol leads you through nested menu items and dialog box options to a final action The sequence File Page Setup Options directs you to...

Page 3: ...responses that the computer automatically prints to the screen This font also emphasizes lines of code that are different from the other examples monospace italic Italic text in this font denotes tex...

Page 4: ...A PXI chassis and controller or desktop computer 1 8 in flathead screwdriver Number 1 Phillips screwdriver Microsoft Internet Explorer 5 5 or later Measurement Automation Explorer MAX 3 1 or later A...

Page 5: ...llowing precautions Ground yourself with a grounding strap or by touching a grounded object Touch the antistatic package to a metal part of your computer chassis before removing the device from the pa...

Page 6: ...you should install the gasket Refer to step 5 Installing the Hardware for more information about the gasket 4 Installing the Software This section describes the software installation process for the...

Page 7: ...CD and is installed when you install the driver The NI Script Editor provides an intuitive interface to help you develop linking and looping pattern generation operations NI Script Editor Help contai...

Page 8: ...speed to low or turn the fan off 3 Position the chassis so that you allow plenty of space between the chassis fan intake and exhaust vents Blocking the fans affects the air flow needed for cooling For...

Page 9: ...ot clean the module with any solvents or liquids For more information about module cooling refer to the guidelines in the Maintain Forced Air Cooling Note to Users included with your NI digital wavefo...

Page 10: ...recommends either leaving the slot adjacent to the fan side of the device empty or using lower profile devices in the slot adjacent to the fan side 5 Secure the device with the screw provided in the...

Page 11: ...igure and test the digital waveform generator analyzer MAX should automatically detect the device you installed 2 Expand Devices and Interfaces If you are using an NI digital waveform generator analyz...

Page 12: ...igned to the digital device You need this information when you program the device Using the Test Panel to Generate and Acquire Data To verify your device configuration use the device test panel in MAX...

Page 13: ...tons are shown in the following figure Because the data channels on the NI digital waveform generator analyzer are bidirectional while the data is being continuously generated on all of the channels a...

Page 14: ...for differential high speed digital signal transmission Using Accessories NI 654X 655X Only NI recommends using the NI CB 2162 single ended digital I O accessory to access the signals on the 68 pin DD...

Page 15: ...tal Waveform Generator Analyzer 2 SHC68 C68 D2 Cable 3 NI CB 2162 Accessory 1 PXI Chassis with NI Digital Waveform Generator Analyzer 2 NI SMB 2163 Accessory 3 SHC68 C68 D2 Cable NI PXI 6551 50 MHz Di...

Page 16: ...igital waveform generator analyzers This section provides information on the general wiring considerations for each type of application Both examples use the NI CB 2162 for signal termination Dynamic...

Page 17: ...gure 7 Dynamic Acquisition Functional Diagram Note NI digital waveform generator analyzers have various input impedance settings as shown in the following table Refer to the NI Digital Waveform Genera...

Page 18: ...The NI HSDIO examples demonstrate some of the functionality of the NI digital waveform generator analyzers that you can use or integrate into your applications For the location of example programs tha...

Page 19: ...1 22 23 24 25 26 27 28 29 30 31 32 33 34 DIO 31 GND DIO 29 GND DIO 27 GND DIO 25 RESERVED DIO 23 GND DIO 21 GND DIO 19 GND DIO 17 GND DIO 15 GND DIO 13 GND DIO 11 GND DIO 9 GND DIO 7 PFI 1 DIO 5 GND D...

Page 20: ...uisition 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 DIO 0 31 Data Bidirectional digital I O data channels 0 through 31 26 30 64 PFI 1 3 Control Input te...

Page 21: ...3 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 RESERVED GND RESERVED GND RESERVED GND RESERVED RESERVED RES...

Page 22: ...01 the NI 656X pinout is reversed at the end connector For example the signal shown on pin 1 shown in the previous figure would map to pin 73 at the end connector Table 5 NI 655X DDC Connector Pins P...

Page 23: ...DIO 9 GND DIO 10 GND DIO 11 GND DIO 12 GND DIO 13 GND DIO 14 GND DIO 15 GND STROBE GND DDC CLK OUT LVDS GND RESERVED NC GND DDC CLK OUT LVPECL GND PFI_1 PFI_2 PFI_3 GND RESERVED NC DIO 0 DIO 1 DIO 2 D...

Page 24: ...orted Sample clock 72 DDC CLK OUT LVPECL Control Complementary terminal for the LVPECL exported Sample clock 62 STROBE Control Positive external Sample clock source which can be used for dynamic acqui...

Page 25: ...L or for the external Sample clock used for pattern generation and or acquisition PFI 0 Programmable Function Interface PFI 0 Control Input terminal to the device for external triggers or output termi...

Page 26: ...s from the PXI module front panel 3 Remove the PXI module and inspect for signs of damage Do not reinstall a damaged device 4 Reinstall the PXI module using the procedure described in step 5 Installin...

Page 27: ...ll fails the self test proceed to step 3 3 Uninstall and reinstall NI HSDIO 4 If the device still fails the self test contact NI support at ni com support I Received a Thermal Shutdown Error I receive...

Page 28: ...e issues refer to the MXI documentation at Start Programs National Instruments MXI or visit NI Technical Support at ni com support Technical Support Resources NI Web Support The National Instruments W...

Page 29: ...85 7530 China 86 21 6555 7838 Czech Republic 420 224 235 774 Denmark 45 45 76 26 00 Finland 385 0 9 725 725 11 France 33 0 1 48 14 24 24 Germany 49 0 89 741 31 30 India 91 80 51190000 Israel 972 0 3 6...

Page 30: ......

Page 31: ......

Page 32: ...bout National Instruments trademarks Other product and company names mentioned herein are trademarks or trade names of their respective companies For patents covering National Instruments products ref...

Reviews: