Verification du cadencement Daqmx

Bonjour,
J'ai besoin de prouver que le cadencement Daqmx fait bien son boulot.
Je suis dans une boucle while qui fait des acquisition régler a 1000 Hz par la fonction DaqMx.
J'aimerais savoir comment vérifier qu'entre chaque pas de la boucle while il se passe bien 1 ms !
En prenant le temps (horloge Windows ?) je n'ai pas les milliseconde de disponible.
Peut on utiliser une autre prise de temps afin d'obtenir l'heure en ms?
Par exemple trouver la valeur que renvoi la fonction temporisation : "Attendre un multiple de ms" qui renvoi l'heure en ms si je ne me trompe pas.
Sinon j'avais pensé à utiliser un nombre d’échantillon fini de 1000 et vérifier qu'il c'est bien écoulé 1 seconde pour toutes l'aquisition.
Ou faut t'il que je prenne l'heure exactement pour retomber sur 1 seconde et valider le fonctionnement du cadencement par fonction DaqMx?
Avant l'entrée dans la boucle et à la sortie? ou à la premiere itération et a la sortie de la boucle ? ou encore à la première et dernière itération de la boucle ?
Merci d'avance,
Résolu !
Accéder à la solution.

Non le cadencement matériel est garantie.
Une fois le cadencement matériel imposé alors la carte s'occupe de prendre les échantillons à labonne vitesse et remplit un 'buffer', la fonction lecture elle va aller lire dans ce 'buffer'.
Si par exemple je cadence matériellement la carte à 1kHz, celle-ci rempli le buffer à 1000échantillon par seconde , je peux très bien avec la fonction lire prendre 10 échantillons à chaque tour de boucle donc un temps d'attente de disponibilité d'échantillon de 0.1sec ou bien lire 1000 échantillons et alors la boucle attends que 1000 echantillons soit disponible dans le buffer.
La vitesse matérielle de la carte ne change pas. Elle fait son boulot et prend bien 1000éch/sec.
Pour bien comprendre le phenomène utilisez sous MAX le test panel de votre carte, mettez vous sur une voie d'acquisition puis régler acq continue 1000Hz fréquence acquisition puis 1000 echantillon à lire, le graphe se lmet à jour toute les sec, mettez 100 echantillon à lire le graphe se met à jour en 0.1sec et pourtant la fraquenec d'acquisition n'a pas changé.
Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.

Similar Messages

  • An issue with DAQmx Error messages

    Greetings,
    I'm using a 6602 counter board with DAQmx 7.4, ANSI C API.  A strange issue concerning the errors due to faulty attribute values keeps occuring, that being no error is reported when the (faulty) attribute value is set but only when it is read back afterwards.  Shouldn't the faulty value be reported by the Set function?
    To be specific, I'm creating a period measurement counter input channel with implicit timing, sample mode = finite, then setting the number of samples per channel to 0 (bear with me, I know the 0 value makes no sense here, the point is how the errors are being reported so that they can be handled in a reliable and consistent way).  While DAQmxSetSampQuantSampPerChan(taskHandle, 0) does not produce an error, calling DAQmxGetSampQuantSampPerChan(taskHandle, &SampPerChan) for verification on the very next line returns Error -200077 : "Requested value is not a supported value for this property".  So, my question is why the error is reported by the Getter instead of the Setter?  Is this normal behavior (if so why?) or is something amiss here?
    Jeff

    This is the expected behavior. Validating attributes is tricky when attributes are dependent upon other attributes. There are two main approaches that can be taken by NI-DAQmx.
    One, when every attribute is set, NI-DAQmx could verify the value of that attribute in the context of the task (i.e., in the context of all other attributes). This is problematic for at least a couple of reasons. One, validating the task after every attribute is set is time consuming and not efficient. Two, validating the task after every attribute is set requires that customers set attributes in a specific order such that dependent attributes are set after their dependencies. This would dramatically decrease the usability of NI-DAQmx. In fact, if attributes are mutually dependent, this approach is impossible.
    The second approach is that NI-DAQmx doesn't verify the task until it is forced to do so. Starting a task forces it to be validated. Querying an attribute also forces the task to be verified since the value of an attribute may be dependent upon the value of another attribute.
    As you've noticed, we've taken the second approach with NI-DAQmx. This approach leads to a more efficient execution as well as allow customers to set attributes in an arbitrary order. If you want to force the task to be verified in order to check for errors, you can do so explicitly at the desired time. However, the need to check attributes for errors is most often needed when the application is under development and the NI-DAQmx error reporting features makes it easy to determine which attribute has been set to an invalid value even when that error is not reported immediately.
    Now, in reality, the way NI-DAQmx handles attributes is a bit more complicated than what I just described. Since some attributes are not dependent on other attributes or, since some attribute values can never be valid regardless of the values of other attributes, these attributes are verified when they are set and errors are returned immediately. We refer to this as coarse attribute verification. For example, if you set the sample rate to 100 MHz on an E-Series device you will immediately get an error.
    Hope this helps clarify the behavior.
    geoff
    Geoffrey Schmit
    Fermi National Accelerator Laborary

  • DAQmx : Synchronisation de deux compteurs

    Bonjour,
    Je commence à travailler avec DAQmx et je tombe sur un os. De multiples recherches un peu partout n'ayant pas résolu mon problème (pourtant simple), je me décide à envoyer un message sur ce forum.
    J'ai un boîtier USB-6212 et je souhaite générer deux trains d'impulsions (en fait, une horloge et une impulsion de fréquence variable). L'impulsion a une durée égale à une demie période d'horloge et doit impérativement avoir son front montant alors que l'horloge est à son état bas.
    Pour cela, je pensais utiliser les deux compteurs ctr0 et ctr1. J'arrive parfaitement à générer l'horloge et l'impulsion, mais seulement en mode de cadencement "Implicite (compteur)" et évidemment, elles ne sont pas synchronisées entre elles. Quand j'essaye de passer en mode "Horloge d'échantillonage", j'ai droit à deux erreurs selon le cas: l'une qui me dit que je n'ai pas le droit d'utiliser le mode "échantillons continus" et que je dois utiliser "point à point", et l'autre qui me dit que "point à point" n'est pas supporté.
    Connaissez-vous un moyen de contourner le problème ?
    Je joins mon vi (qui ne marche pas...).
    Merci de votre aide et bonne soirée !
    JB
    Pièces jointes :
    Essai_Synch.vi ‏29 KB

    Bonjour et merci de ta réponse.
    Je ne suis pas sûr de bien comprendre comment faire ce que tu dis. DAQmx a encore beaucoup de zones d'ombres pour moi... 
    Dans le vi joint, j'ai essayer de faire ce que tu dis. Il fonctionne, mais les deux pulses ne sont pas synchrones.
    Est-ce que STP tu pourrais le regarder rapidement et me dire si c'est bien ce à quoi tu pensais ?
    Merci beaucoup !
    JB
    Pièces jointes :
    Essai_Sync_3.vi ‏25 KB

  • Boucle cadencée sur horloge AO

    Bonjour,
    Je génére sur une voie analogique un signal Finit sans régénaration à une fréquence compris entre 10 et 200 Hz
    En parallèle de la génération je voudrais pouvoir démarrer ("Trigger") une boucle cadencée ayant la même frequence que celle de ma génération (10 à 200 Hz).
    En effet je cherche à synchroniser des taches en fonction de ma position dans le buffer AO.
    J'ai bien tenté de cablé sur ma boucle cadencée le VI "Daqmx creat timming source" en mode 'boucle de controle à partir d'une tache" seulement une erreur apparait indiquant  que ce n'était pas supporté pour ce type de materiel PXI 6251. 
    Est il possible de cadencé une boucle en fonction de l'horloge AO ?
    D'avance merci pour votre aide.

    Bonjour,
    J'ai essayé en partant d'un exemple simple.
    J'ai toujour l'erreur -200452.
    J'ai en fait une chaine de caractère vide en sortie du VI "boucle de controle à partir d'une tache".
    Quelqu'un a une idée pou y remedier ?
    Merci.
    Slts.
    Pièces jointes :
    Face_Avant.png ‏46 KB
    Diagramme.png ‏67 KB

  • Daqmx 9485

    Bonsoir,
    Je souhaite mesurer une température et faire clignoter un voyant si T>25°C.
    La mesure de température de fait à l'aide d'une PT100 et du module NI9219 sur la voie 1. Sous labview je configure mon VI à l'aide de l'assistant DAQmx, j'affiche ensuite le signal sous un graphique, cela semble fonctionner.
    Le voyant est connecté sur un module 9485 via une alim de 24V. Sous l'abview, grasse à l'assistant je viens de régler ma sortie (Voie 2 à 5Hz) mais je ne vois pas comment récupérer le résultats du premier et l'envoyer dans le second afin de commander la fermeture, je bloque aprés la comparaison?
    Pouvez vous me guider?
    Merci régis
    Pièces jointes :
    SondePT100.vi ‏102 KB

    Bonjour regisdumestre,
    Merci d'avoir posté sur le forum National Instruments.
    Voici mes remarques (le moins en vrac possible sur ton VI):
    En premier lieu, vous semblez contrôler la LED en fonction de la valeur lu par le biais de la PT100. Or votre acquisition est en mode continu et vous récupérer les échantillons par paquet de 10 à une vitesse de 1,95Hz. En conséquence, vous récupérez un tableau de 10 valeurs tous les 10/1,95 ~ 5s ce qui peut semblait être en désaccord avec l'idée de contrôle. A votre place, je serais tenté de faire une acquisition point à point cadencée matériellement.
    Résultat: vous récupérez à chaque tour de boucle un unique échantillon à la fréquence de 1.95Hz (si vous ne la changez pas); et un scalaire et toujours plus simple à gérer qu'un tableau
    Ensuite, pour la génération, il reste à comparer l'unique valeur avec votre seuil pour obtenir l'état haut ou bas que vous souhaitez générer.
    Vous trouverez en pièce jointe un morceau de code (que je n'ai pas pu tester en réel sur du matériel)
    Bonne journée,
    Flo
    Open Diagram First
    Pièces jointes :
    Ai-DO-Seuil.vi ‏15 KB

  • DAQ USB 6341 et boucle cadencée plante après un temps d'éxécution

    Bonjour,
    J'ai un souci avec un code (voir fichier joint Labview 8.6)
    Je réalise sur un DAQ 6341 une sortie horloge laquelle est reliée sur une entrée numérique qui me sert d'horloge à une boucle cadencée (cadencement à 250ms). Dans cette boucle je ne fais qu'afficher le temps écoulé en comptant le nombre de top qui sert au cadencement de ma boucle. 
    Lorsque j'exécute tous ce passe bien jusqu'à environ 247 seconde ou tout s'arrète:
    Je n'ai plus mon signal d'horloge que j'ai créé sur le DAQ, et le code Labview semble planté.
    Lorsque j'effectue plusieurs foi l'exécution du code le plantage intervient toujours aux alentours de de 247 secondes!!
    Je ne comprend pas ce qu'il se passe, voyez vous quelque chose dans mon code qui ne colle pas????
    Merci
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    Test_sequence-cadence.vi ‏29 KB

    J'ai trouvé d'ou vient le problème!
    Pour ceux que cela intéresse il faut pour le VI DAQmx Cadencement câbler l'entrée "mode d'échantillonnage" avec "Echantillons continus".
    Dans la doc de Labview il est indiqué nul par la valeur par défaut de cette entrée si on ne la câble pas!! Par contre je ne comprend pas pourquoi c'est seulement au bout de 247 secondes que la tache s'arrète???????
    Ci joint le VI fonctionnant (Labview 8.6).
    Pièces jointes :
    Test_sequence-cadence.vi ‏39 KB

  • Excise Duty (IS-OIL) - Invoice verification and accounting ED

    Hello experts,
    I have a case in my importation process with excise duty (IS-OIL). I have the following scenario: Purchasing Ed free material and receive it in ED paid Storage Location. So I use Handling type 00 and Valuation type TAX in the PO excise duty item data. I woul like to kwon Which is the standard process for the invoice verification of the excise duty cost when the handling type is 00 and the valuation type TAX?. And How can I do the invoice verification (MIRO) if there is not a specific line in the purchase order history for the excise duty cost?
    I have another case in the accounting of movement type 301 (transfer posting between 2 plants). The accounting posting is the following:
    Examle:
    Account                       Transaction
    1. STOCK FUEL          S                    BSX (Stock account)
    2. STOCK FUEL            H             BSX (Stock account)
    3. STOCK EXCISE DUTY     S             SVO (ED Account)
    4. EXCISE DUTY FUEL           H             ZZP (ED Account)     
    The problem is that the 4th account must be STOCK EXCISE DUTY ACCOUNT from SVO transaction.
    I would be grateful if someone could help me with these cases.
    Thank in advance.
    Pablo

    Dear Prashant,
    Thanks for reply, but i checked my excise cond types, in all conditions, cond cat is blank & cond class 'A' is maintained i.e. Discount & Surcharge.
    My problem is that, my excise value is not got posted in net receivable value in accounts. This problem arise, when we make sales order, Net Value field doesn't pick excise there & while invoicing, it post only the base value & rounding off adjustments at header level. I don't know, from where this Net Value field in sales order is picking the value but my problem will solve if my grand total value(base valueexciseedu cess+higher edu cess) will pass to Net Value field while making sales order. Kindly help.

  • How can I delete my iCloud account when it is sending a verification email to an address which is no longer accessible?

    I recently changed my old iTunes User id from an old, defunct, and inaccessible email address to a new and active one.  To do this I went to iTunes 'Manage your Account'.  At the same time, I changed my password, and this has been working fine.
    However, I now need to change my iCloud account, so I read up on it and saw that I needed to delete my old iCloud account and set up a new one with the new iTunes user id.  When I tried to delete the iCloud account, it sent a verification email to the old, defunct email address, and will not allow me to go any further until I confirm the verification.
    The problem is of course that I can't access the old email address to confirm the verification that iCloud has sent to it.
    Solutions already tried:
    Go into iTunes and 'Manage my account' - this doesn't work as there is no option to manage the iCloud account here, only the iTunes account
    Reset the iTunes account to the old email address - this doesn't work, as it still sends a verification to the old email address, and I can't access it to confirm
    Contacting Apple by email - tried this but they didn't seem to have a clue what I was talking about!
    Does anyone out there have any bright ideas?  All welcome!

    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Use "Manage your Account" to change the primary email address.

  • NI DAQMX Driver performanc​e

    Hello all,
    I would like to build a SubVI to generate digital & analog output, but am concerned about possible performance issues.   In some extreme cases I will need to call this SubVI in rapid succession(50ms interval) hundreds of times.   It will contain the following 3 tasks to be executed in sequence:
    Task #1 - Set two bits high
    Task #2 - Analog Generation
    2.  Sychronize two NI-DAQmx PCI cards via a RTSI cable at 40khz sampling rate.
    3. Generate
    Task #3 - Set two bits low

    duplicate post. continue here

  • NO Disk error when DAQmx is referenced

    Referencing NationalInstruments.DAQmx causes a NO DISK error in Visual Studio (see attachment)
    I'm using Visual Studio 2012 and MS 2013
    The DAqmx version is 9.8.45.42
    Has anyone seen this before and is there a fix?
    Steve
    Attachments:
    DAQMX Error.JPG ‏22 KB

    See Top 25 Bugparade: # 4264750
    This is a SecurityManager - Problem and the java.io.File.
    eg.:
    System.setSecurityManager(new RMISecurityManager());
    File[] roots = File.listRoots();
    Then you will see the problem...
    I tried the following workaround:
    before you access disk. (or JFileChooser)
    SecurityManager sm = System.getSecurityManger();
    System.setSecurityManager(null);
    // disable the SecurityManger
    // this special disk access needs no SecurityManager..
    ... popup JFileChosser or make FileAccess..
    System.setSecurityManager(sm);
    // restore the old SecurityManger
    It's not the best solution but it works..
    hope this will help,
    Wolfgang
    EDI Organisation

  • PO valueless that goods receipt value once Invoice verification is done

    HI Gurus,
    I
    have created a PO for Value 2500 with Account assignment F (Order), done Invoice verification for value 2500. Then I have changed this line item value to 1500 in POand then tried doing Goods receipt against the PO. This way I was expecting system to throw an error at the tiem of GR but it posted GR successfully that too for an value of 2500 without giving an error or any message system should not post 2500 value as PO value at the time of GR was 1500 or it should have posted a GR for value 1500.
    Pls assist me in understanding the system behavior.
    Thank you in advance.
    Regards
    Nilesh

    I guess you need to ristrict changing value for PO line item if  Invoice verification is done that will solve lot many problems

  • Cannot publish Flash Updates Verification of file signature failed for file SCUP 2011, SCCM 2012 R2 and WSUS all on same Windows Server 2012 machine

    I am attempting to distribute Adobe Flash updates using SCUP 2011, SCCM 2012 R2, WSUS ver4 and Windows Server 2012.  Everything installs without error.  I have acquired a certificate for SCUP signing from the internal Enterprise CA.  I have
    verified the signing certificate has a 1024 bit key.  I have imported the certificate into the server's Trusted Publishers and Trusted Root CA stores for the computer.  When I attempt to publish a Flash update with Full content I receive the following
    error:
    2015-02-13 23:00:48.724 UTC Error Scup2011.21 Publisher.PublishPackage PublishPackage(): Operation Failed with Error: Verification of file signature failed for file:
    \\SCCM\UpdateServicesPackages\a2aa8ca4-3b96-4ad2-a508-67a6acbd78a4\3f82680a-9028-4048-ba53-85a4b4acfa12_1.cab
    I have redone the certificates three times with no luck.  I can import metadata, but any attempt to download content results in the verification error.
    TIA

    Hi Joyce,
    This is embarrassing, I used that very post as my guide when deploying my certificate templates, but failed to change the bit length to 2048.  Thank you for being my second set of eyes.
    I changed my certificate key bit length to 2048, deleted the old cert from all certificate stores, acquired the a new signing cert, verified the key length was 2048, exported the new cert to pfx and cer files, imported into my Trusted publishers
    and Trusted Root Authorities stores, reconfigured SCUP to use the new pfx file, rebooted the server and attempted to re-publish the updates with the following results:
    2015-02-16 13:35:44.006 UTC Error Scup2011.4 Publisher.PublishPackage PublishPackage(): Operation Failed with Error: Verification of file signature failed for file:
    \\SCCM\UpdateServicesPackages\a2aa8ca4-3b96-4ad2-a508-67a6acbd78a4\3f82680a-9028-4048-ba53-85a4b4acfa12_1.cab.
    Is there a chance this content was already created and signed with the old cert, so installing the new cert has no effect?  In ConfigMgr software updates I see 4 Flash updates, all marked Metadata Only (because they were originally published as "Automatic." 
    No Flash updates in the ConfigMgr console are marked as downloaded.  I can't find any documentation on how the process of using SCUP for downloading content for an update marked Metadata Only actually works. 
    Comments and suggestions welcome.

  • Stuck at the verification part of creative cloud

    I didn't verificative my emailadres within the 72 hours, since the emailadres adobe has is wrong. I noticed it says hotmail whereas i have outlook. I don't receive any codes, thus I can't even log in into creative cloud. what should i do now?

    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • USB 6009 DAQmx Deployment

    Hi.
       I have created a 4 channel differential data logging scope with a NI USB-6009. I would like to deploy this 'easily' to many of my colegues. I have app builder and the ability to build apps, but I would like to include the correct drivers for the 6009 in with the installer (although I have selected NI_DAQmx Core Runtime and NI_DAQmx MAX config support).
       For the running of the app, I have created a Task that consists of 4 channels. I would like it for my end user not to have to configure this. Does anyone know how I might acheive this? My experience of deployment is limited.
    Many thanks, Alec

    Hi Alec,
    It's also worth installing DAQmx MAX Configuration Support from the install builder if you still want to be able to modify the tasks from MAX as well.
    Best Regards,
    Chris
    National Instruments - Tech Support

  • USB 6009 and DAQmx Base Concerns

    Hello,
    I just received a USB-6009 multifunction DAQ device along with DAQmx Base for use on Windows XP with LabWindows/CVI ver 7.1.  Both the 6009 and DAQmxBase are successfully installed however I have several questions, I hope I am missing something obvious:
    1. The Task Configuration Utility is not needed for use with LabWindows/CVI?  I believe I read this in the Getting Started Guide.
    2. There is no function panel for the DAQmxBase functions?  I even searched the installation CD and found no .fp files.  So the only way to know what functions are available with DAQmxBase is to open the NIDAQmxBase.h file and search through the function prototypes?  Then, to know what a function does it is necessary to open the C Function Reference Manual via the Windows Start button and search for the function name of interest?
    3. When creating a digital input or output channel with DAQmxBaseCreateDIChan or DOChan is it only possible to setup a "channel" as an entire port?  Is it not possible to setup a channel as a single input or output line?  Similarly, once the channel is configured is it only possible to read or write an entire port with DAQmxBaseReadDigitalU8 or WriteDigitalU8?  I was expecting something similar to the DIG_out_line function used in Traditional NI-DAQ where a board number, port number, line number and state are passed so that a signal output line can be set on or off.
    Thanks in advance for the assistance,
    - Aaron

    Aaron T. wrote:
    Hello,   I just received a USB-6009 multifunction DAQ device along with DAQmx Base for use on Windows XP with LabWindows/CVI ver 7.1.  Both the 6009 and DAQmxBase are successfully installed however I have several questions, I hope I am missing something obvious:   1. The Task Configuration Utility is not needed for use with LabWindows/CVI?  I believe I read this in the Getting Started Guide.  
    **The Task Configuration Utility is not necessary, except that there is significant functionality missing from DAQmx Base but present in the utility. That includes a lot of what DAQmx calls "proerties", and includes things like the convert rate for AI scanning.
    2. There is no function panel for the DAQmxBase functions?  I even searched the installation CD and found no .fp files.  So the only way to know what functions are available with DAQmxBase is to open the NIDAQmxBase.h file and search through the function prototypes?  Then, to know what a function does it is necessary to open the C Function Reference Manual via the Windows Start button and search for the function name of interest?  
    **I don't use CVI so I don't know anything about this. It strikes me that even if you have such a panel reading the documentation is a good idea
    3. When creating a digital input or output channel with DAQmxBaseCreateDIChan or DOChan is it only possible to setup a "channel" as an entire port?  Is it not possible to setup a channel as a single input or output line?  Similarly, once the channel is configured is it only possible to read or write an entire port with DAQmxBaseReadDigitalU8 or WriteDigitalU8?  I was expecting something similar to the DIG_out_line function used in Traditional NI-DAQ where a board number, port number, line number and state are passed so that a signal output line can be set on or off.  
    **Well, the ReadMe file says that USB-6008/9 is supported with both Line I/O and Port I/O. On the other hand, the documentation for DAQmxBaseCreateDOChan and DAQmxBaseCreateDIChan say for the lineGrouping parameter, "Always pass DAQmx_Val_ChanForAllLines." So your question is a good one! Perhaps one of the NI engineers can comment on this.
    - Aaron
    Thanks in advance for the assistance,
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

Maybe you are looking for

  • My experience with Tiger/new Powerbook 15", 1.67 ghz

    Apple proclaims "Mac OS X v10.4 Tiger. The world’s most advanced operating system." Well, that hasn't been the case in my experience. I bought a new 15 Powerbook HR, 1.67 ghz, 1.5 gb ram, 80gb hd on 11/4/05 (from MacMall). At this point I have about

  • How do I create multiple itunes accounts/users on a single computer?

    My husband and I had two separate computers and we each had our own itunes accounts. Now that we are down to one computer, I want to create my own itunes account on his computer and back up my iphone. I was afraid to sync my iphone for fear of loosin

  • Change over from reorder planning to forecast -reg

    Hi, Currently we are using for some parts manual  reorder point planning  wth MRP type V1 and strategy 40 We require to change to forecast based planning where in we can change MRP type to VV and  what strategy we have to put any specific for forecas

  • Burning a mini cassette tape to a cd

    continuing the above, via 3.5mm male to 3.5mm via head phone out on the mini tape recorder/ player to the mic in on the macbook pro. to produce a cd. can it be done? if so, how? thank you for your help. Tony

  • 19" lcd dynex tv/dvd combo problem

    I am wondering if anyone can help me with this. I have 2 19" lcd tv/dvd combo... one in each kids room. I mounted em up on the wall so the kids couldn't mess with them. So now heres my problem, both of the tvs when turned on turn off then back on the