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,
ARB

Thank 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

Similar Messages

  • 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

  • Using daqpad 6016 as traditional nidaq device in place of SCB-68 and daqpad 6020e?

    Is it possible to configure the daqpad 6016 as a traditional nidaq device? I have an application that was created 3 years ago that uses a SCB-68 for signal conditioning and it's connected to daqpad 6020E. Two virtual channels are used by the application which measure displacement and pressure from the analog inputs.  I also have 3 daqpad 6016s here that were intended to be used with the application mentioned above for duplicate test stations, but they appear as nidaqmx devices and are not compatible with the application created apparently.
     I'm a newbie with labview and I don't have the source code for the application to modify. If I can't use the 6016 daqpads with the application as is I'll have to order duplicates of the scb-68 and daqpad 6020E. Thank you.

    Hi jarencibia,
    It depends on the complexity of the application to determine how difficult it would be. The API is not a 1 to 1 conversion but check out the following article for a start.
    Transition from Traditional NI-DAQ to NI-DAQmx in LabVIEW
    http://zone.ni.com/devzone/cda/tut/p/id/4342
    PBear
    NI RF

  • Output pulse with NI-Scope only, on 5102 PFI line

    The NI-Scope documentation briefly mentions a "Configure Digital Output" function, but it is not clear exactly what this does, and what parameters are available (e.g., pulse width, polarity, stand-off, etc...), or if it merely "configures", and another function is needed to actually generate the pulse.
    Programming in VB, with NI-Scope, for the 5102, what NI-Scope function(s) would I call to initiate an output pulse on a PFI line? What parameters of the pulse can be controlled?
    Thank you, Ed More

    Hello Ed,
    You need to use functions in NI-DAQ in either LabVIEW or ComponentWorks to do this. There are some examples and a knowlegdebase article that describe this.
    Here are the links:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/fead136291ec002186256aaa006c2019?OpenDocument
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DFC756A4E034080020E74861&p_node=175381&p_source=external
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DD5756A4E034080020E74861&p_node=175341&p_submitted=N&p_rank=&p_answer=&p_source=External
    If the links do not work, go to developer zone and search on 5102 and pfi to find the examples and go to support and search in knowledgebase on 5102 and pfi for t
    he knowledge base entry.
    -Brian

  • Question about DAQ PFI lines

    Hi , I would like to use 6363 OEM PFI lines to countiously count the number of rising edges of a digital signal. My signal is connected to PFI2 line . I would also like to output a pulse to provide external clock for this signal
    Here are the input output pins configuration. Could you please let me know which lines can I use for counter in and which lines for outputing a pulse. Can I also use PFI 2 for counter inpout?
    thanks 
    CTR 0 SRC PFI 8
    CTR 0 GATE PFI 9
    CTR 0 AUX PFI 10
    CTR 0 OUT PFI 12
    CTR 0 A PFI 8
    CTR 0 Z PFI 9
    CTR 0 B PFI 10
    CTR 1 SRC PFI 3
    CTR 1 GATE PFI 4
    CTR 1 AUX PFI 11
    CTR 1 OUT PFI 13
    CTR 1 A PFI 3
    CTR 1 Z PFI 4
    CTR 1 B PFI 11
    CTR 2 SRC PFI 0
    CTR 2 GATE PFI 1
    CTR 2 AUX PFI 2
    CTR 2 OUT PFI 14
    CTR 2 A PFI 0
    CTR 2 Z PFI 1
    CTR 2 B PFI 2
    CTR 3 SRC PFI 5
    CTR 3 GATE PFI 6
    CTR 3 AUX PFI 7
    CTR 3 OUT PFI 15
    CTR 3 A PFI 5
    CTR 3 Z PFI 6
    CTR 3 B PFI 7
    FREQ OUT PFI 14

    Hi,
    the following information should answer your question:
    X Series devices have up to 16 PFI lines.  Each PFI can be individually configured as the following:
    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
    Each PFI can be individually configured as a static digital input or a static digital output. When a terminal is used as a static digital input or output, it is called P1.x or P2.x. On the I/O connector, each terminal is labeled PFI x/P1.x or PFI x/P2.x. The voltage input and output levels and the current drive levels of the PFI signals are listed in the specifications of your device.
    Also, PFI can be configured to detect digital changes. The values on the PFI lines cannot be read in a hardware-timed task, but they can be used to fire the change detection event. For example, if you wanted to do change detection on eight timed DIO lines but wanted to ensure that the value of
    the lines was updated every second independent of the eight lines changing you could set a PFI line up for change detection and connect a 1 Hz signal to it.
    You can enable a programmable debouncing filter on each PFI, RTSI, PXI_STAR, or PXIe-DSTAR<A, B> signal. When the filters are enabled, your device samples the input on each rising edge of a filter clock. X Series devices use an onboard oscillator to generate the filter clock.
    Regards,
    Michael

  • How to output sample and convert clocks to PFI lines of E-Series DAQ (DAQPad-60​15)

    Hi,
    Can someone tell me how to output sample and convert clocks to PFI lines of E-Series DAQ (DAQPad-6015)?
    Thank you very much.
    Jack

    John --
    Windows is not an option for me. I like your idea of using a counter output -- it may be helpful as I am getting ramped up, but my application will eventually require both timer outputs.
    I have a legacy C application written for Macintosh, and I am in the process of moving it onto OS X. So my options are to use DAQmx Base, or write an in-kernel driver. I actually have already done the latter for 6024/6025 E-series boards (for another company); for this client I was hoping to use the DAQmx Base to allow an easy transition to M-series boards, without the cost of writing and supporting a low-level driver.
    The specific task I am doing is relatively straightforward. I record 2 channels of AI for a short period (usually about 250 ms.) and during this time I drive 2 external digital signals. Right now, I use the 2 timer outputs, which allows precise synchronization with the output and AI sampling.
    I appreciate your comments, and thanks in advance for any additional suggestions you can lob my way.
    --spg
    Scott Gillespie
    Applied Brain, Inc.
    scott gillespie
    applied brain, inc.

  • Driving DO lines with external clock wired to PFI lines

    Hi all,
    I have few issues understanding how to use hardware timing resources in M series USB6229, with particular focus on DO. I have read last couple of day all google offered on the subject but I am still straggling with some basic tasks. To cut the story short, the 1e6 dollar question:  can I set up 7 independent DO lines where (different tasks or virtual channels) where lines use same hardware timing source (eg, freqout or CO0 set to ~10kHz sampling time routed to PFI0).
    Note: the reason I need 7 independent lines and not a port output (which would be obvious solution) is because I need to have (vastly) different number of samples and for each line.
    Follow up question regarding timing: As I understood, any of PFI ports could be used and a input to the external clock which could be used to drive DO line(s) samples. I have tried to generate one DO, eg. P0\line4 by using CO0 to generate 10kHz sample rate.  The signal on the line4 is pulse with frequency of few Hz which I routed to PF6 (with actual wire) in hope to use this signal as a clock for line5. I tried this but I am receiving errors about "resources in use"
    Possible reason(s):
    Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
    Property: SampClk.Src
    Property: SampClk.ActiveEdge
    Source Device: USB-6229
    Source Terminal: PFI6
    Required Resources in Use by
    Task Name: _unnamedTask<7B>
    Source Device: USB-6229
    Source Terminal: PFI4
    Destination Device: USB-6229
    Destination Terminal: do/SampleClock
    Task Name: _unnamedTask<79>
     Apparently, many of internal clocks are routed internally to different PFI lines which mean the lines are occupied resource, and I do not know how to solve this.
    I wanted to ask you does this principle sound as something that should work and if you know about some examples that would be excellent.   
    Any help would be greatly appreciated.
    Cheers, Nenad

    > To cut the story short, the 1e6 dollar question:  can I set up 7 independent DO lines where (different tasks or virtual channels) where lines use same hardware timing source (eg, freqout or CO0 set to ~10kHz sampling time routed to PFI0).
    No, you can't. The USB-6229 has a single digital output FIFO which can only be used by one task at a time.
    > Note: the reason I need 7 independent lines and not a port output (which would be obvious solution) is because I need to have (vastly) different number of samples and for each line.
    It should be possible to generate all seven signals with a single task by generating a waveform that includes all seven signals. If the signals repeat at different rates or you need to start/stop them independently, you will have to disable regeneration and continuously generate new waveform segments on the fly. Continuous Write Digital Port - External Clock - Non Regeneration should be a good starting point for the DAQmx programming, but actually generating the data is likely to be the challenging part.
    Brad
    Brad Keryan
    NI R&D

  • Using traditional nidaq with windows 98

    I have an e series DAQ and I want to use it with Windows 98. The software that came with the board (NIDAQ7) will only install on Windows 2000/NT/XP. Can I get hold of an earler version of NIDAQ so I can avoid changing my operating system?
    I want to use Traditional Nidaq.

    Hi,
    The driver that you will need for E series board with Windows 98 is version 7.1. This can be downloaded here.
    Have a Great Day!
    George

  • Exporting PXI_Trig on PFI line

    Seems like this should be straight forwarded, but I have yet to see any results.  Specifically I want to map the PXI_Trig0 line to a PFI line for output, but I have yet to capture an actual trigger pulse and just read 0V the entire time.  My code is attached.
    My specific goal is that I want to see the XNET "starttrigger" in my collected AI DAQ task.  The DAQ task has to be started prior the XNET task, so this event gives me away to corelate the data.  My approach to pass the data is as follows.
    1.)  Connect XNET starttrigger to PXI_Trig0  (Unfortunetly there are no external trigger lines on the XNET device)
    2.)  Connect PXI_Trig0 to PFI0
    3.)  Physically wire PFI0 zero to AI.
    I am not getting any errors or warnings, just no visible trigger pulse on my AI.  Hardware in use is a PXI-6229
    Attachments:
    timetest4.vi ‏49 KB

    After a bit more testing it appears this may have more to do with XNET than LabVIEW.  I've attached two pieces of code.  One triggers XNET off a DAQ task, this works.  The other triggers DAQ off an XNET task, this does not work.  Both export the PXI_trig on a PFI line, which appears to work and is read by an AI task correctly after physically wired.
    The DAQ generated trigger appears to output a trigger value of 5V when the task is stopped and 0V when running.
    The XNET generated trigger, drops from 5V to 0V as soon as the mapping happens, does not respond to the task starting and stoping and then goes back to 5V only after the task is cleared.  This behavior also incorrectly causes the DAQ task to start before the XNET task.
    After looking for examples, I can not seem to find any examples the do the later.  They all seem to trigger XNET off of a DAQ task.
    Attachments:
    SyncDAQ2XNET.vi ‏51 KB
    SyncXNET2DAQ.vi ‏53 KB

  • M-Series PFI lines allotment

    Is it possible to allocate a digital signal to each PFI line individually for counter 0/1?
    I mean, e.g., default counter/timer pinout for CTR 0 GATE is PFI 9.
    Now, I would like to configurate this terminal to an other PFI line (e.g. PFI 5).
    Can I do this with LabVIEW?
    I use NI PCI-6229 with LabVIEW 8.0
    thanks for answers

    Since this is a frequency measurement task, you'll want to change the frequency input terminal using the channel property node as shown in the attachment.
    Channel Property Node >> Counter Input >> Frequency >> Input Terminal
    gus....
    Attachments:
    frequencyinputterminal.jpg ‏26 KB

  • Routing counter to PFI line/ not routing counter to any external port - How is it done?

    Hi!
    I am using a counter to create a sample clock for digital output. The counter looks just like the one in the example attached.
    I now discovered that the counter frequency is routed to PFI12 of my NI6259. I don´t know why, I haven´t done this. I don´t want the counter at any external line because it causes interferences.
    If it is not possible to route the counter to no port, how can I route it to another port? I did not find any answer in the knowledge base to that question.
    Thanks for your help.
    Best regards,
    Yopp
    Attachments:
    corrDIO.vi ‏54 KB

    Thanks for the replies!
    I tried the signal routing, but it doesn´t work as I expected. I routed PFI12 to PFI 15. Now the signal is at both outputs. Even if the deactivate or delete the signal routing VI it stays that way.
    If there is a possibility to route it and get rid of it at PFI2, I would choose one of the PXI trigger lines, as the are not in the screw terminal
    I attached the signal routing example I made, could you have a look at it, maybe I did it wrong?
    Attachments:
    Routing signals.vi ‏8 KB

  • Help on Configuration of Schedule Line agreement

    Hi friends
    please let  me to know the configuration steps of Schedule Line agreement
    Thanks for ur help
    Regards
    Krishna

    HI,
    Refer
    http://help.sap.com/saphelp_47x200/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
    It is the same as that of the value contracts for Schedulling agreement as well.
    Thanks & Regards,
    Kiran

  • HT1277 I want to set up my email composition with a default me@alumni.myschool.edu address that is different from my ISP.  How do I configure?  Command line OK with me.

    Hi everyone,
    I want to set up my email composition with a default [email protected] address in the "Reply-to" field that is different from my ISP.  How do I configure mail to set this default? 
    I have looked through the help and fail to see an option in the Preferences -> Compose window. 
    I am OK with UNIX Command line tasks if that is the only way to set this default.
    Basically I have an alumni email redirection service, which is an address that never changes, even if I change ISP.  That way all my friends can use it an never change.  However, they tend to use whatever ISP address is, not what I have asked them to use. 
    I want to force emails I send to default to my alumni address when my friends reply, not my ISP address.  I want control over this.

    Confused Once Again wrote:
    I want to set up my email composition with a default [email protected] address in the "Reply-to" field that is different from my ISP.  How do I configure mail to set this default? 
    Email preferences --> select Account --> Account Information tab --> Email address.
    The Email address setting supplies the "from" mail address in a sent email for that account.
    I  been doing this for years (well in Eudora but it works in Mail too) since my return address is a mail forwarding service.  That lets me switch ISP's and no one is ever the wiser.  I just change the forwarding service "pointer" to point to my new ISP.  But everyone else see sees the same "from" address as it's always been.

  • Export Configuration via Command Line?

    Hi Gurus,
    Is it possible to do a configuration export via the command line? I have yet to find any documentation regarding this. The reason I ask is my GUI is having issues where I cannot save reports or export files. I have an SR open regarding the reports but not the export as this was noticed after the SR was created.
    Thanks
    Gerald

    Hi Gerald,
    Yes it is very much possible. For large configurations, it is recommended to take export from command line-
    1. run setenv file
    2. java -Xms512M -Xmx512M oracle.tip.repos.export.Export -inputfile <inputfile> [-ignoretypes <
    file>] <export file name>
    Arguments:
    -inputfile <inputfile> to export specific objects .
    -ignoretypes <file> , This is only for business process. This is to ignore
    the object types while exporting deployable BP.
    <export file name> name of the export file
    For e.g. -
    C:\B2B10g\Midtier\ip\install>java -Xms512M -Xmx512M oracle.tip.repos.export.Export C:\commandExport.xml
    Starting Execution Context
    Export file name is C:\commandExport.xml
    3.26
    exporting all design objects
    export done
    For benefit of other users of this community, I have documented the same on below link -
    http://anuj-dwivedi.blogspot.com/2009/12/exporting-configuration-through-command.html
    Regards,
    Anuj
    Edited by: Anuj Dwivedi, Infosys on Dec 22, 2009 10:28 PM

  • Using PFi line as trigger for NI 5133

     Hi,
    I am trying to use NI 5133 for collecting data for 2 channels at 1 MHz sampling rate. This data is being collected on an engine and I need a reference point for my signal. Can I use PFI channel as an external trigger? I will get a TTL pulse whenever there is a sparking event and I want to start acquisition at this point and collect data for 1 Sec. Can I connect my TTL signal as trigger.. also I need to use only the first high to be treated as trigger and collect data for 1 sec... Please help me out in this.. a bit urgent...
    Thanks
    Anil

    Hi Anilvs and Shefsteele,
    Please can I direct you to this post if you still have trouble getting this to work.
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

Maybe you are looking for

  • How can i make save button of a pop up window inactive?

    Hi... When we open a document attached to an opportunity, a pop up opens up in new window with open,save and cancel buttons. The document is opened by creating a url.... How can i make the save button inactive? Any helpful pointers would be rewarded.

  • How many Accounts we can clear By using F.13 And F-03

    HI All, I want to clear all open accounts using F.13 or F-03 But some gl are not getting square off except GR/IR Account. How can i Clear Ecess clearing, Fright clearing Service tax Clearing....Accounts. I am unable to clear this accounts please give

  • InDesign CC 2014 Marks and Bleeds Issue

    Hello Everyone, So I'm trying to export this InDesign file into a PDF with the usual crops/marks/bleeds that I always use, but for some reason this time it isn't working right. I have my bleed settings to .125, my slug is at 0, my images have been dr

  • Deleting multiple transport tasks

    Hi there ABAPers please tell me if there is some way to delete multiple transport request tasks? I mean I have a list of transport requests and I would like to delete them, but clicking every single reguest and deleting it manually is time consuming

  • Print driver not available

    I am trying to set up an HP Envy 5646 printer for the first time (in the UK). I am receiving the following message on the hp support page:"We were unable to find any drivers for your product. Drivers may be in development so please check back at a la