Mapping the High Speed Capture signal to RTSI

Hello,
Can i Mapp the "High Speed Capture" signal to RTSI ?
When i'm using the motion RTSI example and mae some changes: 
i'm setting the source to "High speed capture"  and the destination to RTSI_0 i 'm getting an error that its possible!
i want to use this input to trigger an action on other pci.
I'm using pci-7344 with umi - 7774 and pcie-1430
Thanks
Mor
Message Edited by MotiM on 08-01-2009 08:47 AM

Dear Jochen,
Thank you for your reply.
I try to map the High Speed capture to RTSI , but the HSC doesnt work.
When i remove the RTSI mapping from my diagram, the HSC work and i can capture the encoder position.
I'm using the UM7774, and the HSC is wired to the global connectors (TRIGGER/BREAKPOINT connector)
I also read all the relevant documentation about my hardware and i notice that there is a comment about mapping the motion rtsi :
(from Select Signal vi Help):  Note  You must route signals from the RTSI lines before you enable high-speed capture ,
so i also consider that, it still doesnt work....
I really appreciate if you can take a look about the 2 versions of vi i attached here.
They both need to do the same.
Each vi contains 2 parallel diagrams, one diagram for the single axis move, the move is to target position X,
the second diagram is for the vision, there is "trigger each line" from rtsi line (the motion diagram includes maping the encoder phase A to the rtsi for this purpose)
and i want to use the High speed capture to trigger the start of imaq also.
The example :
 HSC in motion activate the start of imaq in second loop.vi 
is a working example that runs good and capture the image.
but its "dirty" programming, i dont think its should work like this.
its actualy a implementation of "busy wait" loop.... ( i dont like it, but work...)
The example :  
HSC triger directly the start of imaq.vi
is hoe i think its should be ( i know that i need to trigger the HSC whitin the time of the timeout of waiting to the start trigger of imaq to accure, that is why i put a big number there... )
BUT, this vi doesnt work, the High speed capture doesnt happend at all...
Can you take a look on these vi and let me know what i'm doing wrong here.
I really appriciate your help.
Regards
Mor
Message Edited by M0Reng on 08-03-2009 02:14 PM
Attachments:
HSC in motion activate the start of imaq in second loop.vi ‏72 KB
HSC triger directly the start of imaq.vi ‏71 KB

Similar Messages

  • Onboard Wait On High Speed Capture

    I would like for an onboard program to wait for a high speed capture signal from a trigger input. Unfortunately, I have not had success with the flex_wait_on_condition function; it has always timed out before detecting the event. However, calls to the function flex_read_hs_cap_status identify that the high speed capture line is indeed toggling faster than the 3 second timeout. I use the following sequence of functions to configure the high speed capture:
    flex_configure_hs_capture(m_BoardID, NIMC_AXIS2, NIMC_HS_LOW_TO_HIGH_EDGE, 0);
    flex_begin_store(m_BoardID, ProgramNumber);
    flex_enable_hs_capture(m_BoardID, NIMC_AXIS2, NIMC_TRUE);
    flex_wait_on_condition(m_BoardID, NIMC_AXIS2, NIMC_WAIT, NIMC_CONDITION_HIGH_SPEED_CAPTURE, 0, 0,
    NIMC_MATCH_ANY, 30, 0);
    flex_end_store(m_BoardID, ProgramNumber);
    Axis 2 is configured as a open loop stepper axis with encoder resource 2 mapped to it.
    Any thoughts as to why this wouldn't work?
    Thanks!

    Thanks for the suggestion. It seems to work fairly well, although there is some delay between the trigger event and the execution of the critical section of code.
    Are you aware of a method to speed up execution of an on-board program? The critical section of code in the attached program fragment takes about 4ms to execute. With the added delay of the polled high speed capture line, I am limited to a ~150 Hz loop. I would like to increase the execution time by about twice.
    Also, a command from the host computer seems to preempt the on-board program, causing it to take up to ten times as long to complete. Is there a way to set the priority of the on-board program task above host communication?
    Thanks for you assistance,
    Mike
    flex_insert_program_label(m_BoardID, LABEL_LOOP_START); // main program loop
    flex_read_hs_cap_status(m_BoardID, NIMC_AXIS3, DATA_HS_CAP_STATUS); // check if high speed capture triggered
    flex_and_vars(m_BoardID, DATA_HS_CAP_STATUS, DATA_HS_CAP_STATUS_MASK, DATA_HS_CAP_STATUS_MASKED); // AND high speed capture with trigger 3 mask
    flex_jump_label_on_condition(m_BoardID, NIMC_AXIS3, NIMC_CONDITION_EQUAL, NIMC_FALSE, NIMC_FALSE, NIMC_MATCH_ANY, LABEL_LOOP_START); // if trigger 3 not triggered, jump to main program loop
    // Critical Section Code >>>
    flex_set_breakpoint_momo(m_BoardID, NIMC_AXIS3, 0x08, 0x00, 0xFF); // set digital output high
    flex_enable_hs_capture(m_BoardID, NIMC_AXIS3, NIMC_TRUE); // re-enable the high-speed capture
    flex_read_adc(m_BoardID, NIMC_ADC1, DATA_ANALOG_INPUT_1); // read the analog input
    flex_write_buffer(m_BoardID, ANALOG_INPUT_BUFFER, 1, 0, &UselessLong, DATA_WRITE_TO_BUFFER_NUM_PTS); // write the analog input to the buffer
    flex_read_buffer(m_BoardID, VELOCITY_PROFILE_BUFFER, 1, DATA_VELOCITY_CMD); // read the next velocity profile point
    flex_load_velocity(m_BoardID, NIMC_AXIS3, UselessLong, DATA_VELOCITY_CMD); // set the axis velocity
    flex_start(m_BoardID, NIMC_AXIS3, 0); // update the velocity by calling start
    flex_set_breakpoint_momo(m_BoardID, NIMC_AXIS3, 0x00, 0x08, 0xFF); // set digital output low
    // <<< Critical Section Code
    flex_jump_label_on_condition(m_BoardID, NIMC_AXIS3, NIMC_CONDITION_TRUE, NIMC_FALSE, NIMC_FALSE, NIMC_MATCH_ANY, LABEL_LOOP_START); // jump to main program loop
    flex_end_store(m_BoardID, ProgramNumber); // stop program store

  • Route scan clock to high speed capture

    Hi, I want to have a continuous aquisition and sample into an array two encoders and my e series channel about 100 scans per sec. I will be routing the board clock over RTSI, assumed to bt the gerneral purpose clock, to do a high speed capture from two encoders. Absolute positions and AI must be syncronized. Can I use the internal clock from the e series, and what is it called? How do I get a periodic sample from AI to be stored with each high speed capture?

    Matt,
    To synchronize your analog input and encoder measurements, you will need to route your analog input scan clock over RTSI. In LabVIEW, you will use Route Signal.vi with AI scan start as the signal source input and your chosen RTSI line as the signal name input. This RTSI line can then be used to latch your encoder readings into a buffer. Thus, the data in your analog input and encoder buffers will be synchronized.
    Good luck with your application.
    Spencer S.

  • Buffered high speed capture

    Hello,
    I am looking for any example of an on-board buffered High Speed (HS) capture. The only example I've found so far (see http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D77D56A4E034080020E74861&p_node=DZ52480&p_source=External) deals with single HS capture mode and cannot work with the high frequency capture of about 1000 Hz that I am interested in. Can anybody help me?
    Thanks.

    In this case NI can offer you two solutions:
    1. NI offers hardware upgrades. You could contact your local NI branch and ask them to exchange your 7344 with a 7354 (or a 7352 if you don't need more than two axes). This would be the best and easiest solution but maybe not the cheapest. At least you could ask them to send you a quote. Please take into account that the connector of the 7354 is compatible to the connector of the 7344 so you wouldn't have to buy additional cables or connector blocks.
    2. You could add a PCI-6601 counter board to your setup. The 6601 can be used to measure positions by either connecting the encoder of your motor to the inputs of the 6601 (in parallel to the 7344) or if you don't use an encoder (open loop stepper) then you could measure the step/dir signal of the 7344 with the 6601. You can connect your trigger signal to the 6601 for a buffered position measurement. The 6601 supports DMA so a position measurement rate of 1 kHz is absolutely no problem.
    The disadvantage of this solution is obviously the additional cabling and a higher complexity in programming.
    Regards,
    Jochenhttp://forums.ni.com/ni/board/post?board.id=240&message.reply_to_id=2110#
    Preview Post

  • Buffered high-speed capture with multiple axes

    Has anyone succeeded in using buffered high-speed capture (on 7350 boards) with multiple axes?
    The capture works really well for me on a single axis, but when I try to use it on 2 axes simultaneously it behaves very strangely.  There seems to be some kind of unwanted interaction between the two buffers which means data points are lost and they often stop updating altogether.
    A very similar question was posted here over a year ago (http://forums.ni.com/ni/board/message?board.id=240&thread.id=4087), which includes a more detailed explanation and an example VI.  Can anyone help?  I'm using LabVIEW 8.5 RT with NI-Motion 7.6 and a 7358 board.
    Thank you,
    Ian

    Hi Ian
    I have been asked working with kostas on this problem for you and just wanted to give you an update as I know its been a while and is an important issue for you. I have been chasing up our specialists in the field and resently had responses of  the kind:
    "Hi Graham
    The issue was found out to be a bug in our motion driver. The issue is being examined by motion R&D right now. I do not know a time frame on when this will be fixed as it is proving to be a tricky problem. I am copying Stuart and Lorne on this since they have been working on it as well.
    Thanks,"
    Be assured that I am chasing it as closely as I can. From your end what is the situation, do you have a work arround that will suffice or are you still waiting on this.
    Thanks for your understanding and I look forward to hearing from you with your current situation.
    best regards
    Graham Green
    Technical Marketing Engineer
    National instruments UK & Ireland

  • How do I use the High Speed Data Logger with multiple I/O devices?

    I am using the High Speed Data Logger vi to read from a 16 channel A/D card (NI PCI-MIO-16E). The project may require more than 16 channels. How can I use High Speed Data Logger to read from two A/D cards? Will it be able to write the data to one file?

    The High Speed Data Logger vi will not acquire and right to multiple DAQ boards at the same time without modification. LabVIEW is more than capable of doing this what you are trying to do, but you will have to modify the code.
    Regards,
    Anuj D.

  • After installing Mountain Lion on my 17" MBP G-RAID mini connected via Tempo SATA Edge ExpressCard34 is no longer recognized. I restored icon and access by removing 34 card and substituting FW800 for eSATA. Any fix for the higher speed connection? TIA

    After installing Mountain Lion on my 17" MBP G-RAID mini connected via Tempo SATA Edge ExpressCard34 is no longer recognized. I restored icon and access by removing 34 card and substituting FW800 for eSATA. Any fix for the higher speed connection? TIA

    Looks like the Silicon Image drivers were moved to the incompatible software folder during install/upgrade.
    Downloaded latest drivers, errored out of install claiming that the drivers were from an unknown author!!!
    Emailed their tech support this evening describing problem.

  • What is the best way to connect my ipad to the high-speed Internet connection in a hotel room

    what is the best way to connect my ipad to the high speed inernet connection in a hotel room

    every connection is a bit different. Generally, connect to the wifi, then you may need to open Safari, and may even need to try to get to one of your bookmarked pages to trigger the 'agree to our terms' page to come up.
    As to it kicking you off every so often, there are sometimes glitches with the wifi on iPads, you can also be subject to any programming the hotel has. Like I've noticed various places that only allow you to log on for a period of time before having to relogin.
    most hotels have 1-800 numbers, so you can always try calling that to see if their tech support has any tips for the frequent disconnection issue.

  • How can I modify the High Speed Data Reader VI to show correct time informatio​n in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Hey Chunrok,
    I've modified the High Speed Data Reader VI slightly so that it now uses the scan rate of the data (as determined from the file) to set the scaling for the data points. If you wanted the start time to be a specific time you could use the start time obtained from your file to set the xscale offset as well.
    I hope this helps!
    Sarah Miracle
    National Instruments
    Attachments:
    Example.vi ‏281 KB

  • How can I modify the High Speed Data Reader VI to show the time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its time information in the graph.
    How can I modify the High Speed Data Reader VI to show the time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Format the x axis to either absoulte or relative time.
    You can do this by right clickingo n the graph and selecting x axis then formatting from the menu.
    Thanks,
    Naresh

  • How can I modify the High Speed Data Reader VI to show correct time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    First, I couldn't seem to find that example either on computer or on the NI sites.
    The problem that we're running into is stated in the article that I pointed to - when real time VIs are running, then the OS will stop updating the OS clock. TO us it looks like the clock is losing time. There is a hardware clock on the PXI and it is read only during boot up to set the OS clock. Our discussions with NI have not led to a solution for this problem without checking the time on start and then checking the tick count (which does not lose time) and calculating what the current time is. No access to the hardware clock is supplied.
    We're still working on a simpler way to get accurate time.
    Rob

  • New mbp - 2,4 or 2,6 mhz - is the higher speed that price worth?

    hy,
    i order today a new mbp 17" .
    and i think about getting the faster cpu. but are the 0,2 more speed the higher price worth? i am not going to render 3d/video. more photoshop/print.
    thanks claus

    My take is that generally every additional ounce of speed is worth it. Whether it is worth $250 is a question only you and your budget can answer.
    What I generally find happens to me if I don't go for the max speed is that suddenly, like now, when my MBP 2.16 ghz I feel very left behind. But in this world of computer advances trying to stay up at the top would take either a Bill Gates or Steve Jobs budget which I don't have.
    I've been waiting to see what happens too and I'm hoping there is a slight price decrease in prep for Christmas sales.
    Regardless I have authorization from my boss to go with: MBP 17 hi-res, 250gb disk, 2gb RAM, APP. I'll buy the 4gb of RAM from Crucial for MUCH less than Apple sells it.
    M

  • Fan is running on high speed, no signal to the monitor!

    Hi!
    I have the following Problem with my G5:
    It worked perfectly, but suddenly yesterday, I switched it on, it began just like always to boot the system, but i had no signal to the monitor.
    After a couple of seconds the fan started to run very fast and did not stop anymore (at least for then minutes, then I switched the G5 off, because it's annoying)! I've treid it again, but the same Problem occured...
    Has anyone else already had this Problem?
    What are the reasons for this, and how can i solve this Problem?
    Cheers, Markus

    Hello Markus, and a warm welcome to the forums!
    Boot off your original G5 Install Disk while holding down Option/alt key to select AHT, then run the extended Apple Hardware Test.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot.

  • Paying Too much Bill and still not getting the High speed Internet that I am Supposed to

    First month I got my bill it was acceptable over $150 because all the technician work and line-up and everything. So I have Verizon double play and Direct Tv together and in 2nd month I got $143.14 bill just for 3mbps internet and on the bill it says i added the service "Change in the Partial Month". First of all I didn't even added the service and it was supposed to be less than $100 dollar bill because the Direct Tv is $23.99 which is my Entertainment Package and the Double Play is $50.99, so the  total bill is going to be pretty much like $90-$100 with tax and everything. If the next month bill comes more than $100, then I am definitely cancelling  Verizon and switch to Optimum Cable. By the way I had Comcast triple play which was $100 for Tv, Internet & Phone for 2 yeas before I had Verzon and I used to get more than 20 mbps internet speed but in Verizon I am getting only 3mbps which is very unsatisfied.
    Thank you for your time, Verizon

    Rounding to the nearest dollar is $75.00, plus an additional $10-$12,
    would not equal $143 per month.
    Is there a possibility you went to your online account and accidentally
    pressed for a change in a particular service?  Check your online account
    to determine what may have occurred.

  • High Speed Clock Signal Generation Using FPGA Ouput

    Hi,
    This a screen shot of a LabVIEW FPGA program. Here I am trying to generate 5MHz Clock signal at Connector 0 DIO12. But I get around 2MHz when I measure the signal using an oscilloscope. Would some tell me what’s wrong ?
    LabVIEW 2011
    FPGA Target  : PXI 7841
    I set DIO 12 to Nerver Arbitrate in the property setting.
    Solved!
    Go to Solution.

    I'm not certain but maybe some of the delay is happening because you are changing the mode of the pin.  According to the specs on the card it is capable of having a Maximum Clock Rate of 40MHz under the DIO section.  So if you are purely doing digital reads, or digital writes you should be able to update/read 40,000,000 times a second.  If you perform a read, which can take up to 1/40M of a second, then invert which takes some time but practically none, then another write which can take up to 1/40M of a second, your loop rate should still be faster than the 10MHz you showed.  That's why I suspect there is time involved in changing over the pin from a read mode to a write.
    If you try to do something similar with the analog you'll notice the maximum update rate is only 1MHz.  So while your logic and code can run at 40MHz you can only update the analog value at 1MHz.  Because of this in the past I have had two loops.  One running a at the maximum clock rate doing the logic calculations, and then sending the result to another loop that updates the output at the maximum rate which in the case of an analog out is only 1MHz.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Maybe you are looking for

  • How do I transfer info from Adminstrator account to a basic account?

    When I got my G5 I made a big mistake and only have an administrator account. I now know that is a very bad thing to do. So I need to know how to move everything that I setup from my Admin. account to my basic account. My downloaded music, photos oth

  • .ai file to .pdf - why do i lose quality?

    Hi, I do architectural drawings in illustrator. when i try to save as a pdf the lines come out significantly less detailed, like broken straight lines when creating a curved line when seen in illustrator. and i dont compress anything when saving, jus

  • Migrating from a PC to Mac

    Greetings all, I recently made the switch and purchased a MacBook Pro. I am interested in moving my iTunes music library to the Mac. But, and please note this: I want to preserve my ratings, playcounts, playlists, etc. Now, I know there are documents

  • Multiple Realms in Apache Tomcat

    Sorry, if this is the wrong forum, but its the closest match i could find. I am trying to run 2 servlets that use apache tomcat's j_security with a FORM login to authenticate clients. I would like these 2 servlets to be authenticated by having j_secu

  • Adobe Air and iOS 7 microphone prompt issue

    I have read numerous posts that the latest versions of Adobe Air 3.9 Beta is supposed to resolve the issue of iOS 7 apps prompting for microphone access. However, I am still encountering this error. Am using Adobe AIR: v3.9 Beta Adobe Flash CC: v13.0