04-07-2009 02:58 AM
Solved! Go to Solution.
04-08-2009 06:24 AM
The PFI line itself cannot be used for a static generation however we can route various triggers/events to this line if there is one that would be suitable for this application. To view the various available events please launch the help file from Start>>All Programs>>National Instruments>>NI-HSDIO>>Documentation>>NI Digital Waveform Generator/Analyzer Help. Then in the index go to fundamentals>>digital terminology>>Timing and Triggering and then either triggers or events. Also see available routes in Devices>>NI 656x>>Hardware Architecture>>Signal Routing.
If one of these is suitable for when you want to change the switch then this should be relatively straight forward. If not perhaps one of the data lines can be used in someway to interface to your data switch.
04-09-2009 07:16 PM
I just wanted to throw out another idea. Is there a certain point in time, or in your waveform, that you want to supply your logic high or logic low? You might be able to set up markers in your waveform, or possibly use events, like data active event, to send data out on your PFI line. Check out the Help file that James pointed out for more details on markers and events, and how to send them out on PFI lines. Just another thought. Hope this helps. Let us know how things are going. Thanks, and have a great day.
04-14-2009 01:00 PM
One more trick that you can use is found in this discussion forum post called Static write with a PFI using HSDIO products. This is not a well known method, but it should work for you. You will want to use the following function:
int32 DAQmxConnectTerms (const char sourceTerminal, const char destinationTerminal, int32 signalModifiers);
int32 DAQmxDisconnectTerms (const char sourceTerminal, const char destinationTerminal);
Another thing you can do is just use High, or Low, for the sourceTerminal
Make sure you use the DAQmxDisconnectTerms() function when you are done, so that you can use the PFI line for other signals if you need to.
04-15-2009 07:24 AM
Switching works as described but we need to set the PFI3 terminal output levels to be 3.3V (logic1) & 0V (logic0) on the 6562 card.
What is the best method of implementing this??
04-22-2009 11:35 AM
Sorry for the delay in getting back to you on your latest question. I would recommend that you check out the NI Digital Waveform Generator/Analyzer Help document, and search for Configuring PFI Terminal Configuration. Here is a link to the online version of the help so you can go directly to the section on how to configure the PFI line to be Single Ended. For example you could choose one of those properties/attributes to set the PFI line, like the NIHSDIO_ATTR_READY_FOR_START_EVENT_TERMINAL_CONFIGURATION. Use the attribute to set the PFI 3 line to be Single Ended, not actually use the Ready for Start Event, and when you connect High or Low, you should be seeing a single ended PFI line. Let me know if this does not work for you. Thanks, and have a great day.