How Do I Configure the PFI Lines as input in PXI 6713 module
Hi,
I have PXI 6713 module in my PXI 1044 chassis. I have configured PXI 6713 module to geneate certain analogue signals to my board.
Board inturn process this analogue signal and responds back the status signals through a status register on the board. In my application,the status bits in status register of the board are mapped to the PFI 0:3 bits on PXI 6713 module ( pins 11,10 , 42 and 43).
My query is how do i configue the PFI lines as input in PXI 6713 module to read these status bits ??
May be below explanation could give you little bit more information w.r.to my query.
When i use NI USB - 6008 module to read the same bits , since this device has 12 digital I/O lines, i could able to read the status bits in to the last 4 digital lines by configuring the those digital lines as input.
In PXI 6713 module i have only 8 digital lines. These 8 digital lines i have used to send the digital signals to the board. I am left with no digital I/O lines. Hence i couldn't use these digital lines. I am left with only one option to use. Theya re PFI lines. Moreover the status bits in the pin out of board are mapped such that the bits can be read through the PFI lines.
I am wondering do we have any example code to use inorder to read these status bits on the board using the PFI lines.
Please let me know if you need additional information to help me out.
Thanks.
Solved!
Go to Solution.
Hello There,
When using the PFI pin as an input, you can individually configure each PFI for edge or level detection and for polarity selection. This PFI information can be referenced in the DAQ Analog Output Series Manual on page 6-1 (http://www.ni.com/pdf/manuals/370735e.pdf). Unfortunately, the PXI-6713 PFI lines are only capable of timing input and output signal for AI, AO, or counter/timer functions. The option of creating static DI from the PFI lines is not available for the PXI-6713. However, some cards have this capability. Newer National Instruments products with PFI lines have the option of setting PFI lines as:
Static Digital Input
Static Digital Output
Timing Input Signal for AI, AO, DI, DO, or counter/timer functions
Timing Output Signal from AI, AO, DI, DO, or counter/timer functions
(http://digital.ni.com/public.nsf/allkb/14F20D79C649F8CD86256FBE005C2BC4)
When set as static DIO, the PFI lines are assigned to a different port (eg. PFI0-7 is Port1). More details about this can be referenced at:
http://digital.ni.com/public.nsf/allkb/DA2D3CD0B8E8EE2A8625752F007596E1
http://digital.ni.com/public.nsf/allkb/862567530005F09E8625677800577C27
Regards,
Roman Sandoval | National Instruments | RF Systems Engineer
Similar Messages
-
Configuring a PFI Line in Traditional NIDAQ
Hi - I'm using traditional NIDAQ (v 7.0) with a PCI-6711 card; I'm trying
to connect an external clock signal to the analog output timebase signal
(i.e. to the UISOURCE signal, as it's called in the DAQ manual). I'm
having trouble with the following:
I'm using the PFI-7 line to bring in the external clock signal,
and in the manual (p. 4-13) it specifically says that the PFI line used
for this purpose should be configured in the level-detection mode.
What I would like to find out is how to do this configuration (specifically).
I looked at the documentation for the Select_Signal() command, but that
didn't look right, and I can't find anymore info on how to configure
PFI lines (in general) in the level-detxn mode (nor for the edge-detxn
mode, for that matter).
Any advice/comments are appreciated. Regards,
ARBThank you for contacting National Instruments. I believe that Select_Signal is the command that you are looking for. You will want it to look something like this:
Select_Signal(devicenumber,ND_OUT_UPDATE_CLOCK_TIMEBASE,ND_PFI_0,ND_LOW_TO_HIGH OR ND_HIGH_TO_LOW)
where devicenumber is the actual device number and the ND_LOW_TO_HIGH OR ND_HIGH_TO_LOW parameter will be one or the other. You can read more about this by looking at the Select_Signal in the Traditional NI-DAQ help. The Signal Name Equivalenices Table tells you that the UISource is called by the name ND_OUT_UPDATE_CLOCK_TIMEBASE. Then, you can read into the parameters for this by clicking on the link that says:
"Parameter Discussion for E Series, I Series, 671X, 673X, NI 5411, and DSA Devices"
Then, click on the ND_OUT_UPDATE_CLOCK_TIMEBASE link in the table. This will give you the possible parameter values for the source and sourcespec parameters.
Hope this is helpful!
Jeff P.
National Instruments Applications Engineer
Jeffrey P.
LabVIEW Product Management
National Instruments -
I'm using the BNC-2120 DAQ and LabVIEW for interfacing with an ultrasonic position sensor. The sensor is the "PING))) ultrasonic range finder." It measures the distance from PING))) to some object directly in front of it. It has 3 pins (5V, ground, and a signal pin). The 5V and ground are easily taken care of with the 5V and digital ground outputs on the DAQ. The signal (SIG) pin works in the following way:
1) Send a 10us, 5V pulse to SIG. This triggers PING))).
2) Wait 200us. PING))) takes a distance measurement.
3) SIG outputs a square wave with a specific pulse width.
The pulse width varies with the distance of the object away from PING))). I've tried using CTR 1 OUT to generate the pulse, and then using CTR 1 GATE to measure the pulse width. However, the measurement is stuck measuring 0V because CTR 1 OUT is on the same pin! So PING))) tries to output a pulse, but cannot due to the fact that CTR 1 OUT forces the SIG voltage to be 0V. So I need to use just one counter I/O line to trigger and measure. How can I do this?Hi Matttastica,
What DAQ
card are you using? The reason I ask is that the PFI lines on some cards can be
used as PFI lines and digital I/O lines, while on others they can only be used
as PFI lines. The pinouts and diagrams for our cards can be found at www.ni.com/manuals. You can accomplish
what you are looking to do if your PFI line is a DIO lines as well.
I would
suggest doing two tasks, one for counter output and one for counter input.
(Note that both these are not going to be the same line). The counter output
will be used to do a single pulse generation, while the counter input will be
used to read back the period.
This will
work because, at first, we are going to route the line from the counter output
to the counter input line by using a ‘DAQmx connect terminals’ (basically
making the input line an output line for a moment). First, setup the tasks and
the DAQmx connect, start the tasks and have the counter output do a ‘wait until
done’ to ensure the pulse is sent. After this is done, do a DAQmx disconnect
terminals (turning the input back from an output to an input), and then do a
DAQmx read for your counter input (period measurement). You may look at the
shipping examples for pulse generation and period measurement in LabVIEW (Help »
Find Examples... » Search tab … search for examples)
One note is
that since this is software timed, it may not be fast enough to meet your 200us
timing. If this ends up being the case, please look at the 6552, as it can do
per clock cycle direction change very fast.
David L.
Systems Engineering
National Instruments -
How do I configure the Airport utility to allow more than one rule per port?
How do I configure the Airport Utility (AU) to allow more than one rule per port?
I am on a home network, with broadband cable modem. I have my airport extreme connected to the broadband modem. I have 2 servers in my home that need to be accessed remotely from time (SSH), and they also serve data for an iphone app, so I'm using a variety of protocols. The problem I'm running into is that AU seems to only allow one rule per protocol, so if I go to add another address for access on a specific port that is being used by one of my servers, AU tells me "The Port Mapping Entry Already Exists".
I need to be able to allow SSH on both of my servers, for instance. Am I missing something? Is this doable with AU?
Thanks for any insight.
KhalidThe Port Mapping "rules" on the AirPorts will allow you to: 1. Map a single port to a single IP address OR 2) Map multiple ports to a single IP address.
What you won't be able to do is map a single or multiple ports to multiple IP addresses. -
I am Fedora 13x64 bit. I just installed FF v6.0.2 from the FF download site. I backed up the existing FF 3.6 as firefox_old
I need to have a Java plugin to access company site, how do I configure the Java Plugin ?
At the Plugin area in FF6 there is no Java Plugin available, even after a search.
I have Java 1.6.0 installed in the OS at:
/usr/lib/jvm/java-1.6.0/jre/lib/amd64/libnpjp2.so
I googled how to configure Java Plugin for FF 6 for Fedora 13 and the trick was to create a soft link from /home/<userID>/.mozilla/plugins to the above libnpjp2.soAVtech wrote:
. . . If a person can't get an answer here I don't know where else to turn since Sun certainly wouldn't offer tech support for a free product . . .These forums are user forums, and only occasionally visited by Sun employees. Sun does provide Java technical support options, although (of course) at a charge.
See:
http://developers.sun.com/services/
. . . I guess we'll just use JRE 5 until it's unsupported, whenever that will be. I'm still waiting for an answer on that question, too. See:
http://java.sun.com/products/archive/eol.policy.html
http://www.sun.com/service/eosl/
This document (part IV and Appendix) has some debugging and troubleshooting information that may allow someone involved in the problem to resolve the cause:
See:
http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/contents.htm
Any steps that you can take to isolate the problem to specific Java versions, browsers, applets, web sites, operating systems (and versions), etc, would enhance the possibility of getting help.
You can try the applets at this Sun location and see if any of them are "slow".
See:
http://java.sun.com/javase/6/docs/technotes/samples/demos.html -
I have a Samsung VGA Monitor connected to my MacBook Pro using the Mini Display Port to VGA Adapter. How do I configure the computer so that it doesn't sleep when I close the lid of the computer.
Hi alangium,
Welcome to the Support Communities!
Resetting your computer's PRAM should restore your Macbook Pro's screen appearance.
OS X Mavericks: Reset your computer’s PRAM
http://support.apple.com/kb/ph14222
This article may provide some information about your Mini DisplayPort to AVI adapter. Have you tried to connect a different VGA monitor to your Macbook to see if you get the same results?
Apple Mini DisplayPort adapters: Frequently asked questions (FAQ)
http://support.apple.com/kb/HT3382
18. What is the maximum resolution available for use with the Apple Mini DisplayPort to VGA adapter?
The resolution available with the Apple Mini DisplayPort to VGA Adapter is 1920 x 1200. VGA displays that use higher refresh rates (such as 85 Hz) at resolutions of 1600 x 1200 or greater may not generate video properly until you lower the refresh rate.
Apple computers: Troubleshooting issues with video on internal or external displays
http://support.apple.com/kb/HT1573#5
How can I detect displays?
If the detect displays option is not available, hold down the Option key while you are in the Display pane.
How do I select additional resolutions on my display?
You can use the Display pane of System Preferences to specify how your display works. Not all options appear for all display models. By default the best resolution for your display will already be selected in System Preferences.
To select a different resolution, use the Scaled option. Some additional resolutions may be available when you hold the Option button.
I hope this information helps ....
- Judy -
How can I set the default line height?
Greetings,
I have a report that displays observed behavior in a list format like the one below:
Behavior Observed:
Withdrawn
Happy
Sad
angry
There are 5 responses as to the severity of the behavior or it is left blank if the behavior was within normal limits.
So the output would look like this:
Behavior Observed:
Withdrawn (mild)
Happy
Sad (moderate)
angry
The problem is that when this report was designed the details sections were not uniformy formatted and the spacing between data elements is hard to follow from the label to the data field. I tried to set the details to be uniform by selecting "Arrange Lines", however when I do this, the data is displayed too close horizontally. So my question is how do I set the default line height for each field so that they are uniform in distance from each other but not too close due to the font height?
Does this make sense?
Thank you,
KevinI'm confused... How are you associating line height with horizontal field spacing???
If you have this...
Behavior Observed: Severity:
Withdrawn (mild)
Happy
Sad (moderate)
angry
But want it to look like this...
Behavior Observed:
Withdrawn (mild)
Happy
Sad (moderate)
angry
all you have to do is create a concatenation formula. Something like this...
{TableName.BehaviorObserved} & " (" & {TableName.Severity} &")"
Sorry if I've misunderstood what you are trying to do.
Jason -
How can I print the "number lines" with the code in Visual Studio?
How can I print the "number lines" with the code in Visual Studio?
Hi BillionaireMan,
What about your issue now?
If you have resolved it, you can share the solution here, which will be beneficial for other members with the same issue.
If you did not, please tell us more information,we will try my best to help you.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi,
We have Oracle 10.2 and Windows 2003.
We have Oracle on Cluster (with Windows software).
When the System are without cluster all its OK!!!!!!
We have 2 Resources Cluster Group: Oracle and Applications.
We have Oracle in Oracle cluster group.
We have W Drive and a ftp program in Application cluster group.
We have C drive in both nodes. We have installed Oracle in both nodes but we have W drive only associate to the Active Node because is a Cluster resource (Application cluster group).
All days we receive text files by ftp and we put it on W Drive. This text files are readen with external tables in Oracle.
We have a problem when oracle fails and it goes to the another node (for ex. node2) because the external tables fail because the files are on Node1 on W Drive. If we move manually Applications cluster resource to Node2 then all it is OK.
We think to put UNC pathes instead of W but its not possible (Metalink: Note:290703.1)
How do you configure the server in this situation?????????????
Thanks!We run a similar configurations and i doubt you have a chance other then reconfigure your setup. The way we do it is to have an ftp client in our database group and periodically transfer the files a second time (not elegant but it's working).
If that's not an option you might be able to use unc names in your ftp server and set the ftp root to a directory hosted on a disk which is part of the database group.
Or move to unix (that's what we do now). Than you don't have to bounce your server once in a month to apply security patches... -
How do I configure the setting in my iphone to allow me use of my own network?
Thanks for the responses, they have been very illuminating!
This is very disappointing from The Carphone Warehouse. If they had mentioned this when I went into their stores, I wouldn't have completed the purchases. I bought two phones at separate outlets and neither of them told me this.
I have been in contact with T-Mobile already as I thought they had sneakily applied a software update that locked the phone. They have denied locking it and suggest that it is something that Apple do. Their solution was a factory reset.
I have a call logged with Apple this afternoon, so will see what they suggest. Hopefully they will give me something that I can take to The Carphone Warehouse or T-Mobile. -
How can I search the last line in an internal table?
How can I search the last line in an internal table?
With a describe?? If it is , how can I do that?
Thanks!!Hi shilpa,
it seems to be you are NEW to SDN. welcome. if you want to get solutions to your Questions, you have to post a NEW thread.dont use the existing thread to post your question.
any way i am giving you the solution for your question
LOOP AT ITAB WHERE F1 = <SOME VALUE>
F2 = <SOME VALUE>.
ENDLOOP.
IF SY-SUBRC = 0.
ITAB WILL HAVE THE LAST RECORD which satisfying the given criteria in WHERE clause of LOOP.
write itab <--this ITAB will have the last record.
ENDIF.
regards,
Srikanth.
Message was edited by: Srikanth Kidambi -
How do I remove the location line in a calendar appointment
How do I remove the location line in a calendar appointment
Hi Happy,
To remove the ink tanks and print head from the printer, please follow the steps located here. Please note that we do not recommend cleaning the print head using any other methods other than the ones built into the printer, as it may do damage to the printer. If performing at least one cleaning and two deep cleanings on the printer do not resolve the issue, the printer may require servicing; please call or email us at one of the methods on the Contact Us page to obtain your servicing options.
Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well. -
How do i change the time line in Au from time since recording start to the actual time?
how do i change the time line in Au from time since recording start to the actual time? I have a recording that was started at 10:00 but obviously in Au it starts at 0:0:00. Basically i want to time shift this to 10:00:00
In the Properties panel, modify the Start Time parameter.
-
How can I add the cc line to my emails from iphoto
I want to use the email in my iphoto program to email an invitation to a large group of people, but how do I add the cc line in my header of the email?
You can't. For a cc or bcc field you will have to use the regular Mail client. However, Mail does have some photo stationary if you like the fancy iPhoto presentation of photos in the emails:
Click to view full size
OT -
How do I configure the number of connection in the pool for webservice axis
Hi
How do I configure the number of connection in the pool using xml.
We are using axis 1.4 and commons-httpclient-3.0.1Is there any way we can do it using the client-config.wsdd file.
We do not want to do any modification in the code for this.
Is it possible to set socket timeout also in the wsdd file.
Your resolution will be really helpful for us.
Thank You
OttranExport them at a smaller size:
File -> Export - not the options at 'Size'
Regards
TD
Maybe you are looking for
-
Mouse events don't work on a button from a panel ran in a DLL
Hi. I have a DLL that loads a panel. Since it's a DLL I can't do the RunUserInterface() function, because the DLL would be stuck waiting for the panel events. I only do the LoadPanel(). When I click with the mouse on one of the buttons, the pushing d
-
How to modify state of fields on screen in PCUI through BADI
Hi, Is there any way to modify the state of screen fields(such as greying out the fields) in PCUI, when a SAP backend BADI is being triggered?? Appreciate if sample codes or programming guides can be given if you have. Thanks a lot!!!
-
ICloud web page says safari 6.0.2 "not supported"
Having updated Safari to 6.0.2 as advised, I've tried (repeatedly) to access iCloud. All I get is the message "your browser is not supported. To use iCloud we recommend updating to the latest version." That's been happening ever since updating to Mou
-
Who's been f**king with my JTables
OK....own up....who's broken all my JTables!?!? I went on holiday 2 months ago (i know....nice holiday!) and have returned this morning to find that my editable JTables no longer work correctly. If i edit a cell and then click on another component, t
-
Using "Route" activity in process flow
Hi, I have a situation where I want to run one of two maps, depending on how many rows are in a particular table, i.e. something like: If table X rowcount > 100000 then run map A else run map B What's the most straight forward way to set this up in a