01-16-2008 03:24 AM
01-16-2008 08:15 AM
01-17-2008 02:02 PM
01-21-2008 02:29 AM
01-23-2008 02:20 AM
01-23-2008 08:40 AM
It's certainly possible to generate 2 or more lines, but it may not be simple, and the 1-line example may not readily extend to multiple channels. (Don't have LV nearby to look at code now.)
I have not personally used the digital waveform datatype and vi's beyond some brief experimentation. When I needed to interleave multiple channels of digital transition timing info, I hoped the digital waveform vi's would have some neat capabilities under the hood to make it easy. I didn't find any. Instead I figured out how to do it from raw arrays of digital states. It isn't too hard to get nearly right, but is kinda tricky to get exactly right for all circumstances. Sorry, all I can share is advice: be sure to test the behavior thoroughly with various special cases. For example:
1. Signal 1 has 1 or more transitions before signal 2's first transition. And vice versa.
2. Signal 1 has 1 or more transitions after signal 2's last transition. And vice versa.
3. Signals 1 and 2 have their first transition at the same instant. Then try coincident last transitions. Then try coincident intermediate transitions.
4. Signals 1 and 2 have many or all transitions at the same instant.
5. There are probably some others that aren't coming immediately to mind. Also, try different combinations of the scenarios above.
-Kevin P.
01-23-2008 12:54 PM
01-24-2008 01:36 PM
01-26-2008 05:20 AM
07-27-2010 02:08 PM
I have the following Voltage v/s time plot and need an ability to modify the voltage range from 3 V to 7 V.
Can I use the example for this. Also, when I talked to NI support engineers, they suggested me to go for analog output, since digital output is fixed at a specified High level.
Waveform:
_____ +V
| |________ ______ 0V
|_______| -V
T_ON T_OFF T_LOW
T_ON and T_OFF: 10ms to 50 ms in increment of 5 ms
V: 3V to 7 V in increments of 0.5 V
I am planning to use NI 6216 for this application.
Suggestions are requested.
Thanks,
Anupam