Per Cycle Tristate Programming with NI-HSDIO Primary Software: Driver Software>>NI-HSDIOPrimary Software Version: 1.5 Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: Digital I/O (DIO)>>High-Speed
Problem: How do I program my NI-HSDIO device to tristate on a per-channel, per-cycle basis? When I try to implement this in LabVIEW, I get an "Error -1074118585 occurred at niHSDIO Write Named Waveform (WDT).vi" Solution: If you are encountering the error described above, you are most likely using an HSDIO device that does not support per cycle tristate. The NI-655x series does support this feature, which allows for a real time hardware comparison. See the related links below for more information on this subject. If you do have a NI-655x series device, there are two primary methods that you can use to generate a series of 0's, 1's, and Z's (high impedance). They are to use the niHSDIO Convert Binary to WDT.vi, or to use the Digital Waveform Editor to create an HWS file. HSDIO Convert Binary to WDT.vi
The best place to start is the shipping example (LabVIEW >> Help >> Find Examples) called Dynamic Generation with Cycle to Cycle Tristate. This example demonstrates how to generate a dynamic pattern that includes tristated channels. Tristate may be specified on a sample-to-sample and channel-to-channel basis. Digital Waveform Editor A second method is to use the Digital Waveform Editor (DWE) software to create an HWS (Hierarchical Waveform Storage) file. Within the DWE, you can graphically create digital waveforms that include high impedance values on a sample-to-sample basis. You can then use this HWS file in conjunction with the shipping example Read HWS File and Generate. For more information on the Digital Waveform Editor, please refer to the link below. Related Links: Developer Zone Tutorial: High-Speed Digital ATE and Stimulus Response Features Developer Zone Example: High-Speed Digital Real-time Hardware Compare Developer Zone Example: High-Speed Digital Real-time Hardware Compare (LabWindows/CVI) Developer Zone Example: VB6 niHSDIO - Stimulus Response-Load From HWS File KnowledgeBase 42MATJD3: Handling HSDIO Data Delays Greater Than 100% Product Page: NI Digital Waveform Editor Product Page: NI 655x Programmable Voltage Digital Stimulus-Response Instrument Attachments:
Report Date: 10/20/2006 Last Updated: 02/08/2008 Document ID: 42JET3JQ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
