Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

VC# and DAQmx to send output on PFI7 of a 6035E to trigger SC-2040 track/hold circuit

I'm probably just a bit dense, but I can't figure out how to arrange a signal output to appear on PFI7 of my 6035E to fire the track/hold circuit on my SC-2040 sample & hold. The DAQ is directly connected to the S/H with a 68-pin cable, so the trigger input on the S/H is directly routed to PFI2 on the DAQ. I'm using C# and Measurement Studio 7.0. Here are my design goals:

1. rising edge trigger appears on PFI2 and kicks off a countdown (fine, got this worked out)

2. once the countdown is complete, send digital high to PFI7 and switch the SC-2040 into hold mode (?)

3. countdown a bit more to allow the SC-2040 outputs to settle, then read samples from various analog channels (no problems here)

4. send digital low to PFI7 and switch the SC-2040 back into track mode. (?)

5. rinse, repeat.

Advice much appreciated.

Cheers,

E Power
0 Kudos
Message 1 of 2
(2,853 Views)
Hello,

Thank you for contacting National Instruments.

There is no way to internally route a Digital Output (DO) to a PFI Line. What you should do is externally wire a DO Line to the PFI7 line. For example, wiring pin 52 to pin 38 would connect the digital line "P0.0" to PFI7. Then it is simply a matter of writing a digital value to "P0.0".

I hope this helps. Let me know if you have any further questions.

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,838 Views)