Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Help: 8bit Data Transfer

Solved!
Go to solution

Hello DAQ friends,

 

I have a complex programming project for which I am seeking guidance.    I have a good idea of what needs to be done, and have taken I stab in the attached VI.   However, I have no experience with DIO, ergo I'm not confident in what I've done!   The target system is physically removed from me, so my hope is I can obtain some corrections and advice from the forum on the attached before visiting the production system.   Right now, I'm simulating my PXI-6259 offsite with MAX.   Any advice/comments/opinions would be greatly appreciated!

 

Sincerely,

Zach 

 

The task at hand = transfer a text string to an adjacent DSP system via 8 digital output lines.

 

The requirements are:

1. convert each character to an 8bit binary array under ascii standards

2. write the 8bit array to daqmx digital output lines.

3. read the DSP system's busy status via daqmx digital input, idle(TTL low) or busy(TTL high)

4. wait until the DSP is idle

5. generate a 0.0003 sec TTL pulse to "lock" the 8bits via separate daqmx digital output line.

6. reiterate until the whole string has been sent

 

All told I have 8 DO lines for bit codes, one DI line for DSP status, and one DO line for the 0.0003 strobe(lock) pulse.

 

 

0 Kudos
Message 1 of 2
(3,034 Views)
Solution
Accepted by topic author super-neuron
I'm going to ditch this thread...   I've made some significant progress and am now testing the attached version.
0 Kudos
Message 2 of 2
(3,002 Views)