How to route Quadrature Encoder signal to CC1 using PCIe 1429 + IO extension card

Hi there,
i am currently trying to interface the Basler L304kc to the NI PCIe 1429 + Cameralink IO extension board
I want to operate the camera in Ex-SYNC level controlled mode. I would like to route external Quadrature Encoder signals (connected to the IO extension board) to the CC1 cameralink control of the camera
Currently, I cannot find this option either in MAX or the Camera File Generator.The L304kc camera file only provides pre-defined pulses, or MAX only offers "External","ISO","RSTI" options for the CC1 sources.
Is it possible to route the encoder signal from the IO extension board directly to the CC1 of the camera? Or is there a work-around?
Thanks!
Derek Chan
Application Engineer
Basler Asia Pte Ltd

Hi Alex,
I posted the following (similar) text to the support center but I think it is of common interest:
A) CL-card with ext. board. One can use the ISO, ext. and RS422 encoder inputs and also output cannels ISO and external.
There is also a SMB connector corresponding to the ext. channel 0.
B) with MAX one can define what kind of signals should be routed to CC1 to CC4. As I learned from
this side one cannot use MAX or the Camera File generator but has to do this manually in order to use RS422 encoder triggering!!!
C) on the other side there exists function to route and control signals explicitely, for example
* imgSessionLineTrigSource2 -> what is this good for then? All your manuals are saying that this is done in MAX or the camera file by defining what signal drives the correspondung CC ine?? On the other side there is an example in CVI that does not work ("Trigger Each Line From Encoder") (at least it does not work with the PCIe1430).
D) Can one implement the CC routing from MAX or the camera file manually with the following functions
* imgSessionLineTrigSource2
* imgPulseCreate2
* imgSessionTriggerDrive2
or does MAX use hidden functions ore mechanism to control the CL Cards?
E) I can use one single line to setup scaled encoder triggering
* imgSessionLineTrigSource2(iLS_ZK1_SessionID, IMG_SIGNAL_SCALED_ENCODER, 0, IMG_TRIG_POLAR_ACTIVEH, 0);
but this only starts to work if I reset the encoder position to zero by sending this to the CL card, i.e.
* imgEncoderResetPosition(SessionID);
AND only in positive counting direction!
 If I just run though the zero position without a position reset I do not get ExSync on CC1????
Is the information where to route the Scaled encoder to coming from the camera file? Why cannot I simply and explicitely route the scaled encoder
signal to a certain CC line? Why using all those different approaches?
F) now if in addition to E) i use
* imgSessionTriggerDrive2(iLS_ZK1_SessionID, IMG_SIGNAL_EXTERNAL, 0, IMG_TRIG_POLAR_ACTIVEH, IMG_TRIG_DRIVE_SCALED_ENCODER);
to drive ext. 0 (SMB connector) I can see exactly this behavior on the scope. No signal until I reset the encoder counter. Then I get signals as long as the image sequence is running. After the recording the signal disappears.
kind regards, Holger h.baur(at)ivisso.com

Similar Messages

  • How to calibrate Quadrature Encoder signal

    I have PCI-6601 and CB68-LP connector. How can I use these to interpret quadrature signals coming off an optical encoder (to sense the angular position of an-observatory dome). The encoder is 16-bit(don't know what this means in terms of PPR). I want to have a display in Labview that will show me the position of the dome in a fraction of 360 degrees with some reference(true north?), the dome rotation controlled by a three way switch(clockwise-off-anti-clockwise). I don't have much experience with labview and any help will be appreciated.

    If the encoder is 16 bit then it would seem that: -
    360/65536 = 0.0054931640625° or there abouts.
    You can break the project down into two halves nicely.
    1) Hardware interfacing.
    2) Software read out.
    The hardware interfacing means two basic things:
    1.1 What is the encoding technique
    1.2 How are the signals conditioned for output to an external device.
    The software is classic:
    2.1 Input
    2.2 Process
    2.3 Output
    The optical encoder could be one of a few types and you need to understand both the signalling / interface and the coding technique to progress further. A good start will be the manufacturers data sheet for the product. Contact the manufacturer.
    Once you understand the coding technique you will then know if the unit is absolute or relati
    ve. This will then allow you to determine how you can point to true north (easily with an absolute encoder, it always tells you exactly where it is).
    If it is a classic quadrature encoder then the relative phase of the reference and movement signals gives you direction. Counting transitions gives you realtive movement. But if the power went off on the PC. you don't know where you are unless you go to a home position! That could be 359° round !!!
    Good Luck

  • PCI 6220 how to route I/O signals?

    Hi
    I am using a PCI 6220 connected with a SCC 2345, on labview 71 XP based.
    I have 24 V signal and I want to divide the frequency, and send out divided signal on RTSI 0.
    I tryed to use a SC-DI on the 2345, but I don't know how to route the DI signal to the CRT0 source signal?
    Any Ideas?
    Laurent

    There is an infodoc numbered 48430 which helps

  • How do you on board loop the memory using pci 6534 implementi​ng LabVIEW. Which VI do you use?

    How do you on board loop the memory using pci 6534 implementing LabVIEW. Which VI do you use?

    Hello,
    You will need to set the Pattern Generation Loop Enable attribute to ON in the DIO Parameter VI. This is
    specified on page 2-22 of the 653x User Manual (Jan 2001)
    Hope this helps,
    LA

  • HT2534 I followed the instructions on how to set up an Apple ID without using a creditcard or iTunes card many times on several devices, but I still do not get the NONE option on the billing page. Please help??

    I followed the instructions on how to set up an Apple ID without using a creditcard or iTunes card many times on several devices, but I still do not get the NONE option on the billing page. Please help??

    Follow the steps on this page when creating a new account http://support.apple.com/kb/HT2534
    e.g. if using a computer's iTunes : https://discussions.apple.com/message/24321860
    If you've already created an account and are being prompted to review it when trying to see it then you could see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054

  • How do I use a quadrature encoder as an external clock (PCI 6229)

    Hello, ( a similar post has been placed on DAQ forum apologies as I did not know best place)
    I have a PCI 6229 M Series data acquisition card. I want to use a quadrature encoder to be the external clock driving the acquisition of a number of signals. I have set up reading 24 signals each time a clock pulse is received using the DAQ assistant and set my external clock to pin pfi8 (I think) this is then connected to an encoder output. This works well enough until the encoder is run too fast when it appears I am either missing pulses or getting bounce.
    How can I set up to clock using a quadrature encoder? I have seen a number of questions on this forum regarding quadrature encoders and reverse counting but not on using them as an external clock.
    Basically I want to have the stability and "bounceless" nature of using two outputs from a quadrature encoder whilst still using an external clock. Is this just a case of configuring controls to certain pfi's? If so how is it done?
    Any help or pointers would be helpful. So far I have managed very nicely by simply using the DAQ assistant and the interface it has would suggest that if configured for a certain pfi pin I could actually still use it.
    Thanks in advance.
    Kevin

    Hi,
    Well I've had alook into this for you and I'm not quite sure I understand what you are looking for.
    Is it possible for you to phone back in to support?
    The reason you are seeing bounce at high speeds, or indeed loss of points, is due to the sampling rate that you have set up.
    What you will find is that the trigger will start an aquisition of a number of points at a certain rate.  If your sampling rate is too low then you will not finish that sample batch before the next set of samples is recorded.
    It is possible to use an external clock into a trigger or digital line, however this will limit the number of samples you can take to the speed of your encoder.
    If you increase your sampling rates, and then configure a start trigger from a single input from the encoder you will be able to record a number of samples after a rising/falling edge.  (Set the clock as an internal clock)
    Hope this helps
    AdamB
    Applications Engineering Team Leader | National Instruments | UK & Ireland

  • How i enter the ECG signal to the lab view through the sound card

    first i open the help and find example the display the signal of the mic
    and i enter the ECG signal through the mic and displaied
    but when displaied the ECG appearied only one period on the chart so on if the chart with full screen you can see only one period
    and when i change the x scale the signal compressed in a part of chart and the remain part of the chart empity
    so how i display at least three periods of ECG 
    Attachments:
    ECG with sound card.vi ‏20 KB
    Untitled.jpg ‏37 KB

    I do not have LabVIEW version 9, only 8.6
    Without looking at your program can take a guess. Have you set the property "chart history length" of the graph? If you consider that an individual has a heart rate of up to 50Hz, or period of 20ms. Soon the number of points required is (3 * 20ms) / (sample time).
    If this is not the problem, you could send the converted code to version 8.6 of LabVIEW?

  • How can i create an apple id without using a visa or credit card

    how can i create an apple id without using a visa or credit card

    Follow the directions here, EXACTLY:
    http://support.apple.com/kb/ht2534

  • No ISA slot available in PC. How can I use PCI-85 Modbus Plus card with Lookout?

    My application is to communicate with two Modicon PLCs using Modicon's ModBus Plus (PCI based PCI-85) network card inside my PC, and using Lookout as an SCADA software. Since there is no ISA slot available in new PCs, I can not use Modicon's ISA-85 Modbus Plus networc card. But Lookout does not support PCI based PCI-85 card, how can I use PCI-85 card then, with Lookout? Why doesn't Lookout support it? I asked the following question from from the Modicon's representative about it:
    If I purchase Modbus Plus Driver Suite CD (SWMXDS001, 05, or 10 etc),will I be able to use Lookout SCADA software (by the way, it supports standard MB+ prtocol) for my application? If yes, can I use any version of an
    y of the ISA, PCI, or PCMCIA based MB+ card?
    His answer was:
    The Modbus Plus Driver Suite will talk to any version of card, PCMCIA, ISA, and PCI. The question now is will the SCADA package you are
    planning on using be able to talk to the Modbus Plus Driver Suite? You must contact National Instruments and ask them if they support Modbus Plus, and if
    they used the MB+ system developement kit to develop their product. Or if they wrote their own MB+ drivers, do they work with Modicon hardware?

    Hi,
    currently Lookout does not support the PCI-85 card. The only card supported for Modbus Plus is SA-85. Please see for further information:
    Where can I Find Drivers for Communicating to PLCs, RTUs, and Other Industrial Hardware?
    How to configure the SA-85 card for Modbus Plus
    Hope this helps
    Roland

  • How do I transfer video from gopro hero3 using a 64 GB microSDXC CARD

    How do I transfer video from gopro hero3 using a 64 GB microSDXC CARD

    iPad SD Card Reader supports SD standards up to SDHC, miniSD and microSD with adapters, and MMC.
    SDXC is not supported.

  • LabVIEW: how to route time base to counter source using 6602.

    How do I route the 80Mhz internal time base on a 6602 card, to the source of any counter using LabVIEW? I can only see the option for an external time base, and drop down from source only allows me to select source pins or RTSI lines? I am using the DAQ Assistant!!Message Edited by ddudge12 on 06-08-2005 09:37 AM

    ddudge12,
    I haven't ever really used DAQ Assistant, but I *think* that the drop-down menu you mentioned is for selecting the Sampling clock, which is different than the counter Source. There doesn't appear to be a way to select a source signal in the DAQ Assistant -- it seems to expect you to wire a signal to the counter's default Source pin.
    You'll need to use a DAQmx Channel property node to select the 80 MHz timebase as a source. Attached is a screenshot of a very simple example that will count up as high as a 32-bit int can go, rollover to 0 and continue counting up, etc. It'll take a little less than a minute to rollover if all is working correctly.
    -Kevin P.
    Attachments:
    80MHz Source.gif ‏6 KB

  • How to remove HTML encoding from csv file using powershell

    Hi guys i am exporting data from a sharepoint list using powershell which works fine. My problem is that some of the fields contain HTML mark up. Is there a way to remove all of the html mark up from the array before writing it to csv ?
    I have tried playing about with System.Web.HttpUtility.HtmlDecode but with no luck the code runs but no html is removed.
    Below is a sample of my script.
    Set-Variable HOME $env:USERPROFILE -Force
    (Get-PSProvider FileSystem).Home = $HOME
    if(-not(Get-PSSnapin | where { $_.Name -eq "Microsoft.SharePoint.PowerShell"}))
    Add-PSSnapin Microsoft.SharePoint.PowerShell;
    # imports assembly needed for url stuff to do
    Add-Type -AssemblyName System.Web
    $SPWeb = Get-SPWeb "http://site url"
    $SPList = $SPWeb.Lists["List Name"]
    $exportlist = @()
    $SPList.Items | foreach {
    $obj = New-Object PSObject -Property @{
    "Employee full name" = $_["EMPLOYEEFNAME"]
    "Employee login name" = $_["EMPLOYEENAME"]
    "Department Name" = $_["DEPARTMENT"]
    System.Web.HttpUtility.HtmlDecode("OBJECTIVESTOBEACHIEVED_0") = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_0"]
    "OBJECTIVESTOBEACHIEVED_1" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_1"]
    "OBJECTIVESTOBEACHIEVED_2" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_2"]
    "OBJECTIVESTOBEACHIEVED_3" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_3"]
    "OBJECTIVESTOBEACHIEVED_4" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_4"]
    "OBJECTIVESTOBEACHIEVED_5" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_5"]
    "OBJECTIVESTOBEACHIEVED_6" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_6"]
    "OBJECTIVESTOBEACHIEVED_7" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_7"]
    $exportlist += $obj
    $exportlist | select "Employee full name", "Employee login name", "Department Name", "OBJECTIVESTOBEACHIEVED_0", "OBJECTIVESTOBEACHIEVED_1", "OBJECTIVESTOBEACHIEVED_2", "OBJECTIVESTOBEACHIEVED_3", "OBJECTIVESTOBEACHIEVED_4", "OBJECTIVESTOBEACHIEVED_5", "OBJECTIVESTOBEACHIEVED_6", "OBJECTIVESTOBEACHIEVED_7" | Export-Csv ~/Export.csv -noType
    $SPWeb.Dispose()
    any help would be much appreciated.

    Should have googled before posting !
    "OBJECTIVESTOBEACHIEVED_0" = [Microsoft.SharePoint.Utilities.SPHttpUtility]::ConvertSimpleHtmlToText($_["F1_S4a_OBJECTIVESTOBEACHIEVED_0"],-1) -replace '\s+', ' '
    Clears all the additional white space. As always jrv you
    have saved the day, many thanks for all the help.
    Mal

  • Measuring distance using quadrature encoder

    I am currently doing a project that requires the positioning and characterization of TV signals. As such, the position of the TV receiver is one  important variable that i have to measure. I am required to automate the measurements and data logging using a PC/notebook. I have purchased a 2-channel HEDS-9000 quadrature encoder with 2000 CPR & the HEDS6120 codewheel - both from Avago Tech, to be interfaced with the notebook/PC. My idea is to get a TTL-to-RS232-to-USB converter to interface with the PC, so that i can feed the output from the encoder to the PC. However, i dun have much idea on how I can use LabView to interface the encoder and the PC. Can anyone offer some valuable advice?
    Btw, the encoder module consists of 5 pins - Vcc, GND, CH.A, CH.B, with one pin not used.
    Thanks !!

    Hi,
    I think one of the best and reliable options that should meet your needs is a bus-powered USB-M-Series device like the USB-6210.
    The USB-6210 is a multifunction data acquisition device with 16 analog inputs, 4 digital inputs, 4 digital outputs and 2 counters. Each of the counters can interface directly to the quadrature encoder signals of your HEDS-9000.
    It's very easy to use this device with the NI-DAQmx API for position measurements in LabVIEW. In fact there are some shipping examples that you can use for getting started.
    I hope this helps,
    Jochen Klier
    National Instruments Germany
    Message Edited by Jochen on 02-09-2007 09:18 AM

  • Does Stop task reset a quadrature encoder counter?

    I am using an M-Series PCI-6280 board, with one of its onboard counters wired as a quadrature encoder.
    1)I start the counter task, take a set of measurements with the counter, and then stop the task.
    2) The encoder which the encoder counter is monitoring continues to output quadrature encoder signals into the PCI board's counter.
    3) I start the task again, and perform another set of measurements.
    Which of the following occurs?
    Upon starting the task again, the counter's previous value was wiped and the measurements taken in (3) start at 0 counts. 
    The counter keeps the value it had before it was stopped and subsequently started, and the measurements in (3) cumulate on top of the measurements taken in (1). 
    The counter keeps the value it had before it was stopped, continues to increment/decrement position in (2) even after the task is stopped, and when the task is started in (3) the counter value is cumulative with the quadrature encoder pulses in (1) and (2). 
    Thanks in advance for the help. 
    Solved!
    Go to Solution.

    Hello acmap,
    In this case The behavior will be the following:
    Upon starting the task again, the counter's previous value was wiped and the measurements taken in (3) start at 0 counts.
    However, you can specify the initial count value of the counter on the Initial Count terminal of the DAQmx Start Task VI, so it doesn't have to start at zero, and you can implement the behavior described in your second option.
    Daniel

  • Do I need extra logic circuit for quadrature encoder using M-series DAQ PCI-6221?

    Hi,
    I understand that extra logic circuit, say quadrature clock converter LS7083/7084, is needed to enchance the reliability or integrity of the data for E-series board DAQ in accordance to application note: AN084.
    This is due to the vibration/jitter of the motor during running.
    Currently, I'm using M-series PCI-6221.
    Is it this new model itself can eliminate to construct this extra circuit?
    Coz I observed error is accumulating after motor rotating certain period of time. It defintely affect the control performance.
    Other than using hardware, can we use software to eliminate/mitigate the error?
    Please enlighten me. Thanks.
    Best regards,
    IANES

    Hello,
    The ap note you are referring to discusses circuitry that conditions the quadrature encoder signals before they get to the DAQ device to eliminate 'false' signals being sent to the DAQ device. The same system would apply to an M Series Device. I am not aware of any way to achieve this functionality in software. FYI, there is some good documentation for counters and counter applications for M Series. Take a look at the attached M Series help file. Hope this helps some.
    -Alan A.
    Attachments:
    M_Series_Help.zip ‏1145 KB

Maybe you are looking for

  • How Can I Remove Purchased Content from my Apple TV?

    I have content that I purchased through iTunes and it's stored on my Apple TV but I'm selling it so I need to move that content to one of my Macs. I can't find any instructions on how to do it. Can anyone help me out? It's the 40GB model running the

  • Can not update music library

    When I connect my ipod to my computer it tells me that I have 5 authorized computers and this device can no longer be updated.  I must deauthorize on of the other computers.  Under support it says that I should deauthorize all of the computers.  Will

  • Printer message "paper out or not loaded correctly"

    I have an Epson Stylus Pro 3800 printer and iMac that that worked flawlwssly until the last Mountain Lion upgrade.  Now it will not recognize paper that is loaded correctly.  Clicking on printer utility gives an error and states a message is being se

  • Will Civilization 4 run on an iPad2?

    I'm considering buying an iPad2 for my wifes birthday, but it would have to run Civ4 well. Will it? And how many GB would be appropriate, if Civ4 is the primary "big" game?

  • Contents with XMLFormBuilder/WPC has no directory construction in URI.

    Contents created with XML Form Builder or Web page composer shows "irj/servlet/prt/portal/prtroot/docs/guid/...." when I access to those contents. Also, My search engine needs to have specific URI pattern, such as ".*/SITE/AAA/BBB/XXXX" for search. C