Failure to synchronize simulated PXI 5124 cards, but they synchronize without error on physical hardware.

I need to create a software development machine based on our existing experimental machine. We use two PXI 5124 cards mounted in a PXI 1042 Chassis and run LabVIEW 2013.
According to what google has returned, it is currently impossible to simulate a PXI Chassis, so I have the two devices mounted individually. Here is the experimental machine device list:
and here are the simulated devices on my development machine.
I have verified that the simulated devices are working by creating a simple program that graphs the output of the simulated devices. See attached.
However, when I run the program that we use on our experimental machine, the program fails to synchronize the clocks. I'm not sure if I would be allowed to post this program, so I have merely attached a picture of the part that creates an error.
Up to this point, there are no errors, but when synchronization begins, I receive the following error:
Error -250027 occurred at niTClk Configure For Homogeneous Triggers.vi:2010001
Possible reason(s):
NI-TClk does not support the specified session.
Make sure that the sessions you pass to NI-TClk are supported by NI-TClk.
Session index (starts at zero): 0
Using probes, I can determine that there are (seemingly) valid resource names [9] going into the Configure VI:
These are not fundamentally different from the resource names [2] on our experimental machine:
According to this page I should be able to synchronize. While no longer in the same chassis, the two devices are still in the "same computer," are they not? Nevertheless, the error message makes me think I'm trying to do something that isn't allowed.
I've tried to look at other posts, but they are mainly concerned with FGEN, which I am not using.
Any ideas?
Attachments:
simulated_devices.vi ‏34 KB

Hello,
By default, arbitrary waveform generators use High-Resolution Clocking to generate a waveform if the sampling rate that you choose is not an exact integer division of the maximum frequency of function generator. When High-Resolution Clocking is used, the sampling rate you specify can actually be coerced to a slightly different value than specified.
The problem with this is that if your specified sample rate is coerced into a non interger it will not be evenly divisible into other frequencies. When synchronizing multiple devices using NI-TClk, the algorithm will attempt to choose a TClk frequency that all sampling rates can be divided into evenly. Having an actual sampling rate that has been coerced into a non devisable value throws off the NI-TClk algorithm resulting in error -250016.
Could you try to disable High-Resolution Clocking and use Divide-Down Clocking instead. You can do this in LabVIEW using the Clock Mode property of the niFgen Property Node, and setting the value to NIFGEN_VAL_DIVIDE_DOWN.
Please let me know if this helps.
Cameron T
Applications Engineer
National Instruments

Similar Messages

  • I switched my account from PayPal to a credit card but they keep declining my purchase and telling me I don't have a valid PayPal account

    I switched my payment account from PayPal to a credit card for I tunes purchases but they keep declining me stating that I don't have a valid PayPal account I have contacted customer service three times and it is like we are talking two different languages

    I have been having this issue too since yesterday.  I downloaded two songs fine (my itunes account was associated to paypal) then I went to download an album and it said paypal is not supported on this device.  So, I went out onto itunes via my computer and put my credit card (it is valid in my country, it is a visa, it is not a debit card) and it still isn't working.  It still says on my iphone that paypal cannot be used on this device.  I don't understand this since I switched it online from paypal to a credit card.  Please do not post the "accepted form of payment" link again, I see that (have seen it as a response to many requests like this actually which isn't helping.) I actually want to purchase some things...you would think Apple would do its best to help me to do that!

  • My imported songs into itunes match are not being uploaded but they are giving error messages

    So when I am adding songs to my itunes library I am having issues with these songs being uploaded.  I called apple support last time and they fixed the issue with me but it's started all over again.  These songs have the little cloud with an exclamation point beside them and they say an error has occurred when uploading when i click on them.  I have turned itunes match on and off and that didn't resolve the issue.  Any ideas?

    When you have that alert icon, generally that means iTunes can't find the original file. What happens if you do a Get Info on the track?

  • I transferred some pictures from PC to SDHC card but they are Jpeg can I transfer them to my IPad?

    Can I transfer jpg from SD card to my ipad?

    Yes, you can use the camera connection Kit{s Sd card reader, but the images must be in a folder called DCIM and they must have filenames that are exactly 8 characters long plus the 3 letter extension. i.e. image004.jpg
    iPad: Using the iPad Camera Connection Kit
    http://support.apple.com/kb/HT4101

  • Users open shared files but they get an error that file is already open when actually its not

    we have a windows 2012 r2 environment with a hyper-v cluster with 4 virtual servers (2012r2) that are located on an hp storage.
    users in the office work on windows 7 pc's and sometimes (more than once per day) when they try to open word or excel files from a shared folder they get a message that the file is already open so it opens in read only mode and they cannot save it. we are
    pretty sure and tested that that folder is not open from any other user, because some users tried to open files randomly back from 2012 and they got the same errors again. 
    i cannot reproduce when i want the problem. i may try reopening files for an hour without having problems.
    i tried also to write down the hours that the users may have mostly the problem but i couldnt figure a specific time on the day that the problem occurs.its random.
    i want to also notice that we have symantec backup exec 2014 and taking backup on tapes and on deduplication folder with the advanced open file option set to "let VSS to select automatically the provider"
    the file server does not record any events in system or dfs replication tab. they only events we got once per 1 or 2 days are in the application tab and its exactly this "the volume recovery was not optimized because an error was encountered:
    the file move failed 0x89000016) event id 257,defrag"
    i hope i gave u an accurate description of my problems. i really have to solve this.
    kostask

    Hi Kostak, 
    Have you tried to use Process Explorer?
    More info: https://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
    Simple usage: Part 1: Using SysInternals Process Explorer to solve issues
    when trying to clean up files and folders...
    This is what I am using to track file handles when tried to open or deleted. Normally I am finding that backup/vss process has taken, antivirus was scanning, or indexing services were working. 
    I would recommend you to do the next:
    - Disable Windows Search from: Control Panel> All Items> Programs and features> Turn Windows Features On or Off> Uncheck Windows Server. Go to services.msc and Stop Windows Search service.
    - Exclude affected folder(s) or drive(s) from antivirus scan/protection, at least 24h.
    - Disable backup/vss operations on the drive(s) for at least 24h.
    Hope it helps, I know how itchy can be this kind of issue at the office :)

  • Vocals cannot be heard with the headphones, but they can without. Can somebody help me?

    When I put my headphones in my Ipod Touch 3g, I can't hear the vocals. The music is fine, but I can't barely hear the vocals. When I put other headphones in it, it has the same problems. So it's not the headphones. Can somebody help me?

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so. There is a little switch in the headphone jack that disconnects the speaker when the headphone jack is inserted.
    - Reset the iOS device. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    If not under warranty Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • Simulated device in MAX, self tests without error and has working Test Panels, but doesn't show up in DAQ assistant.

    I'm trying to create a development machine where we can test new code without using our physical hardware. I've followed this guide in setting up a simulated device. I can get to step 3.2b, but the device does not show up in the DAQ assistant. In MAX, the device self tests and self calibrates successfully, and when I open the test panels, I see some sort of signal. I assume this is a default simulated input since I haven't told the device to look for anything? Note that the two devices I'm trying to create show up in the Devices and Interfaces section, but that even after running Self-Calibrate, the Self-Calibration date is still unspecified.
    When I try to test the device and create a voltage input according to the guide, I am unable to see either device in the DAQ task creator.
    Steps 1 and 2 of this guide are obviously satisfied. Step 3 is not, but this is unsurprising since a simulated device wouldn't be found in the Device Manager anyways. Also, I am not running RT, so step 4 is satisfied.
    Does anyone have any ideas?
    Solved!
    Go to Solution.

    That would be because the PXI 5124 is a digitizer not a analog input device.  You need to use the NI SCOPE driver not NI DAQmx
    Jeff

  • Error -200022 from PXie 6556 cards

    I am running into trouble when running my application to synchronize 3 PXIe 6556 card. How could I fix it?
    Error:
    ni HSDIO Initiate.vi<ERR> Driver Status (HEX 0xBFFA4014)
    Resource requested by this session has already been reserved by a different session.
    Property: RefClk.Source
    Reserved Value: None
    Requested Value: PXI Clock Line
    Status: -200022
    Thanks for your help.
    AnDong
    Attachments:
    Write_Read Test from HWS file_for_3_card_Test_DIO_output.vi ‏93 KB

    Hi,
    Does your signal generation operation take longer time than what you have specified in the input terminal:
    http://zone.ni.com/reference/en-XX/help/370520K-01/hsdioviref/hsdio_wait_done/
    Try changing the timeout value and run the code with "Highlight Execution", see where the error occurs.
    Br,
    /Roger

  • Simultaneous updation of sine wave using 2 PXI-6711 cards using RTSI Trigger

    Hi ,
    How to generate continuous sine wave using two pxi-6711 cards at same time without any phase shift using traditional nidaq functions.
    Regards,
    satya

    In LabVIEW, go to Help>>Find Examples. Navigate to Hardware Input and Output>>Traditional DAQ>>Multiple Device. There is an example there called "Two E Series Shared Scan Clock". That example is for analog input, but you should be able to modify it to be for analog output. Basically you will just have to share the scan clock from one board(master) and use it as an 'external' clock for the other board(slave).
    -Alan A.

  • HT1904 I have serious problems with the payment type. I always use a prepaid Visa card but the late days I can't buy anything because the card is now unacceptable! Can you please help me?

    My prepaid card is lately unacceptable..can you help me plz?

    The iTunes Store typically does not take prepaid "credit" cards since they normally have no billing address associated against which to verify. Why the card worked before but not now I don't know, though Apple has been tightening up their security and that may have finally caught up with that card. You can try contacting the iTunes Store and asking if there is any way to use your card, but they may just tell you that it's not possible.
    http://www.apple.com/emea/support/itunes/contact.html
    If it is not, then you will need to use a true credit card or purchase prepaid ITunes cards, if Apple has issued them in your country.
    Regards.

  • How can I synchronize a PXI 5401 and PXI 5124?

    I want the PXI 5124 to start aquisition exactly when PXI 5401 starts generation. I want both this devices to trigger al the same time.
    My problem is that PXI 5124 triggers the same times that the number of cicles of my arbitrary function generated by PXI 5401.

    A solution that you can adapt to your devices is given in the following link:
    http://forums.ni.com/ni/board/message?board.id=150&message.id=1072&requireLogin=False
    try to follow the instructions fixing the parameters and the functions of your device
    and if you need something else
    let me know
    Erwin Franz R.

  • How could I control PFI on PXIe 6556 card?

    Hi Ni,
    1. I have a HWS vector include 50 output signals and 2 PXIe 6556 cards. How could I build a Labview program to configure the ports of PXIe cards with this vector?
    2. Could I configure PXI on PXIe 6556 card as IO port?How could I do it?
    Thanks and Best regards,
    AnDong
    Solved!
    Go to Solution.

    Hi David,
    I can build a Labview program to read HWS file.
    I refered  Multi-Device Dynamic Generation (Hardware Input and Output -> Modular Instruments -> NI-HSDIO -> Synchronization). I see that It can control multi PXI card but signals on each card are the same.
    Because my HWS file have 48 signals, I need 2 PXIe 6556 cards with 48 DIO ports. Mean of my question is that do I have to split HWS file to build a Labview program to control the cards with 2 HWS file?
    Thanks for your helps
    AnDong

  • Compatibility of Pattern I/O with a PXI-6533 card with real time application

    Hi,
    I use a PXI-6533 card on a chassis with a PXI-8145 RT controller. I want to acquire 32 bits of data with this card at 1,25 kHz. These data are generated by an external FPGA card together with a clock signal. Referring to the 6533 documentation, a simple way to synchronize the acquisition is to use pattern I/O, entering the clock signal on the REQ pin. I tried the LabVIEW example Cont Pattern Input.vi. It seems to go well, but it does not work when I change this .vi priority to Time-critical or any higher priority than normal. Is there an incompatibility between this type of acquisition and real-time ?

    Hi,
    Sorry for this late answer, I effectively added a �wait until next ms function� in the time-critical loop and it seems to work. In fact, I don�t see exactly how, but it works with 1ms up to 50 ms.
    Nevertheless, the next step is to add the content of this example in a more complex system with a communication loop to transfer the acquired data to the Host PC. I already have such an architecture, with a �time-critical priority� .VI to read the data at 1.25 kHz and a RTFIFO to transfer them to a second �normal priority� .VI loaded on the PXI, that ensures a TCP communication with the HOST PC. This architecture works correctly on another application with an internal clock, BUT doesn�t with this example, even with your solution.
    In
    fact, it seems to work when I put the two .VIs loaded on the PXI in �normal� priority, but with a tremendous jitter (the frequency varies from 1 to 2 kHz) and a scan backlog that gets full very fast. Then, the PXI crashes as soon as I change any priority.
    You�ll find attached these three .VIs and I hope this could help to find a solution.
    Cordially
    PS: Since we started this thread, I�m in relation with NI Support France on that subject. Nevertheless, we haven�t found any solution yet and any new idea is welcome !
    Attachments:
    HOST_Comm.vi ‏532 KB
    RT_Comm.vi ‏265 KB
    TCLoop.vi ‏256 KB

  • Simulation of smart card

    Hi ppl,
    I'm a student working on a project of simulation of smart card. It involes no hardware at all so the physical layer transmission is ignored. I'm gonna implement the smart card operation using two programmes "card.c" and "reader.c" in the same computer. Yes, it's C not java, but the idea is the same. I just wanna ask is that the programmes r about the same? I mean what exactly should the reader.c and the card.c do? Is it the reader.c simply sends out commands and then the card.c listens and waits for the commands like the client of a client-server scenario? And then once the card.c receives commands, it extracts the useful data according to the ISO17816-4 and then sends back response and the reader.c again provess the data recoived and sends another commands. And the transmission goes on, is it like that?
    Plz give me some hits on these. Desperate for some help really.
    Thanz sooo much ppl!!
    Franky

    Here's what I'm gonna do in the programs.
    At the very first, the reader sends a reset RST to teh card and waits for repsonse. The card then responses with answer to reset ATR, this gives all the communications protocol used afterwards, so the card will choose like T=1.
    And then the reader sends the GET CHALLENGE command to the card asking for a random number e.g. A and response from the card gives the challenge A to reader.
    Reader then sends the encrypted challenge [A] with the EXTERNAL AUTHENTICATE command to card, the card replies with a YES or NO indicating if the challenges match.
    Reader sends its challenge B with command INTERNAL AUTHENTICATE, card replies with encrypted challenge .
    This finishes the challenge-response operation for mutual authentication. I read from books that the key used to encrypt and decrypt the challenge is the master key. But I have no clue how both entities can get hold of the key beforehand. Maybe there's sth like PKI for that.
    And then, should there be a verification by using the PIN? So after this verification, the real data and message exchange should occur rite? And I read from books that some cards require every access to the card to have a PIN verification. Well, I think that's almost it for the security part. And I'll have to find some source on how to make a read application of the smart card, like a payment card or identification card. I think one of the most popular standards for payment card is EMV, and I dunno much for the identification card.

  • How to generate a delayed retriggerable pulse using only one counter with PXI 6070E card

    Hi
    I have a problem in generating a retriggerable delayed pulse with a single counter(triggered through a signal at gate) using PXI 6070E card. VI was developed in NI LabVIEW traditional DAQ Ver.7.1. I have used the "delayed pulse generator config" VI and a "Start counter" & "Stop counter" VIs for the purpose. But there is no output seen at the out terminal of counter. So I introduced a "wait" VI and set it to 1 sec. Now the pulse output appears but some pulses are missing mometarily after every 1 sec interval. (any solution for this)
    I have gone through a few similar requests in the forum but they suggest either to use two counters or to generate a finite pulse train which does'nt fit my application. Moreover PXI 6070E has only 2 counter timers. I am already using one counter to measure the frequency of a pulse train(signal 1). The application requires to generate a delayed retriggerable pulse for every pulse in signal 1. So I have only one counter left.
    Can I measure the frequency of signal 1 by analog means.? so that I can use two counters for pulse generation. (Signal 1 is a TTL signal).
    Request some help.
    Thanks in Advance
    Regards

    A finite pulse train (N_Pulses >= 2) does require the use of 2 counters on most of our older hardware including your 6070E.  If you're just talking about generating a single retriggerable pulse, you would only need one counter.
    Here's an example in Traditional DAQ that shows you how to set a retriggerable pulse generation (it also allows you to adjust the characteristics of the pulse on-the-fly).
    If you're writing a new program, you might consider switching to DAQmx as it supports NI's latest hardware and recent OSes should you ever need to upgrade.  Traditional NI DAQ is no longer in active development.  Here's an example of how to implement a retriggerable pulse generation in DAQmx.  You should take note that you can't use the two drivers to simultaneously talk to the same piece of hardware, although you should be able to go back and forth by resetting the Traditional DAQ driver before switching to DAQmx.
    Best Regards,
    John Passiak

Maybe you are looking for

  • G5 not seeing firewire hard drive on restart all of a sudden?

    Recently I noticed my G5 not seeing my external 400GB fire drive after a restart or boot up. It has been connected since January and has not had this problem before. The only way it sees it is if I turn the drive off and on again, then it pops up on

  • G3 "Mini Tower", Need help.

    Ok, I had gotten a G3 a little while ago for free, along with a HP screen. I am quite tech-savvy, so I booted her up, os 9.2.2 was installed on it. It has 256 megs of ram, the original 10 gig hdd. The hdd gave out after 2 boots, so a I picked up a fr

  • Ethernet/internet security settings

    Hi I'm wondering what is the best, safest way I should set my Ethernet settings (in the Network section of 'System Preferences') to keep my internet connection safe from anyone trying to scam on my connection. by the way, I'm using an Unwired modem.

  • Air port extreme not working with 10.5

    ok so hear is one of the many problems i am having my airport extreme is working and functions fine i can screen share and see all 3 of my macs. now to the problem when i use the network diagnostics it get all green lights up till internet and server

  • E51 Menu Button Problem

    Hi there. Just looking to confirm that I am not alone in having this problem; After having the e51 turned on for some time (30sec - 15min), pressing the menu button when the phone is in active standby mode does not display the menu. The icon for the